Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001338/0.001338, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 195.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.91 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2468, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8045/1.051, allocations: 274.6 MB / 1.052 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02179/1.073, allocations: 17.27 MB / 1.068 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/1.076, allocations: 63.62 kB / 1.068 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/1.079, allocations: 1.165 MB / 1.07 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007817/1.086, allocations: 3.081 MB / 1.073 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005649/1.092, allocations: 2.204 MB / 1.075 GB, free: 12.91 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006556/1.099, allocations: 4.811 MB / 1.079 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/1.102, allocations: 1.751 MB / 1.081 GB, free: 6.312 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/1.108, allocations: 2.392 MB / 1.083 GB, free: 3.926 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002942/1.111, allocations: 1.545 MB / 1.085 GB, free: 2.387 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005216/1.112, allocations: 192 kB / 1.085 GB, free: 2.199 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006234/1.118, allocations: 3.005 MB / 1.088 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008824/1.119, allocations: 0.7245 MB / 1.089 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/1.121, allocations: 1.116 MB / 1.09 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005944/1.126, allocations: 3.81 MB / 1.094 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.127, allocations: 0 / 1.094 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/1.127, allocations: 4 kB / 1.094 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.182e-05/1.127, allocations: 7.938 kB / 1.094 GB, free: 9.508 MB / 0.8106 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.004053/1.131, allocations: 2.416 MB / 1.096 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.131, allocations: 8.031 kB / 1.096 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/1.135, allocations: 0.6416 MB / 1.097 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/1.137, allocations: 1.322 MB / 1.098 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/1.137, allocations: 102.5 kB / 1.098 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/1.138, allocations: 144 kB / 1.098 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/1.14, allocations: 1.568 MB / 1.1 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/1.14, allocations: 4 kB / 1.1 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.14, allocations: 60 kB / 1.1 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/1.14, allocations: 46.39 kB / 1.1 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.143, allocations: 1.263 MB / 1.101 GB, free: 1.738 MB / 0.8106 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.008405/1.151, allocations: 7.257 MB / 1.108 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/1.152, allocations: 0.6592 MB / 1.109 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/1.153, allocations: 374.3 kB / 1.109 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/1.153, allocations: 105.7 kB / 1.109 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.153, allocations: 43.12 kB / 1.109 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005419/1.153, allocations: 107 kB / 1.109 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=67): time 2.524e-06/1.153, allocations: 0 / 1.109 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67): time 0.00189/1.155, allocations: 1.001 MB / 1.11 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/1.155, allocations: 63.95 kB / 1.11 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/1.157, allocations: 1.338 MB / 1.112 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/1.157, allocations: 49.7 kB / 1.112 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/1.158, allocations: 0.7736 MB / 1.113 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/1.158, allocations: 240.5 kB / 1.113 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/1.158, allocations: 206.4 kB / 1.113 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.158, allocations: 341.9 kB / 1.113 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.159, allocations: 356.7 kB / 1.114 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/1.16, allocations: 0.6794 MB / 1.114 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.161, allocations: 0.9527 MB / 1.115 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.161, allocations: 4 kB / 1.115 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001885/1.163, allocations: 1.148 MB / 1.116 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.163, allocations: 11.94 kB / 1.116 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.163, allocations: 11.98 kB / 1.116 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.163, allocations: 8 kB / 1.116 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/1.164, allocations: 207.7 kB / 1.117 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.164, allocations: 15.94 kB / 1.117 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.165, allocations: 62.56 kB / 1.117 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/1.165, allocations: 43.98 kB / 1.117 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/1.166, allocations: 0.6815 MB / 1.117 GB, free: 144 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008673/1.167, allocations: 0.6788 MB / 1.118 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001321/1.169, allocations: 0.9526 MB / 1.119 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/1.169, allocations: 4 kB / 1.119 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002087/1.171, allocations: 1.144 MB / 1.12 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.171, allocations: 8 kB / 1.12 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.171, allocations: 8 kB / 1.12 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.171, allocations: 12.81 kB / 1.12 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/1.172, allocations: 211.7 kB / 1.12 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.172, allocations: 15.94 kB / 1.12 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.173, allocations: 59.95 kB / 1.12 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/1.173, allocations: 43.98 kB / 1.12 GB, free: 12.77 MB / 0.8419 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.0003804/1.174, allocations: 244.5 kB / 1.121 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/1.174, allocations: 158.1 kB / 1.121 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.176, allocations: 0.8085 MB / 1.122 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.176, allocations: 8 kB / 1.122 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.176, allocations: 0 / 1.122 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009633/1.177, allocations: 0.7823 MB / 1.122 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/1.18, allocations: 2.302 MB / 1.125 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.18, allocations: 0 / 1.125 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/1.181, allocations: 180 kB / 1.125 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/1.181, allocations: 4 kB / 1.125 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/1.181, allocations: 16 kB / 1.125 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/1.181, allocations: 7.938 kB / 1.125 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.181, allocations: 0 / 1.125 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.183, allocations: 1.308 MB / 1.126 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/1.184, allocations: 323.2 kB / 1.126 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.184, allocations: 12 kB / 1.126 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/1.185, allocations: 39.91 kB / 1.126 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/1.185, allocations: 40.52 kB / 1.126 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/1.185, allocations: 35.98 kB / 1.126 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0012/1.186, allocations: 0.9042 MB / 1.127 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.186, allocations: 0 / 1.127 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001976/1.188, allocations: 0.8378 MB / 1.128 GB, free: 4.574 MB / 0.8419 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.0005199/1.189, allocations: 272.1 kB / 1.128 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002515/1.191, allocations: 1.436 MB / 1.13 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.191, allocations: 4.25 kB / 1.13 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/1.192, allocations: 346.9 kB / 1.13 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/1.196, allocations: 0.8468 MB / 1.131 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/1.2, allocations: 2.9 MB / 1.134 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/1.201, allocations: 1.344 MB / 1.135 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001723/1.203, allocations: 408.3 kB / 1.136 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/1.203, allocations: 115.4 kB / 1.136 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of SimCode: time 7.12e-07/1.203, allocations: 0 / 1.136 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of Templates: time 0.04823/1.251, allocations: 29.35 MB / 1.164 GB, free: 15.94 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)