Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007324/0.007324, allocations: 100.3 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 188.5 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.17 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1757, allocations: 80.2 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6743/0.8501, allocations: 274.6 MB / 0.9278 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02314/0.8733, allocations: 17.34 MB / 0.9448 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003623/0.8769, allocations: 68.16 kB / 0.9448 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003404/0.8804, allocations: 1.167 MB / 0.946 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008652/0.8891, allocations: 3.105 MB / 0.949 GB, free: 7.922 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00585/0.895, allocations: 2.21 MB / 0.9512 GB, free: 5.723 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007406/0.9024, allocations: 4.819 MB / 0.9559 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.905, allocations: 1.76 MB / 0.9576 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005828/0.9109, allocations: 2.411 MB / 0.96 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.9137, allocations: 1.549 MB / 0.9615 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.9141, allocations: 195.9 kB / 0.9617 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005922/0.9201, allocations: 3.009 MB / 0.9646 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007729/0.9208, allocations: 0.7168 MB / 0.9653 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.9223, allocations: 1.12 MB / 0.9664 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.9284, allocations: 3.843 MB / 0.9701 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.9284, allocations: 0 / 0.9701 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9284, allocations: 0 / 0.9701 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.78e-05/0.9285, allocations: 4 kB / 0.9701 GB, free: 2.254 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003811/0.9323, allocations: 2.487 MB / 0.9726 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.9323, allocations: 8.031 kB / 0.9726 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.9365, allocations: 0.6467 MB / 0.9732 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.9387, allocations: 1.421 MB / 0.9746 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.9388, allocations: 98.55 kB / 0.9747 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.939, allocations: 147.9 kB / 0.9748 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.9413, allocations: 1.565 MB / 0.9764 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.9414, allocations: 3.938 kB / 0.9764 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.9415, allocations: 56 kB / 0.9764 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.9416, allocations: 50.45 kB / 0.9765 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.9435, allocations: 1.266 MB / 0.9777 GB, free: 10.3 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00792/0.9515, allocations: 7.2 MB / 0.9847 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.9525, allocations: 0.649 MB / 0.9854 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.953, allocations: 367 kB / 0.9857 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.9532, allocations: 113.6 kB / 0.9858 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.9532, allocations: 43.12 kB / 0.9859 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005179/0.9538, allocations: 103.3 kB / 0.986 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.594e-06/0.9538, allocations: 0 / 0.986 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.001827/0.9556, allocations: 1.025 MB / 0.987 GB, free: 216 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.9557, allocations: 59.97 kB / 0.987 GB, free: 140 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.9573, allocations: 1.343 MB / 0.9883 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.9574, allocations: 45.7 kB / 0.9884 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/0.958, allocations: 0.7869 MB / 0.9892 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.9582, allocations: 253.8 kB / 0.9894 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.9585, allocations: 194.6 kB / 0.9896 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9587, allocations: 349.9 kB / 0.9899 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.9592, allocations: 352.7 kB / 0.9902 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000794/0.96, allocations: 0.6794 MB / 0.9909 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.9613, allocations: 0.9488 MB / 0.9918 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.9613, allocations: 8 kB / 0.9918 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001699/0.963, allocations: 1.16 MB / 0.993 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.963, allocations: 11.98 kB / 0.993 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.963, allocations: 8 kB / 0.993 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.9631, allocations: 12.81 kB / 0.993 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.9639, allocations: 207.7 kB / 0.9932 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.964, allocations: 15.94 kB / 0.9932 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.9651, allocations: 46.16 kB / 0.9933 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.9652, allocations: 43.98 kB / 0.9933 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001006/0.9662, allocations: 0.6821 MB / 0.994 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000757/0.967, allocations: 0.6773 MB / 0.9946 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001159/0.9682, allocations: 0.9488 MB / 0.9956 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.9682, allocations: 4 kB / 0.9956 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001642/0.9698, allocations: 1.153 MB / 0.9967 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.9699, allocations: 12.03 kB / 0.9967 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9699, allocations: 8 kB / 0.9967 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.9699, allocations: 12 kB / 0.9967 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008231/0.9707, allocations: 215.6 kB / 0.9969 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.9707, allocations: 12 kB / 0.9969 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.9719, allocations: 47.97 kB / 0.997 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.972, allocations: 43.98 kB / 0.997 GB, free: 5.387 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002604/0.9723, allocations: 248 kB / 0.9973 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.9725, allocations: 159 kB / 0.9974 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.9738, allocations: 0.8202 MB / 0.9982 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.9738, allocations: 11.94 kB / 0.9982 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9738, allocations: 4 kB / 0.9982 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009158/0.9748, allocations: 0.7785 MB / 0.999 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.9778, allocations: 2.302 MB / 1.001 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.9778, allocations: 192 / 1.001 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.9786, allocations: 175.8 kB / 1.001 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.9786, allocations: 4 kB / 1.001 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.9787, allocations: 16 kB / 1.001 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.9787, allocations: 4 kB / 1.001 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9787, allocations: 3.938 kB / 1.001 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.9804, allocations: 1.317 MB / 1.003 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.9809, allocations: 328 kB / 1.003 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.981, allocations: 12.12 kB / 1.003 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/0.9819, allocations: 49.23 kB / 1.003 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.982, allocations: 40.45 kB / 1.003 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.9821, allocations: 39.97 kB / 1.003 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001115/0.9832, allocations: 0.9043 MB / 1.004 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9832, allocations: 0 / 1.004 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001825/0.985, allocations: 0.8461 MB / 1.005 GB, free: 13.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005981/0.9856, allocations: 246.8 kB / 1.005 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.9877, allocations: 1.331 MB / 1.006 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.9878, allocations: 7.906 kB / 1.006 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.9882, allocations: 347 kB / 1.007 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003733/0.992, allocations: 0.8345 MB / 1.008 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/0.9967, allocations: 2.931 MB / 1.01 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9978, allocations: 1.348 MB / 1.012 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001513/0.9993, allocations: 412.3 kB / 1.012 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.9996, allocations: 115.4 kB / 1.012 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.9996, allocations: 0 / 1.012 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of Templates: time 0.04494/1.045, allocations: 29.31 MB / 1.041 GB, free: 8.648 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)