Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 195 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001437/0.001437, allocations: 69.16 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2319, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03961/0.2716, allocations: 41.57 MB / 0.824 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.2857, allocations: 10.31 MB / 0.834 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.2875, allocations: 55.69 kB / 0.8341 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2891, allocations: 0.6482 MB / 0.8347 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.2941, allocations: 1.866 MB / 0.8365 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.297, allocations: 1.183 MB / 0.8377 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004206/0.3012, allocations: 3.387 MB / 0.841 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.3026, allocations: 1.052 MB / 0.842 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.3056, allocations: 1.219 MB / 0.8432 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.3071, allocations: 0.8866 MB / 0.8441 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.3073, allocations: 100 kB / 0.8442 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.3097, allocations: 0.8617 MB / 0.845 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.31, allocations: 279 kB / 0.8453 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.3107, allocations: 0.6299 MB / 0.8459 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.3135, allocations: 1.901 MB / 0.8478 GB, free: 11.3 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3135, allocations: 0 / 0.8478 GB, free: 11.3 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3135, allocations: 3.984 kB / 0.8478 GB, free: 11.3 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.3135, allocations: 0 / 0.8478 GB, free: 11.3 MB / 0.67 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.002269/0.3158, allocations: 1.513 MB / 0.8492 GB, free: 9.738 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3159, allocations: 12.02 kB / 0.8493 GB, free: 9.727 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.3162, allocations: 131.4 kB / 0.8494 GB, free: 9.598 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.3177, allocations: 1.029 MB / 0.8504 GB, free: 8.523 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.3178, allocations: 66 kB / 0.8504 GB, free: 8.461 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3179, allocations: 75.91 kB / 0.8505 GB, free: 8.387 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3192, allocations: 0.7944 MB / 0.8513 GB, free: 7.555 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.3192, allocations: 0 / 0.8513 GB, free: 7.555 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.3193, allocations: 28 kB / 0.8513 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.3193, allocations: 20 kB / 0.8513 GB, free: 7.508 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3204, allocations: 0.5672 MB / 0.8519 GB, free: 6.941 MB / 0.67 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.003726/0.3241, allocations: 3.571 MB / 0.8554 GB, free: 3.141 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.3247, allocations: 256.8 kB / 0.8556 GB, free: 2.883 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.3251, allocations: 180.8 kB / 0.8558 GB, free: 2.703 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.3256, allocations: 0.6609 MB / 0.8564 GB, free: 1.895 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3256, allocations: 38.56 kB / 0.8565 GB, free: 1.848 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/0.3256, allocations: 3.938 kB / 0.8565 GB, free: 1.844 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001197/0.3268, allocations: 0.5186 MB / 0.857 GB, free: 1.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3269, allocations: 59.39 kB / 0.857 GB, free: 1.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.328, allocations: 0.9371 MB / 0.858 GB, free: 300 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.3281, allocations: 33.7 kB / 0.858 GB, free: 260 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.3284, allocations: 495.7 kB / 0.8585 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3285, allocations: 114.3 kB / 0.8586 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.3287, allocations: 126 kB / 0.8587 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3288, allocations: 325.9 kB / 0.859 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3292, allocations: 161 kB / 0.8592 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.3297, allocations: 355.5 kB / 0.8595 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.3305, allocations: 0.5225 MB / 0.86 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3305, allocations: 0 / 0.86 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001079/0.3316, allocations: 0.6094 MB / 0.8606 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3317, allocations: 8 kB / 0.8606 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3317, allocations: 8 kB / 0.8606 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3317, allocations: 8 kB / 0.8606 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.3321, allocations: 128.2 kB / 0.8607 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3322, allocations: 8 kB / 0.8608 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.3327, allocations: 79.25 kB / 0.8608 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.3328, allocations: 27.98 kB / 0.8609 GB, free: 13.14 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003516/0.3332, allocations: 277.6 kB / 0.8611 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.3333, allocations: 102.8 kB / 0.8612 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/0.3343, allocations: 492.3 kB / 0.8617 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3343, allocations: 4 kB / 0.8617 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3343, allocations: 0 / 0.8617 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007388/0.335, allocations: 456.9 kB / 0.8621 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.3372, allocations: 1.37 MB / 0.8635 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3372, allocations: 4 kB / 0.8635 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.3375, allocations: 71.89 kB / 0.8635 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.3375, allocations: 3.938 kB / 0.8635 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.3376, allocations: 8 kB / 0.8636 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3376, allocations: 7.984 kB / 0.8636 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3376, allocations: 4 kB / 0.8636 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.339, allocations: 0.7695 MB / 0.8643 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.3393, allocations: 227.7 kB / 0.8645 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.3394, allocations: 11.94 kB / 0.8645 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.3399, allocations: 27.97 kB / 0.8646 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.34, allocations: 31.89 kB / 0.8646 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.3401, allocations: 20.05 kB / 0.8646 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007992/0.3409, allocations: 0.6548 MB / 0.8653 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3409, allocations: 0 / 0.8653 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009747/0.3419, allocations: 339.5 kB / 0.8656 GB, free: 8.125 MB / 0.6856 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 (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.0008095/0.3427, allocations: 383.2 kB / 0.8659 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000946/0.3436, allocations: 455.1 kB / 0.8664 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3436, allocations: 3.938 kB / 0.8664 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.344, allocations: 181.5 kB / 0.8666 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.3466, allocations: 0.6158 MB / 0.8672 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.3491, allocations: 1.609 MB / 0.8687 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.3496, allocations: 1.04 MB / 0.8697 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000682/0.3503, allocations: 187.7 kB / 0.8699 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.3505, allocations: 83.42 kB / 0.87 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of SimCode: time 4.2e-07/0.3505, allocations: 0 / 0.87 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of Templates: time 0.03673/0.3872, allocations: 21.31 MB / 0.8908 GB, free: 14.53 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)