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.00109/0.00109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 191.7 kB / 16.25 MB, free: 6.629 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.414/1.414, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.759/1.759, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001384/0.001384, allocations: 65.92 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2429, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03929/0.2822, allocations: 41.26 MB / 0.8231 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.2959, allocations: 10.26 MB / 0.8332 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.2977, allocations: 47.69 kB / 0.8332 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.2994, allocations: 0.5518 MB / 0.8337 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.3039, allocations: 1.742 MB / 0.8354 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.3067, allocations: 1.104 MB / 0.8365 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.3109, allocations: 3.394 MB / 0.8398 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.3123, allocations: 1.052 MB / 0.8409 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.315, allocations: 1.25 MB / 0.8421 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.3161, allocations: 0.914 MB / 0.843 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3162, allocations: 100 kB / 0.8431 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3181, allocations: 0.8654 MB / 0.8439 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.3184, allocations: 287 kB / 0.8442 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00064/0.319, allocations: 0.626 MB / 0.8448 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.3216, allocations: 1.916 MB / 0.8467 GB, free: 12.33 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3216, allocations: 0 / 0.8467 GB, free: 12.33 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3216, allocations: 8 kB / 0.8467 GB, free: 12.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.513e-05/0.3217, allocations: 0 / 0.8467 GB, free: 12.32 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.002567/0.3242, allocations: 1.503 MB / 0.8481 GB, free: 10.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3243, allocations: 8.031 kB / 0.8482 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.3246, allocations: 139.4 kB / 0.8483 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.3262, allocations: 1.072 MB / 0.8493 GB, free: 9.504 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.3263, allocations: 65.92 kB / 0.8494 GB, free: 9.441 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3264, allocations: 72 kB / 0.8495 GB, free: 9.371 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3278, allocations: 0.7905 MB / 0.8502 GB, free: 8.543 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.3278, allocations: 0 / 0.8502 GB, free: 8.543 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/0.3279, allocations: 28 kB / 0.8503 GB, free: 8.516 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.3279, allocations: 24 kB / 0.8503 GB, free: 8.492 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3289, allocations: 0.5711 MB / 0.8508 GB, free: 7.918 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.003812/0.3328, allocations: 3.544 MB / 0.8543 GB, free: 4.145 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.3333, allocations: 254.4 kB / 0.8545 GB, free: 3.887 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.3337, allocations: 172.8 kB / 0.8547 GB, free: 3.715 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.3342, allocations: 0.661 MB / 0.8554 GB, free: 2.906 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3342, allocations: 38.55 kB / 0.8554 GB, free: 2.859 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.3342, allocations: 0 / 0.8554 GB, free: 2.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001148/0.3354, allocations: 0.5137 MB / 0.8559 GB, free: 2.34 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3354, allocations: 59.39 kB / 0.8559 GB, free: 2.27 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3365, allocations: 0.9254 MB / 0.8569 GB, free: 1.324 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.3365, allocations: 33.64 kB / 0.8569 GB, free: 1.285 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.3369, allocations: 499.6 kB / 0.8574 GB, free: 0.793 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.337, allocations: 118.4 kB / 0.8575 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.3372, allocations: 114.1 kB / 0.8576 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3373, allocations: 337.9 kB / 0.8579 GB, free: 224 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.3376, allocations: 161 kB / 0.8581 GB, free: 64 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.3381, allocations: 351.9 kB / 0.8584 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.3389, allocations: 0.5147 MB / 0.8589 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3389, allocations: 8 kB / 0.8589 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001043/0.3399, allocations: 0.6055 MB / 0.8595 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.34, allocations: 8 kB / 0.8595 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.34, allocations: 4 kB / 0.8595 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.34, allocations: 8 kB / 0.8595 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.3404, allocations: 127.8 kB / 0.8596 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.3405, allocations: 12.38 kB / 0.8596 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/0.3412, allocations: 111.2 kB / 0.8598 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.3412, allocations: 24 kB / 0.8598 GB, free: 14.15 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.0003726/0.3416, allocations: 282.6 kB / 0.86 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.3418, allocations: 98.78 kB / 0.8601 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009389/0.3427, allocations: 488.2 kB / 0.8606 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3427, allocations: 4 kB / 0.8606 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3428, allocations: 0 / 0.8606 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006821/0.3434, allocations: 448.9 kB / 0.861 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.3454, allocations: 1.358 MB / 0.8624 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3454, allocations: 4 kB / 0.8624 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3458, allocations: 76.05 kB / 0.8624 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.3458, allocations: 7.938 kB / 0.8624 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.3458, allocations: 15.98 kB / 0.8625 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3458, allocations: 4 kB / 0.8625 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3459, allocations: 0 / 0.8625 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.347, allocations: 0.7615 MB / 0.8632 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.3473, allocations: 231.7 kB / 0.8634 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3474, allocations: 8 kB / 0.8634 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.348, allocations: 55.91 kB / 0.8635 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.3481, allocations: 27.97 kB / 0.8635 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.3481, allocations: 23.92 kB / 0.8635 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007758/0.3489, allocations: 0.6391 MB / 0.8642 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3489, allocations: 4 kB / 0.8642 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000938/0.3499, allocations: 331.5 kB / 0.8645 GB, free: 9.148 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.0006836/0.3505, allocations: 377.7 kB / 0.8648 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008767/0.3514, allocations: 451.4 kB / 0.8653 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3514, allocations: 0 / 0.8653 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.3518, allocations: 185 kB / 0.8655 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.3542, allocations: 0.6181 MB / 0.8661 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.3568, allocations: 1.934 MB / 0.8679 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.3573, allocations: 1.032 MB / 0.869 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00074/0.3581, allocations: 212 kB / 0.8692 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3582, allocations: 83.42 kB / 0.8692 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.3583, allocations: 0 / 0.8692 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of Templates: time 0.03269/0.3909, allocations: 20.79 MB / 0.8895 GB, free: 15.74 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)