Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.936/2.936, allocations: 287.5 MB / 302.4 MB, free: 8.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 182.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008993/0.000899, allocations: 102.1 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004981, allocations: 12.02 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2034, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1008/0.3042, allocations: 71.14 MB / 1.048 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03659/0.3408, allocations: 17.56 MB / 1.065 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.3452, allocations: 91.38 kB / 1.065 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.3497, allocations: 0.885 MB / 1.066 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.6405/0.9903, allocations: 2.808 MB / 1.069 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007594/0.9979, allocations: 1.508 MB / 1.07 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01422/1.012, allocations: 7.573 MB / 1.078 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/1.017, allocations: 1.454 MB / 1.079 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007171/1.024, allocations: 1.861 MB / 1.081 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005354/1.029, allocations: 1.592 MB / 1.082 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008892/1.03, allocations: 78.34 kB / 1.082 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006084/1.036, allocations: 0.8997 MB / 1.083 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002339/1.039, allocations: 392.1 kB / 1.084 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002489/1.041, allocations: 490.3 kB / 1.084 GB, free: 29.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006414/1.048, allocations: 2.669 MB / 1.087 GB, free: 29.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.048, allocations: 0 / 1.087 GB, free: 29.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.998e-06/1.048, allocations: 0 / 1.087 GB, free: 29.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001235/1.048, allocations: 0 / 1.087 GB, free: 29.62 MB / 0.698 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.009012/1.057, allocations: 2.313 MB / 1.089 GB, free: 28.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/1.057, allocations: 13.72 kB / 1.089 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/1.06, allocations: 264.5 kB / 1.089 GB, free: 28.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009315/1.069, allocations: 1.868 MB / 1.091 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/1.069, allocations: 107.5 kB / 1.091 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000689/1.07, allocations: 146.6 kB / 1.091 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007748/1.078, allocations: 1.531 MB / 1.093 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.503e-05/1.078, allocations: 5.719 kB / 1.093 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000358/1.078, allocations: 58.44 kB / 1.093 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/1.079, allocations: 37.64 kB / 1.093 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007016/1.086, allocations: 1.158 MB / 1.094 GB, free: 27.6 MB / 0.698 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.02241/1.108, allocations: 7.582 MB / 1.101 GB, free: 23.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.111, allocations: 491.8 kB / 1.102 GB, free: 23.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/1.113, allocations: 351.8 kB / 1.102 GB, free: 23.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/1.115, allocations: 1.154 MB / 1.103 GB, free: 21.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.693e-05/1.115, allocations: 55.89 kB / 1.103 GB, free: 21.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 5.43e-06/1.115, allocations: 0 / 1.103 GB, free: 21.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.006099/1.121, allocations: 1.021 MB / 1.104 GB, free: 21.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/1.121, allocations: 58.56 kB / 1.104 GB, free: 21.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/1.127, allocations: 1.727 MB / 1.106 GB, free: 21.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003258/1.127, allocations: 41.92 kB / 1.106 GB, free: 21.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/1.128, allocations: 0.9173 MB / 1.107 GB, free: 21.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/1.129, allocations: 224.1 kB / 1.107 GB, free: 21.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/1.129, allocations: 21.06 kB / 1.107 GB, free: 21.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.129, allocations: 343.3 kB / 1.108 GB, free: 20.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/1.131, allocations: 346.1 kB / 1.108 GB, free: 20.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/1.133, allocations: 0.7173 MB / 1.109 GB, free: 20.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/1.136, allocations: 459.7 kB / 1.109 GB, free: 20.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/1.136, allocations: 3.406 kB / 1.109 GB, free: 20.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005679/1.142, allocations: 1.251 MB / 1.11 GB, free: 20.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/1.142, allocations: 11.48 kB / 1.11 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.142, allocations: 13.28 kB / 1.11 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.744e-05/1.142, allocations: 15.94 kB / 1.11 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/1.145, allocations: 316.3 kB / 1.111 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.705e-05/1.145, allocations: 27.2 kB / 1.111 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/1.149, allocations: 244.4 kB / 1.111 GB, free: 20.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003028/1.15, allocations: 59.42 kB / 1.111 GB, free: 20.02 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001755/1.152, allocations: 436.3 kB / 1.111 GB, free: 19.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000868/1.152, allocations: 190.6 kB / 1.112 GB, free: 19.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/1.158, allocations: 0.9062 MB / 1.112 GB, free: 19.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/1.158, allocations: 10.75 kB / 1.113 GB, free: 19.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.158, allocations: 4 kB / 1.113 GB, free: 19.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/1.161, allocations: 0.834 MB / 1.113 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007637/1.168, allocations: 2.473 MB / 1.116 GB, free: 18.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.168, allocations: 2.031 kB / 1.116 GB, free: 18.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.17, allocations: 205 kB / 1.116 GB, free: 18.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/1.17, allocations: 4.219 kB / 1.116 GB, free: 18.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/1.17, allocations: 25.09 kB / 1.116 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/1.17, allocations: 5.219 kB / 1.116 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.17, allocations: 3.328 kB / 1.116 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/1.174, allocations: 1.396 MB / 1.117 GB, free: 18.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.176, allocations: 400.8 kB / 1.118 GB, free: 18.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006813/1.177, allocations: 13.59 kB / 1.118 GB, free: 18.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.179, allocations: 129.4 kB / 1.118 GB, free: 18.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.18, allocations: 54.48 kB / 1.118 GB, free: 18.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.18, allocations: 34.97 kB / 1.118 GB, free: 18.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002984/1.183, allocations: 1.196 MB / 1.119 GB, free: 18.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.21e-07/1.183, allocations: 0 / 1.119 GB, free: 18.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003218/1.186, allocations: 0.6332 MB / 1.12 GB, free: 18.16 MB / 0.698 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 (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.001624/1.188, allocations: 0.5573 MB / 1.12 GB, free: 17.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00305/1.191, allocations: 0.8462 MB / 1.121 GB, free: 17.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/1.191, allocations: 9.281 kB / 1.121 GB, free: 17.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.192, allocations: 373.2 kB / 1.121 GB, free: 17.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/1.203, allocations: 1.215 MB / 1.123 GB, free: 17.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008616/1.212, allocations: 3.672 MB / 1.126 GB, free: 15.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.213, allocations: 1.406 MB / 1.128 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002751/1.216, allocations: 382.5 kB / 1.128 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/1.217, allocations: 141.5 kB / 1.128 GB, free: 15.06 MB / 0.698 GB Notification: Performance of SimCode: time 2.234e-06/1.217, allocations: 0 / 1.128 GB, free: 15.06 MB / 0.698 GB Notification: Performance of Templates: time 0.1014/1.318, allocations: 38.77 MB / 1.166 GB, free: 3.367 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)