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.001499/0.001499, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001573/0.001573, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7771/0.7771, allocations: 132.2 MB / 423.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.14 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 80.18 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5464/0.8941, allocations: 274.6 MB / 0.8496 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02321/0.9173, allocations: 17.35 MB / 0.8666 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.9212, allocations: 70.75 kB / 0.8667 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.9253, allocations: 1.162 MB / 0.8678 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.9353, allocations: 3.095 MB / 0.8708 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.9416, allocations: 2.202 MB / 0.873 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00727/0.9489, allocations: 4.835 MB / 0.8777 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.9516, allocations: 1.752 MB / 0.8794 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00599/0.9576, allocations: 2.41 MB / 0.8817 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.9606, allocations: 1.544 MB / 0.8833 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.961, allocations: 195.9 kB / 0.8834 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00611/0.9671, allocations: 3.012 MB / 0.8864 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009038/0.9681, allocations: 0.7206 MB / 0.8871 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.9697, allocations: 1.112 MB / 0.8882 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00634/0.9761, allocations: 3.829 MB / 0.8919 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9761, allocations: 3.938 kB / 0.8919 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9762, allocations: 4 kB / 0.8919 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.784e-05/0.9762, allocations: 0 / 0.8919 GB, free: 5.352 MB / 0.6075 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.004479/0.9807, allocations: 2.416 MB / 0.8943 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.9808, allocations: 16.03 kB / 0.8943 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004508/0.9853, allocations: 0.6416 MB / 0.8949 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.9879, allocations: 1.4 MB / 0.8963 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.988, allocations: 102.5 kB / 0.8964 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.9882, allocations: 136 kB / 0.8965 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.9908, allocations: 1.565 MB / 0.898 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.9908, allocations: 0 / 0.898 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.9909, allocations: 56 kB / 0.8981 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.991, allocations: 50.39 kB / 0.8981 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.9931, allocations: 1.266 MB / 0.8994 GB, free: 13.5 MB / 0.6231 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.009125/1.002, allocations: 7.195 MB / 0.9064 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.003, allocations: 0.6481 MB / 0.907 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/1.004, allocations: 369.1 kB / 0.9074 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/1.004, allocations: 117.6 kB / 0.9075 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/1.004, allocations: 47.03 kB / 0.9075 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006022/1.005, allocations: 99.12 kB / 0.9076 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=67): time 2.956e-06/1.005, allocations: 0 / 0.9076 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67): time 0.001873/1.007, allocations: 1.009 MB / 0.9086 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/1.007, allocations: 63.97 kB / 0.9087 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/1.008, allocations: 1.339 MB / 0.91 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/1.008, allocations: 45.7 kB / 0.91 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/1.009, allocations: 0.7775 MB / 0.9108 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/1.009, allocations: 240.5 kB / 0.911 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/1.01, allocations: 202.4 kB / 0.9112 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.01, allocations: 345.9 kB / 0.9116 GB, free: 392 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/1.01, allocations: 356.7 kB / 0.9119 GB, free: 32 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/1.011, allocations: 0.6813 MB / 0.9126 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.012, allocations: 0.9488 MB / 0.9135 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.012, allocations: 4 kB / 0.9135 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001782/1.014, allocations: 1.143 MB / 0.9146 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.014, allocations: 9.234 kB / 0.9146 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.014, allocations: 4 kB / 0.9146 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.014, allocations: 15.94 kB / 0.9146 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/1.015, allocations: 223.6 kB / 0.9148 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/1.015, allocations: 15.94 kB / 0.9149 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.016, allocations: 49 kB / 0.9149 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/1.016, allocations: 40 kB / 0.9149 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001054/1.018, allocations: 0.6854 MB / 0.9156 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007718/1.018, allocations: 0.6751 MB / 0.9163 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001221/1.02, allocations: 0.9449 MB / 0.9172 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/1.02, allocations: 0 / 0.9172 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001768/1.021, allocations: 1.156 MB / 0.9183 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.021, allocations: 8 kB / 0.9183 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.021, allocations: 4 kB / 0.9183 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.021, allocations: 12 kB / 0.9183 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/1.022, allocations: 207.7 kB / 0.9185 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.022, allocations: 19.92 kB / 0.9186 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.023, allocations: 51.91 kB / 0.9186 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/1.024, allocations: 44.08 kB / 0.9187 GB, free: 8.621 MB / 0.6387 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.0002485/1.024, allocations: 247.9 kB / 0.9189 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/1.024, allocations: 150.2 kB / 0.919 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/1.025, allocations: 0.8124 MB / 0.9198 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.025, allocations: 12 kB / 0.9198 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.025, allocations: 0 / 0.9198 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009625/1.026, allocations: 0.7823 MB / 0.9206 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/1.03, allocations: 2.294 MB / 0.9228 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.03, allocations: 12.19 kB / 0.9229 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/1.031, allocations: 163.8 kB / 0.923 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.031, allocations: 7.938 kB / 0.923 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/1.031, allocations: 23.94 kB / 0.923 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.031, allocations: 7.938 kB / 0.9231 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.031, allocations: 4 kB / 0.9231 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/1.033, allocations: 1.308 MB / 0.9243 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/1.033, allocations: 315.2 kB / 0.9246 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.033, allocations: 23.98 kB / 0.9247 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/1.034, allocations: 38.09 kB / 0.9247 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/1.034, allocations: 48.5 kB / 0.9247 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/1.034, allocations: 27.98 kB / 0.9248 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001176/1.036, allocations: 0.9083 MB / 0.9257 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.036, allocations: 0 / 0.9257 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001833/1.037, allocations: 0.8378 MB / 0.9265 GB, free: 424 kB / 0.6387 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.0005606/1.038, allocations: 265.9 kB / 0.9267 GB, free: 160 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002193/1.04, allocations: 1.33 MB / 0.928 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.04, allocations: 0 / 0.928 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004807/1.041, allocations: 351 kB / 0.9284 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.044, allocations: 0.8394 MB / 0.9292 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/1.049, allocations: 2.864 MB / 0.932 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.05, allocations: 1.352 MB / 0.9333 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001625/1.052, allocations: 412.3 kB / 0.9337 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/1.052, allocations: 115.4 kB / 0.9338 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of SimCode: time 7.41e-07/1.052, allocations: 0 / 0.9338 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of Templates: time 0.04583/1.098, allocations: 29.08 MB / 0.9622 GB, free: 12.18 MB / 0.6856 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)