Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 173.3 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007533/0.0007534, allocations: 87.92 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003792, allocations: 11.92 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.183, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02689/0.2099, allocations: 41.02 MB / 0.9368 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.2209, allocations: 10.34 MB / 0.9469 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.2228, allocations: 51.69 kB / 0.9469 GB, free: 16.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.2244, allocations: 0.5283 MB / 0.9475 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.2286, allocations: 1.731 MB / 0.9491 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.2309, allocations: 1.044 MB / 0.9502 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003665/0.2346, allocations: 4.484 MB / 0.9545 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.2358, allocations: 0.8517 MB / 0.9554 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.2376, allocations: 1.042 MB / 0.9564 GB, free: 6.859 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.2389, allocations: 0.8553 MB / 0.9572 GB, free: 6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.239, allocations: 36 kB / 0.9573 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.2409, allocations: 0.7716 MB / 0.958 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.2412, allocations: 215 kB / 0.9582 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007088/0.2419, allocations: 0.5439 MB / 0.9587 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.2434, allocations: 1.418 MB / 0.9601 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2434, allocations: 0 / 0.9601 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2434, allocations: 0 / 0.9601 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.2434, allocations: 0 / 0.9601 GB, free: 3.012 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.001726/0.2452, allocations: 1.301 MB / 0.9614 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2452, allocations: 8.031 kB / 0.9614 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.2455, allocations: 135.4 kB / 0.9615 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.2468, allocations: 1.064 MB / 0.9626 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.2468, allocations: 54 kB / 0.9626 GB, free: 364 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.2469, allocations: 75.91 kB / 0.9627 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.2482, allocations: 0.7945 MB / 0.9635 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.2482, allocations: 0 / 0.9635 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.2483, allocations: 32 kB / 0.9635 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.2483, allocations: 16 kB / 0.9635 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2494, allocations: 0.5945 MB / 0.9641 GB, free: 14.81 MB / 0.6198 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.003831/0.2532, allocations: 3.544 MB / 0.9676 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.2538, allocations: 278.7 kB / 0.9678 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.2542, allocations: 188.8 kB / 0.968 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/0.2547, allocations: 0.6571 MB / 0.9687 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2547, allocations: 30.56 kB / 0.9687 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.444e-06/0.2547, allocations: 4 kB / 0.9687 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.001228/0.256, allocations: 0.5489 MB / 0.9692 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.256, allocations: 67.27 kB / 0.9693 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.2572, allocations: 0.9215 MB / 0.9702 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.2572, allocations: 33.7 kB / 0.9702 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.2576, allocations: 495.6 kB / 0.9707 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.2577, allocations: 110.4 kB / 0.9708 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.2578, allocations: 49.69 kB / 0.9708 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2579, allocations: 333.9 kB / 0.9712 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.2583, allocations: 177 kB / 0.9713 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.2588, allocations: 359 kB / 0.9717 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.2596, allocations: 0.5342 MB / 0.9722 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.2596, allocations: 4 kB / 0.9722 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001134/0.2607, allocations: 0.6332 MB / 0.9728 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2608, allocations: 4 kB / 0.9728 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2608, allocations: 8 kB / 0.9728 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2608, allocations: 8 kB / 0.9728 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.2613, allocations: 131.8 kB / 0.973 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.2613, allocations: 11.94 kB / 0.973 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.262, allocations: 127.1 kB / 0.9731 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.2621, allocations: 24 kB / 0.9731 GB, free: 4.969 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003853/0.2624, allocations: 273.6 kB / 0.9734 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.2626, allocations: 98.86 kB / 0.9735 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.2636, allocations: 0.499 MB / 0.974 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.2636, allocations: 7.984 kB / 0.974 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2636, allocations: 4 kB / 0.974 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007403/0.2644, allocations: 472.9 kB / 0.9744 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.2666, allocations: 1.369 MB / 0.9758 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2666, allocations: 0 / 0.9758 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.267, allocations: 80.05 kB / 0.9758 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.267, allocations: 7.938 kB / 0.9758 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.267, allocations: 11.98 kB / 0.9759 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.267, allocations: 4 kB / 0.9759 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.267, allocations: 0 / 0.9759 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.2684, allocations: 0.7851 MB / 0.9766 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.2687, allocations: 231.7 kB / 0.9768 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.2689, allocations: 8 kB / 0.9769 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.2694, allocations: 48.02 kB / 0.9769 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.2695, allocations: 31.95 kB / 0.9769 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.2695, allocations: 24.05 kB / 0.977 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008357/0.2704, allocations: 0.643 MB / 0.9776 GB, free: 224 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2704, allocations: 0 / 0.9776 GB, free: 224 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009135/0.2713, allocations: 331.4 kB / 0.9779 GB, free: 15.89 MB / 0.6355 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.0007647/0.2721, allocations: 375.9 kB / 0.9783 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000918/0.273, allocations: 448.7 kB / 0.9787 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.273, allocations: 0 / 0.9787 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.2734, allocations: 196.6 kB / 0.9789 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.2764, allocations: 0.5951 MB / 0.9795 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.2792, allocations: 1.97 MB / 0.9814 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.2799, allocations: 1.032 MB / 0.9824 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.2801, allocations: 87.41 kB / 0.9825 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.2801, allocations: 0 / 0.9825 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.0252/0.3053, allocations: 17.58 MB / 0.9996 GB, free: 9.668 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)