Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.629/1.629, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.207/3.207, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.657e-05, allocations: 4.953 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8572/0.8573, allocations: 131 MB / 1.129 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.8587, allocations: 1.04 MB / 1.13 GB, free: 2.145 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.8588, allocations: 2.375 kB / 1.13 GB, free: 2.145 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.8592, allocations: 47.48 kB / 1.13 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008976/0.8601, allocations: 328.4 kB / 1.13 GB, free: 1.957 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.8605, allocations: 167.2 kB / 1.131 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.861, allocations: 228.5 kB / 1.131 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.8611, allocations: 44.44 kB / 1.131 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.8612, allocations: 80.52 kB / 1.131 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.8613, allocations: 49.06 kB / 1.131 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.8613, allocations: 11.94 kB / 1.131 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.8618, allocations: 239.1 kB / 1.131 GB, free: 1.617 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.8619, allocations: 31.09 kB / 1.131 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.8619, allocations: 37.38 kB / 1.131 GB, free: 1.582 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.8624, allocations: 289 kB / 1.132 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8624, allocations: 0 / 1.132 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8624, allocations: 0 / 1.132 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8624, allocations: 1.25 kB / 1.132 GB, free: 1.477 MB / 0.9948 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.0006447/0.863, allocations: 398.8 kB / 1.132 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8631, allocations: 10.41 kB / 1.132 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004723/0.8636, allocations: 50.77 kB / 1.132 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.8638, allocations: 155.1 kB / 1.132 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.8638, allocations: 8.594 kB / 1.132 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.8638, allocations: 10.84 kB / 1.132 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.8641, allocations: 118.5 kB / 1.132 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8641, allocations: 0 / 1.132 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.8641, allocations: 9.312 kB / 1.132 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.8641, allocations: 3.516 kB / 1.132 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.8644, allocations: 91.5 kB / 1.132 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.865, allocations: 354 kB / 1.133 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.8652, allocations: 91.88 kB / 1.133 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.8653, allocations: 41.17 kB / 1.133 GB, free: 0.5117 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.8653, allocations: 1.219 kB / 1.133 GB, free: 0.5117 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.8653, allocations: 33.03 kB / 1.133 GB, free: 484 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.8653, allocations: 0 / 1.133 GB, free: 484 kB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0004618/0.8658, allocations: 143.7 kB / 1.133 GB, free: 412 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.8658, allocations: 56.81 kB / 1.133 GB, free: 344 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.866, allocations: 148.1 kB / 1.133 GB, free: 228 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.866, allocations: 26.86 kB / 1.133 GB, free: 196 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.866, allocations: 123.6 kB / 1.133 GB, free: 80 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.8661, allocations: 21.59 kB / 1.133 GB, free: 64 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.8661, allocations: 22.02 kB / 1.133 GB, free: 44 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.8663, allocations: 324.1 kB / 1.134 GB, free: 15.72 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.8664, allocations: 31.08 kB / 1.134 GB, free: 15.71 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.8665, allocations: 35.97 kB / 1.134 GB, free: 15.71 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.8668, allocations: 79.02 kB / 1.134 GB, free: 15.67 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8668, allocations: 0.7031 kB / 1.134 GB, free: 15.67 MB / 1.01 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004268/0.8672, allocations: 120.7 kB / 1.134 GB, free: 15.61 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.8672, allocations: 5.766 kB / 1.134 GB, free: 15.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8672, allocations: 5.453 kB / 1.134 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8672, allocations: 0 / 1.134 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.8674, allocations: 17.22 kB / 1.134 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8674, allocations: 4.609 kB / 1.134 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.8675, allocations: 11.23 kB / 1.134 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.8675, allocations: 6.078 kB / 1.134 GB, free: 15.59 MB / 1.01 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.0001319/0.8676, allocations: 120.8 kB / 1.134 GB, free: 15.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.8676, allocations: 12.06 kB / 1.134 GB, free: 15.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.868, allocations: 123.1 kB / 1.134 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.868, allocations: 1.094 kB / 1.134 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.868, allocations: 0 / 1.134 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.868, allocations: 8.781 kB / 1.134 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.8682, allocations: 155.5 kB / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8682, allocations: 0.6562 kB / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.8683, allocations: 15.62 kB / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8683, allocations: 1.125 kB / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.8684, allocations: 2.078 kB / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8684, allocations: 0 / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8684, allocations: 0 / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.8687, allocations: 215.3 kB / 1.135 GB, free: 15.08 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.8687, allocations: 15.05 kB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.8688, allocations: 5.953 kB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.8689, allocations: 6.125 kB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.8689, allocations: 6.25 kB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.8689, allocations: 2.125 kB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001167/0.8691, allocations: 117.1 kB / 1.135 GB, free: 14.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.8691, allocations: 1.062 kB / 1.135 GB, free: 14.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002615/0.8693, allocations: 30.8 kB / 1.135 GB, free: 14.97 MB / 1.01 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.0002114/0.8695, allocations: 103.8 kB / 1.135 GB, free: 14.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.8698, allocations: 77.92 kB / 1.135 GB, free: 14.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8698, allocations: 0 / 1.135 GB, free: 14.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.8699, allocations: 35.94 kB / 1.135 GB, free: 14.85 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.8703, allocations: 45.61 kB / 1.135 GB, free: 14.83 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.8709, allocations: 245.2 kB / 1.135 GB, free: 14.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.8711, allocations: 94.05 kB / 1.135 GB, free: 14.58 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 6.817e-05/0.8711, allocations: 14.61 kB / 1.135 GB, free: 14.57 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.8712, allocations: 14.06 kB / 1.135 GB, free: 14.57 MB / 1.01 GB Notification: Performance of SimCode: time 4.8e-07/0.8712, allocations: 0 / 1.135 GB, free: 14.57 MB / 1.01 GB Notification: Performance of Templates: time 0.005564/0.8767, allocations: 1.54 MB / 1.137 GB, free: 14.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.036832644604146]