Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.846/4.846, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00257/0.002569, allocations: 359.5 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.213/4.213, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001927/0.001927, allocations: 190.6 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007667/0.0007673, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7027/0.7035, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1594/0.863, allocations: 135 MB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.8644, allocations: 0.9402 MB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.558e-05/0.8645, allocations: 0 / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.8647, allocations: 39.8 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.8652, allocations: 131.2 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.8655, allocations: 95.58 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000585/0.8661, allocations: 271.1 kB / 1.595 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.8662, allocations: 40.05 kB / 1.595 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.392e-05/0.8663, allocations: 39.78 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.8664, allocations: 51.77 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.8664, allocations: 4 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.8669, allocations: 179.5 kB / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.8669, allocations: 27.84 kB / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.867, allocations: 45.64 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.8672, allocations: 147.7 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8673, allocations: 4 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8673, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.8673, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 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.0006241/0.8679, allocations: 446.7 kB / 1.596 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.868, allocations: 11.62 kB / 1.596 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.8683, allocations: 39.73 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.8686, allocations: 210.8 kB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8686, allocations: 8 kB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.8686, allocations: 16 kB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.869, allocations: 114.3 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.869, allocations: 3.938 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.8691, allocations: 11.95 kB / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.8691, allocations: 0 / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.8695, allocations: 114.1 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.8703, allocations: 449.8 kB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.8706, allocations: 90.55 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.8708, allocations: 48.94 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.8708, allocations: 4 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.8709, allocations: 34.5 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.8709, allocations: 0 / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006531/0.8716, allocations: 161.4 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.8716, allocations: 55.39 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.8718, allocations: 174.4 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.8718, allocations: 25.7 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.8719, allocations: 116 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.8719, allocations: 23.69 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.8719, allocations: 4 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.872, allocations: 326.8 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.8722, allocations: 31.98 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.8724, allocations: 39.97 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.8726, allocations: 47.92 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8726, allocations: 0 / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004247/0.873, allocations: 121.9 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8731, allocations: 7.984 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8731, allocations: 4 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.8731, allocations: 4 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.8733, allocations: 23.98 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8734, allocations: 3.953 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.8735, allocations: 19.84 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.8736, allocations: 3.938 kB / 1.598 GB, free: 144.4 MB / 0.8542 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 8.988e-05/0.8737, allocations: 129.8 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.8737, allocations: 9.688 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.8742, allocations: 131.1 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8742, allocations: 3.984 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8742, allocations: 3.938 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.8743, allocations: 96.88 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.8743, allocations: 4 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.8745, allocations: 15.92 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.8746, allocations: 4 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005126/0.8751, allocations: 212.8 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004427/0.8756, allocations: 282.7 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000188/0.8758, allocations: 51.92 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001177/0.8759, allocations: 137.7 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of Backend: time 6.02e-07/0.8759, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007588/0.8767, allocations: 187.4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007682/0.8775, allocations: 0.749 MB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.006322/0.8838, allocations: 2.063 MB / 1.602 GB, free: 140.3 MB / 0.8542 GB