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.001125/0.001125, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001269/0.001269, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.583/1.583, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004858/0.0004859, allocations: 23.66 kB / 0.6736 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5329/0.7582, allocations: 125.9 MB / 0.9101 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.7596, allocations: 0.8506 MB / 0.9109 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.7598, allocations: 2.688 kB / 0.9109 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.76, allocations: 36.56 kB / 0.9109 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.7605, allocations: 146 kB / 0.9111 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.7607, allocations: 90.8 kB / 0.9112 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.7613, allocations: 229.3 kB / 0.9114 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.7615, allocations: 45.38 kB / 0.9114 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.7616, allocations: 33.28 kB / 0.9115 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.7616, allocations: 41.16 kB / 0.9115 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.7617, allocations: 3.438 kB / 0.9115 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.7621, allocations: 210.1 kB / 0.9117 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.7621, allocations: 16.97 kB / 0.9117 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.7624, allocations: 51.11 kB / 0.9118 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.7627, allocations: 162.5 kB / 0.9119 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.7627, allocations: 0 / 0.9119 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7627, allocations: 1.609 kB / 0.9119 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7627, allocations: 0.8438 kB / 0.9119 GB, free: 21.82 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.0005882/0.7633, allocations: 436.5 kB / 0.9123 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7633, allocations: 14.05 kB / 0.9124 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.7636, allocations: 43.7 kB / 0.9124 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.7639, allocations: 205.3 kB / 0.9126 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.7639, allocations: 8.25 kB / 0.9126 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.7639, allocations: 9.688 kB / 0.9126 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.7642, allocations: 124.2 kB / 0.9127 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.7642, allocations: 0 / 0.9127 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.7642, allocations: 8.469 kB / 0.9127 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.7642, allocations: 6.641 kB / 0.9127 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.7645, allocations: 103 kB / 0.9128 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.7652, allocations: 449.3 kB / 0.9133 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.7654, allocations: 99.84 kB / 0.9134 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.7654, allocations: 3.969 kB / 0.9134 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.7655, allocations: 34.89 kB / 0.9134 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.7655, allocations: 0 / 0.9134 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000462/0.766, allocations: 161.7 kB / 0.9136 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.766, allocations: 53.16 kB / 0.9136 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.7662, allocations: 177.5 kB / 0.9138 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7662, allocations: 29.45 kB / 0.9138 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.7663, allocations: 112.2 kB / 0.9139 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.7663, allocations: 29.11 kB / 0.9139 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.7663, allocations: 0.8438 kB / 0.9139 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7664, allocations: 323.9 kB / 0.9142 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.7665, allocations: 37.72 kB / 0.9143 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.7666, allocations: 41.23 kB / 0.9143 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.7668, allocations: 40.44 kB / 0.9144 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7668, allocations: 0 / 0.9144 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002693/0.767, allocations: 128.9 kB / 0.9145 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7671, allocations: 8.875 kB / 0.9145 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7671, allocations: 1.031 kB / 0.9145 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7671, allocations: 5.156 kB / 0.9145 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.7672, allocations: 22.44 kB / 0.9145 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7672, allocations: 0.9688 kB / 0.9145 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.205e-05/0.7673, allocations: 19.89 kB / 0.9145 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.7674, allocations: 5.344 kB / 0.9145 GB, free: 20.09 MB / 0.7325 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.724e-05/0.7674, allocations: 124.3 kB / 0.9147 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.7675, allocations: 10.03 kB / 0.9147 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.7678, allocations: 130.1 kB / 0.9148 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.7678, allocations: 1.656 kB / 0.9148 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7678, allocations: 4 kB / 0.9148 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7678, allocations: 0 / 0.9148 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.768, allocations: 226.4 kB / 0.915 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.768, allocations: 1.312 kB / 0.915 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.7681, allocations: 23.98 kB / 0.915 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7681, allocations: 1.094 kB / 0.915 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.7682, allocations: 1.125 kB / 0.915 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7682, allocations: 0 / 0.915 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7682, allocations: 1.031 kB / 0.915 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.7685, allocations: 222.3 kB / 0.9153 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.7685, allocations: 95.83 kB / 0.9153 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.7685, allocations: 5.969 kB / 0.9154 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.7687, allocations: 17.06 kB / 0.9154 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.7687, allocations: 6.859 kB / 0.9154 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.7687, allocations: 0.9688 kB / 0.9154 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001194/0.7689, allocations: 140.4 kB / 0.9155 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7689, allocations: 0 / 0.9155 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002439/0.7691, allocations: 18.69 kB / 0.9155 GB, free: 19.4 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.7693, allocations: 112.6 kB / 0.9156 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.7695, allocations: 84.69 kB / 0.9157 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7696, allocations: 0 / 0.9157 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.7697, allocations: 49.94 kB / 0.9158 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.77, allocations: 33.22 kB / 0.9158 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.7705, allocations: 305.2 kB / 0.9161 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.7708, allocations: 0.7186 MB / 0.9168 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.435e-05/0.7709, allocations: 9.672 kB / 0.9168 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.7709, allocations: 13.06 kB / 0.9168 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7709, allocations: 4 kB / 0.9168 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of Templates: time 0.003796/0.7747, allocations: 1.415 MB / 0.9182 GB, free: 18.29 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: