Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.653/1.653, allocations: 288.4 MB / 304.3 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 182 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 0.6316 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000779/0.0007792, allocations: 94.36 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 13.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1975, allocations: 115.3 MB / 0.9808 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5521/0.7497, allocations: 135.1 MB / 1.113 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.7508, allocations: 1.049 MB / 1.114 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.7509, allocations: 3.719 kB / 1.114 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.7512, allocations: 48.41 kB / 1.114 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005976/0.7518, allocations: 263.1 kB / 1.114 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.7521, allocations: 143.2 kB / 1.114 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.7525, allocations: 220.6 kB / 1.114 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.7526, allocations: 50.47 kB / 1.114 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.7527, allocations: 40.73 kB / 1.114 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.7528, allocations: 49.22 kB / 1.114 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.7528, allocations: 3.281 kB / 1.114 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.7533, allocations: 406.4 kB / 1.115 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.7534, allocations: 18.09 kB / 1.115 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.7535, allocations: 75.81 kB / 1.115 GB, free: 18.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.7538, allocations: 196.7 kB / 1.115 GB, free: 18.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7538, allocations: 1.859 kB / 1.115 GB, free: 18.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7538, allocations: 1.312 kB / 1.115 GB, free: 18.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.7538, allocations: 0 / 1.115 GB, free: 18.39 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005808/0.7544, allocations: 450.7 kB / 1.116 GB, free: 17.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.7545, allocations: 9.188 kB / 1.116 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.7548, allocations: 40.25 kB / 1.116 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.755, allocations: 210 kB / 1.116 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.755, allocations: 13.97 kB / 1.116 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.755, allocations: 13.22 kB / 1.116 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.7553, allocations: 119.7 kB / 1.116 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7553, allocations: 1.859 kB / 1.116 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.7553, allocations: 4.562 kB / 1.116 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7554, allocations: 2.781 kB / 1.116 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.7556, allocations: 101.7 kB / 1.116 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.7563, allocations: 464.3 kB / 1.117 GB, free: 17.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.7565, allocations: 92.45 kB / 1.117 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.7566, allocations: 46.89 kB / 1.117 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.7567, allocations: 6.234 kB / 1.117 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.7567, allocations: 34.92 kB / 1.117 GB, free: 17.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.7567, allocations: 0 / 1.117 GB, free: 17.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004153/0.7571, allocations: 157.8 kB / 1.117 GB, free: 17.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.7571, allocations: 55.34 kB / 1.117 GB, free: 17.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.7573, allocations: 180.7 kB / 1.117 GB, free: 17.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.7573, allocations: 28.89 kB / 1.117 GB, free: 17.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.7574, allocations: 115.6 kB / 1.117 GB, free: 17.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.7574, allocations: 20.73 kB / 1.117 GB, free: 17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.7574, allocations: 0 / 1.117 GB, free: 17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.7575, allocations: 332.2 kB / 1.118 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.7576, allocations: 34.11 kB / 1.118 GB, free: 16.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.7577, allocations: 42.03 kB / 1.118 GB, free: 16.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.758, allocations: 92.17 kB / 1.118 GB, free: 16.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.758, allocations: 0 / 1.118 GB, free: 16.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002705/0.7582, allocations: 126.8 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7583, allocations: 5.188 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7583, allocations: 3.938 kB / 1.118 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7583, allocations: 0 / 1.118 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.7584, allocations: 20.47 kB / 1.118 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7585, allocations: 0.6562 kB / 1.118 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-05/0.7586, allocations: 16.75 kB / 1.118 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7586, allocations: 2.75 kB / 1.118 GB, free: 16.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/0.7587, allocations: 128.6 kB / 1.118 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.7587, allocations: 12.41 kB / 1.118 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.7591, allocations: 142.4 kB / 1.118 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7591, allocations: 4.797 kB / 1.118 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7591, allocations: 0.5 kB / 1.118 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.7592, allocations: 90.88 kB / 1.118 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.7592, allocations: 0.5625 kB / 1.118 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.7593, allocations: 16.64 kB / 1.118 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.7594, allocations: 5.484 kB / 1.118 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003525/0.7597, allocations: 200.8 kB / 1.118 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003409/0.7601, allocations: 304 kB / 1.119 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001201/0.7602, allocations: 38.33 kB / 1.119 GB, free: 16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001281/0.7604, allocations: 133.1 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of Backend: time 2.91e-07/0.7604, allocations: 0 / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007393/0.7611, allocations: 209.2 kB / 1.119 GB, free: 15.84 MB / 0.698 GB Notification: Performance of SimCode: time 0.0008318/0.762, allocations: 0.7592 MB / 1.12 GB, free: 15.17 MB / 0.698 GB Notification: Performance of Templates: time 0.005323/0.7673, allocations: 2.334 MB / 1.122 GB, free: 14.97 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)