Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.339/2.339, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.00136/0.00136, allocations: 178.7 kB / 325.8 MB, free: 2.781 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.488/2.488, allocations: 205.4 MB / 0.5767 GB, free: 20.74 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.00122/0.00122, allocations: 91.94 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007674/0.0007677, allocations: 18.94 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2345, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0439/0.2785, allocations: 38.32 MB / 0.9365 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.2946, allocations: 9.621 MB / 0.9459 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.2965, allocations: 47.62 kB / 0.9459 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.2985, allocations: 469 kB / 0.9463 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.3039, allocations: 1.457 MB / 0.9478 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003617/0.3076, allocations: 0.8387 MB / 0.9486 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005486/0.3131, allocations: 3.863 MB / 0.9524 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.3148, allocations: 0.7885 MB / 0.9531 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.3173, allocations: 0.9877 MB / 0.9541 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.319, allocations: 0.8049 MB / 0.9549 GB, free: 8.074 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3193, allocations: 36 kB / 0.9549 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.3216, allocations: 0.491 MB / 0.9554 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.3219, allocations: 191.1 kB / 0.9556 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.3223, allocations: 257.1 kB / 0.9558 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.3246, allocations: 1.352 MB / 0.9571 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3246, allocations: 0 / 0.9571 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3246, allocations: 0 / 0.9571 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.3246, allocations: 4 kB / 0.9571 GB, free: 5.742 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002907/0.3276, allocations: 1.308 MB / 0.9584 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3276, allocations: 8.031 kB / 0.9584 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.3281, allocations: 139.4 kB / 0.9586 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.3304, allocations: 1.022 MB / 0.9596 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.3305, allocations: 54 kB / 0.9596 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.3307, allocations: 72 kB / 0.9597 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3326, allocations: 0.7865 MB / 0.9605 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.3326, allocations: 7.938 kB / 0.9605 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.3327, allocations: 35.98 kB / 0.9605 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.3328, allocations: 20 kB / 0.9605 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.3345, allocations: 0.5906 MB / 0.9611 GB, free: 1.57 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/0.3403, allocations: 3.532 MB / 0.9645 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.3413, allocations: 274.4 kB / 0.9648 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.3419, allocations: 180.8 kB / 0.965 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/0.3426, allocations: 0.6576 MB / 0.9656 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.3427, allocations: 42.55 kB / 0.9657 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.3427, allocations: 0 / 0.9657 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.002101/0.3448, allocations: 0.5484 MB / 0.9662 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.3449, allocations: 51.41 kB / 0.9662 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.3468, allocations: 0.9214 MB / 0.9671 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.011e-05/0.3469, allocations: 33.7 kB / 0.9672 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.3475, allocations: 499.5 kB / 0.9676 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.3477, allocations: 118.4 kB / 0.9678 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.3477, allocations: 8 kB / 0.9678 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3479, allocations: 333.9 kB / 0.9681 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.3486, allocations: 173 kB / 0.9683 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/0.3495, allocations: 359 kB / 0.9686 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.3503, allocations: 227.8 kB / 0.9688 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.3503, allocations: 0 / 0.9688 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002033/0.3523, allocations: 0.6366 MB / 0.9694 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3524, allocations: 10.34 kB / 0.9694 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.3524, allocations: 4 kB / 0.9694 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.3524, allocations: 8 kB / 0.9695 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.3533, allocations: 136.2 kB / 0.9696 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.3534, allocations: 11.94 kB / 0.9696 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.3546, allocations: 115.2 kB / 0.9697 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-05/0.3547, allocations: 27.94 kB / 0.9697 GB, free: 8.176 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0005907/0.3553, allocations: 273.6 kB / 0.97 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.3556, allocations: 98.78 kB / 0.9701 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.3572, allocations: 0.4944 MB / 0.9706 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.3573, allocations: 7.984 kB / 0.9706 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3573, allocations: 0 / 0.9706 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.3586, allocations: 472.6 kB / 0.971 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.362, allocations: 1.366 MB / 0.9724 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.3621, allocations: 8 kB / 0.9724 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.3628, allocations: 79.83 kB / 0.9724 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.3628, allocations: 7.938 kB / 0.9725 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.3628, allocations: 15.98 kB / 0.9725 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3629, allocations: 0 / 0.9725 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3629, allocations: 4 kB / 0.9725 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.3652, allocations: 0.7814 MB / 0.9732 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.3658, allocations: 243.6 kB / 0.9735 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.366, allocations: 15.98 kB / 0.9735 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.3671, allocations: 51.95 kB / 0.9735 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3672, allocations: 31.89 kB / 0.9736 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.3673, allocations: 12 kB / 0.9736 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001356/0.3686, allocations: 0.6352 MB / 0.9742 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3687, allocations: 4 kB / 0.9742 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001444/0.3701, allocations: 327.4 kB / 0.9745 GB, free: 3.102 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009419/0.3711, allocations: 351.4 kB / 0.9748 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.3726, allocations: 444.1 kB / 0.9753 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3727, allocations: 0 / 0.9753 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.3733, allocations: 196.6 kB / 0.9755 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00536/0.3787, allocations: 0.6148 MB / 0.9761 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.3829, allocations: 1.95 MB / 0.978 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.3838, allocations: 1.028 MB / 0.979 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001305/0.3851, allocations: 199.6 kB / 0.9792 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.3854, allocations: 79.42 kB / 0.9792 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of SimCode: time 1.253e-06/0.3854, allocations: 0 / 0.9792 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.05388/0.4393, allocations: 19.47 MB / 0.9982 GB, free: 10.93 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)