Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.487/2.487, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001344/0.001344, allocations: 172.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009387/0.0009386, allocations: 85.11 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 17.41 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.271/6.477, allocations: 2.057 GB / 3.036 GB, free: 248.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/6.477, allocations: 97.06 kB / 3.036 GB, free: 248.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1294/6.607, allocations: 41.33 MB / 3.076 GB, free: 207 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/6.607, allocations: 0 / 3.076 GB, free: 207 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.448e-05/6.607, allocations: 8 kB / 3.076 GB, free: 207 MB / 0.948 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.0007085/6.607, allocations: 473.7 kB / 3.077 GB, free: 206.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/6.608, allocations: 8.031 kB / 3.077 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/6.608, allocations: 28.83 kB / 3.077 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/6.608, allocations: 220 kB / 3.077 GB, free: 206.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/6.608, allocations: 8.812 kB / 3.077 GB, free: 206.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/6.608, allocations: 16.31 kB / 3.077 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/6.609, allocations: 123.4 kB / 3.077 GB, free: 206 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/6.609, allocations: 192 / 3.077 GB, free: 206 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/6.609, allocations: 7.938 kB / 3.077 GB, free: 206 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/6.609, allocations: 0 / 3.077 GB, free: 206 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/6.609, allocations: 111.9 kB / 3.077 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/6.61, allocations: 460.1 kB / 3.078 GB, free: 205.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/6.61, allocations: 90.55 kB / 3.078 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/6.61, allocations: 52.92 kB / 3.078 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/6.61, allocations: 0 / 3.078 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/6.61, allocations: 42.44 kB / 3.078 GB, free: 205.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/6.61, allocations: 0 / 3.078 GB, free: 205.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0006505/6.611, allocations: 157.5 kB / 3.078 GB, free: 205 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/6.611, allocations: 55.34 kB / 3.078 GB, free: 205 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/6.611, allocations: 174.9 kB / 3.078 GB, free: 204.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/6.611, allocations: 29.7 kB / 3.078 GB, free: 204.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/6.611, allocations: 124 kB / 3.078 GB, free: 204.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/6.612, allocations: 23.62 kB / 3.079 GB, free: 204.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/6.612, allocations: 0 / 3.079 GB, free: 204.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/6.612, allocations: 318.8 kB / 3.079 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/6.612, allocations: 39.97 kB / 3.079 GB, free: 204.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/6.612, allocations: 35.98 kB / 3.079 GB, free: 204.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/6.612, allocations: 96.73 kB / 3.079 GB, free: 204.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/6.612, allocations: 0 / 3.079 GB, free: 204.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004193/6.613, allocations: 121.6 kB / 3.079 GB, free: 204 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/6.613, allocations: 7.938 kB / 3.079 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/6.613, allocations: 0 / 3.079 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/6.613, allocations: 4 kB / 3.079 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/6.613, allocations: 19.98 kB / 3.079 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/6.613, allocations: 0 / 3.079 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/6.613, allocations: 23.83 kB / 3.079 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/6.613, allocations: 7.938 kB / 3.079 GB, free: 203.9 MB / 0.948 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.0001158/6.613, allocations: 117.8 kB / 3.079 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/6.613, allocations: 15.84 kB / 3.079 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/6.614, allocations: 131.6 kB / 3.079 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/6.614, allocations: 4 kB / 3.079 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/6.614, allocations: 0 / 3.079 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/6.614, allocations: 0 / 3.079 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/6.614, allocations: 221.5 kB / 3.08 GB, free: 203.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/6.614, allocations: 0 / 3.08 GB, free: 203.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/6.614, allocations: 27.92 kB / 3.08 GB, free: 203.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/6.614, allocations: 3.938 kB / 3.08 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/6.615, allocations: 11.94 kB / 3.08 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/6.615, allocations: 0 / 3.08 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/6.615, allocations: 8.062 kB / 3.08 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/6.615, allocations: 215.4 kB / 3.08 GB, free: 203.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/6.615, allocations: 96.8 kB / 3.08 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/6.615, allocations: 4 kB / 3.08 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/6.615, allocations: 11.92 kB / 3.08 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/6.615, allocations: 7.984 kB / 3.08 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/6.615, allocations: 0 / 3.08 GB, free: 203 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001314/6.616, allocations: 135.2 kB / 3.08 GB, free: 202.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/6.616, allocations: 0 / 3.08 GB, free: 202.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004618/6.616, allocations: 51.98 kB / 3.08 GB, free: 202.8 MB / 0.948 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.0007841/6.617, allocations: 0.5572 MB / 3.081 GB, free: 202.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004258/6.617, allocations: 83.95 kB / 3.081 GB, free: 202.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/6.617, allocations: 0 / 3.081 GB, free: 202.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/6.617, allocations: 47.91 kB / 3.081 GB, free: 202.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/6.618, allocations: 27.98 kB / 3.081 GB, free: 202.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/6.619, allocations: 309.4 kB / 3.081 GB, free: 201.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/6.619, allocations: 0.7121 MB / 3.082 GB, free: 201 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001201/6.619, allocations: 16.88 kB / 3.082 GB, free: 201 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/6.619, allocations: 11.44 kB / 3.082 GB, free: 201 MB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/6.619, allocations: 0 / 3.082 GB, free: 201 MB / 0.948 GB Notification: Performance of Templates: time 0.01855/6.638, allocations: 8.558 MB / 3.09 GB, free: 192.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)