Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001433/0.001434, allocations: 197.5 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 286.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002776, allocations: 106.7 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1895, allocations: 89.15 MB / 0.693 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4168/0.6063, allocations: 76.46 MB / 0.7676 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02479/0.6312, allocations: 18.77 MB / 0.786 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005114/0.6363, allocations: 103.7 kB / 0.7861 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004651/0.641, allocations: 1.082 MB / 0.7871 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.6528, allocations: 3.401 MB / 0.7905 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005719/0.6585, allocations: 1.919 MB / 0.7923 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009755/0.6683, allocations: 6.719 MB / 0.7989 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003482/0.6718, allocations: 2.06 MB / 0.8009 GB, free: 2.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00671/0.6785, allocations: 2.347 MB / 0.8032 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.6826, allocations: 1.822 MB / 0.805 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.6832, allocations: 197.2 kB / 0.8052 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005431/0.6886, allocations: 1.645 MB / 0.8068 GB, free: 432 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007402/0.6894, allocations: 0.5355 MB / 0.8073 GB, free: 112 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002397/0.6918, allocations: 1.252 MB / 0.8085 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.6986, allocations: 3.718 MB / 0.8121 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6987, allocations: 0 / 0.8121 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6987, allocations: 0 / 0.8121 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.152e-05/0.6988, allocations: 4 kB / 0.8121 GB, free: 14.12 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005834/0.7046, allocations: 2.718 MB / 0.8148 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.7047, allocations: 9 kB / 0.8148 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.7055, allocations: 267.3 kB / 0.8151 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.709, allocations: 1.969 MB / 0.817 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.7091, allocations: 105.7 kB / 0.8171 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.7093, allocations: 148.5 kB / 0.8172 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.7124, allocations: 1.514 MB / 0.8187 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.7125, allocations: 9.125 kB / 0.8187 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.7126, allocations: 61.89 kB / 0.8188 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.887e-05/0.7127, allocations: 40.34 kB / 0.8188 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.7156, allocations: 1.121 MB / 0.8199 GB, free: 9.234 MB / 0.5606 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.01064/0.7263, allocations: 7.583 MB / 0.8273 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009586/0.7273, allocations: 482 kB / 0.8278 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.7279, allocations: 337 kB / 0.8281 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.729, allocations: 1.148 MB / 0.8292 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.729, allocations: 39.53 kB / 0.8293 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.946e-06/0.729, allocations: 0 / 0.8293 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002432/0.7315, allocations: 0.9691 MB / 0.8302 GB, free: 204 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.7315, allocations: 57 kB / 0.8303 GB, free: 140 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.734, allocations: 1.756 MB / 0.832 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.7341, allocations: 43.23 kB / 0.832 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/0.735, allocations: 0.9312 MB / 0.8329 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.7352, allocations: 219.6 kB / 0.8331 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.7355, allocations: 229.2 kB / 0.8333 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7357, allocations: 353.8 kB / 0.8337 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/0.7364, allocations: 328 kB / 0.834 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.7375, allocations: 0.683 MB / 0.8347 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.7391, allocations: 1.016 MB / 0.8357 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.7392, allocations: 8.719 kB / 0.8357 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002485/0.7416, allocations: 1.211 MB / 0.8368 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7417, allocations: 9.344 kB / 0.8369 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7417, allocations: 11.25 kB / 0.8369 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.7417, allocations: 16.94 kB / 0.8369 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.7427, allocations: 294.7 kB / 0.8372 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/0.7427, allocations: 24.61 kB / 0.8372 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.7445, allocations: 236.1 kB / 0.8374 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.7446, allocations: 50.16 kB / 0.8375 GB, free: 11.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.000785/0.7454, allocations: 440.6 kB / 0.8379 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.7458, allocations: 190.5 kB / 0.8381 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.7475, allocations: 0.8728 MB / 0.8389 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7475, allocations: 7.938 kB / 0.8389 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.7475, allocations: 3.984 kB / 0.8389 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/0.7488, allocations: 0.7918 MB / 0.8397 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.753, allocations: 2.431 MB / 0.8421 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.7531, allocations: 2.906 kB / 0.8421 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.7538, allocations: 189.5 kB / 0.8423 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.7539, allocations: 5.906 kB / 0.8423 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.7539, allocations: 13.56 kB / 0.8423 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.7539, allocations: 8.891 kB / 0.8423 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/0.7539, allocations: 2.625 kB / 0.8423 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.7563, allocations: 1.336 MB / 0.8436 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007945/0.7571, allocations: 368.4 kB / 0.8439 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.7574, allocations: 16.14 kB / 0.844 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.7585, allocations: 112.2 kB / 0.8441 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.7586, allocations: 52.72 kB / 0.8441 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.7587, allocations: 38.88 kB / 0.8442 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001876/0.7606, allocations: 1.219 MB / 0.8453 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7606, allocations: 0 / 0.8453 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002067/0.7627, allocations: 0.6357 MB / 0.846 GB, free: 5.082 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001268/0.7639, allocations: 0.5876 MB / 0.8465 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.7662, allocations: 0.8901 MB / 0.8474 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7663, allocations: 4.5 kB / 0.8474 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.767, allocations: 362.9 kB / 0.8478 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005842/0.7729, allocations: 1.202 MB / 0.8489 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/0.7791, allocations: 3.757 MB / 0.8526 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.7802, allocations: 1.409 MB / 0.854 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001873/0.7821, allocations: 380.5 kB / 0.8543 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.7825, allocations: 143.4 kB / 0.8545 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/0.7825, allocations: 0 / 0.8545 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.07543/0.8579, allocations: 40.8 MB / 0.8943 GB, free: 4.266 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)