Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 104.2 kB / 15.99 MB, free: 6.355 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.001398/0.001398, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.492/1.492, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.705/1.705, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001444/0.001444, allocations: 75.11 kB / 0.6717 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2741, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6895/0.9636, allocations: 146.9 MB / 0.927 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.9651, allocations: 1.13 MB / 0.9281 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.9653, allocations: 2.5 kB / 0.9281 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.9657, allocations: 48.62 kB / 0.9281 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007617/0.9665, allocations: 283.7 kB / 0.9284 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.9669, allocations: 148.7 kB / 0.9285 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.9674, allocations: 219.8 kB / 0.9287 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.9676, allocations: 60.56 kB / 0.9288 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.9677, allocations: 51.36 kB / 0.9288 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.9678, allocations: 64.31 kB / 0.9289 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.9678, allocations: 15 kB / 0.9289 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.9684, allocations: 386 kB / 0.9293 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.9685, allocations: 32.2 kB / 0.9293 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.9686, allocations: 59.62 kB / 0.9294 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.9689, allocations: 205.3 kB / 0.9296 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9689, allocations: 0 / 0.9296 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9689, allocations: 2.438 kB / 0.9296 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.9689, allocations: 0.9375 kB / 0.9296 GB, free: 6.066 MB / 0.7325 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.0009488/0.9699, allocations: 468.5 kB / 0.93 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.9699, allocations: 10.55 kB / 0.93 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.9703, allocations: 38.95 kB / 0.9301 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.9705, allocations: 216.9 kB / 0.9303 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.9705, allocations: 6.781 kB / 0.9303 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.9706, allocations: 10.78 kB / 0.9303 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.9709, allocations: 116.1 kB / 0.9304 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.9709, allocations: 4.938 kB / 0.9304 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.9709, allocations: 4.281 kB / 0.9304 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.9709, allocations: 4.094 kB / 0.9304 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.9712, allocations: 89.89 kB / 0.9305 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.972, allocations: 461.2 kB / 0.9309 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.9723, allocations: 93.92 kB / 0.931 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.9724, allocations: 39.77 kB / 0.9311 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.9724, allocations: 1.422 kB / 0.9311 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.9724, allocations: 36.75 kB / 0.9311 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.9725, allocations: 0 / 0.9311 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.000476/0.9729, allocations: 142.9 kB / 0.9312 GB, free: 21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.973, allocations: 53.03 kB / 0.9313 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.9732, allocations: 180.2 kB / 0.9315 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.9733, allocations: 25.7 kB / 0.9315 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.9734, allocations: 122 kB / 0.9316 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.9734, allocations: 20.19 kB / 0.9316 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.9734, allocations: 23.64 kB / 0.9316 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9736, allocations: 330.3 kB / 0.932 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.9737, allocations: 28.62 kB / 0.932 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.9738, allocations: 33.78 kB / 0.932 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.974, allocations: 76.95 kB / 0.9321 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.974, allocations: 0 / 0.9321 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002739/0.9743, allocations: 120.3 kB / 0.9322 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.9743, allocations: 5.25 kB / 0.9322 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9744, allocations: 0.9062 kB / 0.9322 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.9744, allocations: 2.594 kB / 0.9322 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.9745, allocations: 17.38 kB / 0.9322 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.9745, allocations: 4.656 kB / 0.9322 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.9746, allocations: 15.62 kB / 0.9323 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.9747, allocations: 1.094 kB / 0.9323 GB, free: 20.3 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.9748, allocations: 127.2 kB / 0.9324 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.9748, allocations: 13.62 kB / 0.9324 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.9752, allocations: 125.7 kB / 0.9325 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.9752, allocations: 7.688 kB / 0.9325 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9752, allocations: 0.6562 kB / 0.9325 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9752, allocations: 1.812 kB / 0.9325 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.9755, allocations: 221.7 kB / 0.9327 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9755, allocations: 0.875 kB / 0.9327 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.9756, allocations: 16.48 kB / 0.9327 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9756, allocations: 0.8125 kB / 0.9327 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.9756, allocations: 2.359 kB / 0.9327 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9756, allocations: 0 / 0.9327 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9756, allocations: 0.9062 kB / 0.9328 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.9759, allocations: 224.4 kB / 0.933 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.976, allocations: 88.98 kB / 0.933 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.9761, allocations: 4.641 kB / 0.9331 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.9762, allocations: 10.31 kB / 0.9331 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.9762, allocations: 4.547 kB / 0.9331 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.9762, allocations: 1.281 kB / 0.9331 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001332/0.9764, allocations: 144.6 kB / 0.9332 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9764, allocations: 0 / 0.9332 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002479/0.9766, allocations: 19.25 kB / 0.9332 GB, free: 19.62 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0001801/0.9768, allocations: 108.8 kB / 0.9333 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.9771, allocations: 88.58 kB / 0.9334 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9771, allocations: 0 / 0.9334 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.9772, allocations: 39.38 kB / 0.9335 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.9777, allocations: 35.41 kB / 0.9335 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.9782, allocations: 320 kB / 0.9338 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.9786, allocations: 0.7094 MB / 0.9345 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.9786, allocations: 18.38 kB / 0.9345 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.9787, allocations: 0 / 0.9345 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of Templates: time 0.00401/0.9827, allocations: 1.666 MB / 0.9361 GB, free: 18.46 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)