Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7853/0.7853, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 175.5 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.2 MB / 399.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009555, allocations: 90.08 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.646e-05, allocations: 2.844 kB / 0.5466 GB, free: 95.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 76.76 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7734/0.9487, allocations: 367.4 MB / 0.9803 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.949, allocations: 98.38 kB / 0.9804 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.567/2.516, allocations: 417.4 MB / 1.388 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.744e-06/2.516, allocations: 0 / 1.388 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000166/2.516, allocations: 31.38 kB / 1.388 GB, free: 123.3 MB / 0.6511 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.002837/2.519, allocations: 1.246 MB / 1.389 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/2.519, allocations: 8.031 kB / 1.389 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006158/2.519, allocations: 133.2 kB / 1.389 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04247/2.562, allocations: 22.42 MB / 1.411 GB, free: 99.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/2.562, allocations: 24 kB / 1.411 GB, free: 99.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/2.562, allocations: 40 kB / 1.411 GB, free: 99.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00107/2.563, allocations: 450.6 kB / 1.412 GB, free: 99.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/2.564, allocations: 0.6105 MB / 1.412 GB, free: 98.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/2.564, allocations: 7.844 kB / 1.412 GB, free: 98.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/2.565, allocations: 7.953 kB / 1.412 GB, free: 98.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/2.565, allocations: 19.94 kB / 1.412 GB, free: 98.7 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.004238/2.569, allocations: 3.778 MB / 1.416 GB, free: 94.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/2.569, allocations: 205.1 kB / 1.416 GB, free: 94.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/2.569, allocations: 98.2 kB / 1.416 GB, free: 94.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/2.57, allocations: 343.7 kB / 1.417 GB, free: 93.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/2.57, allocations: 41.94 kB / 1.417 GB, free: 93.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 2.484e-06/2.57, allocations: 4 kB / 1.417 GB, free: 93.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0006643/2.57, allocations: 263.2 kB / 1.417 GB, free: 93.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/2.57, allocations: 55.41 kB / 1.417 GB, free: 93.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/2.571, allocations: 0.6375 MB / 1.418 GB, free: 92.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/2.571, allocations: 29.7 kB / 1.418 GB, free: 92.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/2.572, allocations: 0.5252 MB / 1.418 GB, free: 92.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/2.572, allocations: 78.84 kB / 1.418 GB, free: 92.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/2.572, allocations: 0 / 1.418 GB, free: 92.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/2.572, allocations: 329.9 kB / 1.419 GB, free: 91.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/2.572, allocations: 96.86 kB / 1.419 GB, free: 91.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/2.572, allocations: 316.9 kB / 1.419 GB, free: 91.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/2.573, allocations: 168.6 kB / 1.419 GB, free: 91.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/2.573, allocations: 0 / 1.419 GB, free: 91.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007713/2.573, allocations: 455.1 kB / 1.42 GB, free: 90.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/2.573, allocations: 11.12 kB / 1.42 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/2.573, allocations: 4 kB / 1.42 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/2.573, allocations: 12 kB / 1.42 GB, free: 90.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/2.574, allocations: 119.8 kB / 1.42 GB, free: 90.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/2.574, allocations: 12 kB / 1.42 GB, free: 90.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/2.575, allocations: 89.17 kB / 1.42 GB, free: 90.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/2.575, allocations: 31.7 kB / 1.42 GB, free: 90.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001027/2.575, allocations: 123.2 kB / 1.42 GB, free: 90.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/2.575, allocations: 82.97 kB / 1.42 GB, free: 90.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/2.575, allocations: 288.7 kB / 1.42 GB, free: 90.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/2.575, allocations: 4 kB / 1.42 GB, free: 90.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/2.575, allocations: 2.844 kB / 1.42 GB, free: 90.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003413/2.576, allocations: 296.2 kB / 1.421 GB, free: 89.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/2.577, allocations: 0.9587 MB / 1.422 GB, free: 88.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/2.577, allocations: 0 / 1.422 GB, free: 88.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/2.578, allocations: 62.52 kB / 1.422 GB, free: 88.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/2.578, allocations: 0 / 1.422 GB, free: 88.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/2.578, allocations: 7.312 kB / 1.422 GB, free: 88.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/2.578, allocations: 0 / 1.422 GB, free: 88.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.578, allocations: 3.953 kB / 1.422 GB, free: 88.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/2.578, allocations: 0.491 MB / 1.422 GB, free: 88.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/2.578, allocations: 217.9 kB / 1.422 GB, free: 87.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/2.579, allocations: 3.75 kB / 1.422 GB, free: 87.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/2.579, allocations: 42.86 kB / 1.422 GB, free: 87.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/2.579, allocations: 15.97 kB / 1.422 GB, free: 87.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/2.579, allocations: 15.98 kB / 1.422 GB, free: 87.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005229/2.58, allocations: 487.1 kB / 1.423 GB, free: 87.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/2.58, allocations: 0 / 1.423 GB, free: 87.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00124/2.581, allocations: 354.2 kB / 1.423 GB, free: 87.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001148/2.582, allocations: 0.5653 MB / 1.424 GB, free: 86.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004497/2.583, allocations: 257.8 kB / 1.424 GB, free: 86.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.583, allocations: 2.906 kB / 1.424 GB, free: 86.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/2.583, allocations: 98.03 kB / 1.424 GB, free: 86.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/2.585, allocations: 451.6 kB / 1.425 GB, free: 85.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/2.587, allocations: 1.07 MB / 1.426 GB, free: 84.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/2.587, allocations: 1.049 MB / 1.427 GB, free: 83.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006912/2.588, allocations: 169.5 kB / 1.427 GB, free: 83.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/2.588, allocations: 63.42 kB / 1.427 GB, free: 83.53 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/2.588, allocations: 0 / 1.427 GB, free: 83.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.02645/2.615, allocations: 15.85 MB / 1.442 GB, free: 68.11 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)