Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.44/2.44, allocations: 251.3 MB / 266.2 MB, free: 11.48 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 172.9 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.73/2.73, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 93.88 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006269/0.0006271, allocations: 11.97 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2568, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2006/0.4575, allocations: 135.1 MB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.4596, allocations: 1.056 MB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.4599, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.4602, allocations: 39.73 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008898/0.4611, allocations: 195 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.4617, allocations: 135.5 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.4623, allocations: 223.3 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.4625, allocations: 53.28 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4626, allocations: 35.8 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.4628, allocations: 47.77 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.4628, allocations: 4 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008591/0.4637, allocations: 283.5 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.4638, allocations: 27.83 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.4638, allocations: 41.64 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.4643, allocations: 203.9 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4643, allocations: 4 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4644, allocations: 0 / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4644, allocations: 0 / 1.033 GB, free: 7.559 MB / 0.6823 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.0008598/0.4652, allocations: 444.4 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4653, allocations: 8.031 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.4657, allocations: 40.72 kB / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.466, allocations: 211.9 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4661, allocations: 8 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.4661, allocations: 12 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.4665, allocations: 117.6 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4665, allocations: 3.938 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.4666, allocations: 4 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.4666, allocations: 4 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.4671, allocations: 100.6 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.4681, allocations: 464.1 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.4685, allocations: 94.55 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.4687, allocations: 44.88 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.4688, allocations: 4 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4688, allocations: 30.56 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.4688, allocations: 0 / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007677/0.4696, allocations: 169.4 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4696, allocations: 55.39 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.47, allocations: 179.5 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.47, allocations: 29.7 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.4701, allocations: 120 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.4702, allocations: 23.66 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4702, allocations: 0 / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4704, allocations: 326.8 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.4706, allocations: 35.97 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.4708, allocations: 35.98 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.471, allocations: 43.97 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.471, allocations: 0 / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005066/0.4715, allocations: 129.5 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4716, allocations: 4 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4716, allocations: 3.938 kB / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4716, allocations: 0 / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.4719, allocations: 23.98 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4719, allocations: 0.5469 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4721, allocations: 15.92 kB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.4721, allocations: 8 kB / 1.036 GB, free: 4.609 MB / 0.6823 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 0.0001423/0.4723, allocations: 121.8 kB / 1.036 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.4723, allocations: 15.81 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005586/0.4729, allocations: 142.9 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4729, allocations: 4 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4729, allocations: 7.938 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4729, allocations: 0 / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.4733, allocations: 221.5 kB / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4733, allocations: 0 / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.4735, allocations: 15.98 kB / 1.036 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.4735, allocations: 4 kB / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4736, allocations: 0 / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.4736, allocations: 0 / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4736, allocations: 4 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.4741, allocations: 231.2 kB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.4742, allocations: 88.95 kB / 1.037 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.4743, allocations: 4 kB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.4745, allocations: 11.98 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.4746, allocations: 7.984 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4746, allocations: 7.984 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001817/0.4748, allocations: 131.5 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4748, allocations: 0 / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003345/0.4751, allocations: 24 kB / 1.037 GB, free: 3.488 MB / 0.6823 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.0002104/0.4753, allocations: 107.2 kB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.4758, allocations: 87.88 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4759, allocations: 0 / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.4761, allocations: 47.98 kB / 1.037 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.4767, allocations: 35.81 kB / 1.037 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.4775, allocations: 311.7 kB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.4779, allocations: 0.7083 MB / 1.038 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.478, allocations: 20.8 kB / 1.038 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.4781, allocations: 15.44 kB / 1.038 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/0.4781, allocations: 0 / 1.038 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of Templates: time 0.006232/0.4844, allocations: 1.417 MB / 1.04 GB, free: 0.7109 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)