Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.756/1.756, allocations: 297.8 MB / 313.7 MB, free: 28 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 183 kB / 384.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 0.6626 GB, free: 4.164 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008177/0.0008175, allocations: 99.11 kB / 0.7808 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004542, allocations: 16 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8044, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9712/1.776, allocations: 410.8 MB / 1.427 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.776, allocations: 101.7 kB / 1.428 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/3.244, allocations: 440.9 MB / 1.858 GB, free: 164.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.415e-06/3.244, allocations: 1.125 kB / 1.858 GB, free: 164.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002451/3.244, allocations: 35.8 kB / 1.858 GB, free: 164.8 MB / 0.948 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.005034/3.249, allocations: 1.442 MB / 1.86 GB, free: 164 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/3.249, allocations: 8.719 kB / 1.86 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/3.25, allocations: 133.2 kB / 1.86 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03033/3.28, allocations: 11.99 MB / 1.871 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/3.28, allocations: 57.72 kB / 1.871 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/3.281, allocations: 73.75 kB / 1.872 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/3.283, allocations: 0.779 MB / 1.872 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/3.283, allocations: 5.094 kB / 1.872 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-05/3.283, allocations: 30 kB / 1.872 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/3.283, allocations: 18.72 kB / 1.872 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/3.284, allocations: 0.5656 MB / 1.873 GB, free: 159.5 MB / 0.948 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.006097/3.291, allocations: 3.538 MB / 1.876 GB, free: 157 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/3.291, allocations: 363.8 kB / 1.877 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/3.292, allocations: 203.3 kB / 1.877 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/3.292, allocations: 0.6647 MB / 1.878 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/3.292, allocations: 41.19 kB / 1.878 GB, free: 155.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.126e-06/3.292, allocations: 0 / 1.878 GB, free: 155.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001602/3.294, allocations: 0.5658 MB / 1.878 GB, free: 155.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/3.294, allocations: 58.09 kB / 1.878 GB, free: 155.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/3.296, allocations: 0.907 MB / 1.879 GB, free: 155.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/3.296, allocations: 37.61 kB / 1.879 GB, free: 155.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/3.296, allocations: 496.3 kB / 1.88 GB, free: 154.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/3.296, allocations: 118.8 kB / 1.88 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/3.296, allocations: 11.91 kB / 1.88 GB, free: 154.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/3.296, allocations: 324 kB / 1.88 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/3.297, allocations: 159.9 kB / 1.88 GB, free: 154.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/3.297, allocations: 386 kB / 1.881 GB, free: 154.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/3.298, allocations: 0.513 MB / 1.881 GB, free: 153.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/3.298, allocations: 0 / 1.881 GB, free: 153.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00124/3.299, allocations: 0.6083 MB / 1.882 GB, free: 153.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/3.299, allocations: 7.75 kB / 1.882 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/3.299, allocations: 7.438 kB / 1.882 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/3.299, allocations: 7.562 kB / 1.882 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/3.3, allocations: 119.1 kB / 1.882 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/3.3, allocations: 10.69 kB / 1.882 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/3.301, allocations: 111 kB / 1.882 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/3.301, allocations: 24.72 kB / 1.882 GB, free: 153.4 MB / 0.948 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 (57): * Single equations (assignments): 57 * 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.0005594/3.301, allocations: 274.5 kB / 1.882 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/3.302, allocations: 104.1 kB / 1.882 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/3.303, allocations: 0.5114 MB / 1.883 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/3.303, allocations: 3.5 kB / 1.883 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/3.303, allocations: 0 / 1.883 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006826/3.303, allocations: 485.5 kB / 1.883 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/3.306, allocations: 1.46 MB / 1.885 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/3.306, allocations: 3.938 kB / 1.885 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/3.306, allocations: 81.14 kB / 1.885 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/3.306, allocations: 3.938 kB / 1.885 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/3.306, allocations: 7.75 kB / 1.885 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/3.306, allocations: 10.14 kB / 1.885 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/3.306, allocations: 3.594 kB / 1.885 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/3.308, allocations: 0.823 MB / 1.886 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/3.309, allocations: 235.6 kB / 1.886 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/3.309, allocations: 10.64 kB / 1.886 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/3.31, allocations: 60.38 kB / 1.886 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/3.31, allocations: 29.56 kB / 1.886 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/3.31, allocations: 14.69 kB / 1.886 GB, free: 151.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009081/3.311, allocations: 0.6441 MB / 1.887 GB, free: 151 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/3.311, allocations: 0 / 1.887 GB, free: 151 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001589/3.312, allocations: 360.3 kB / 1.887 GB, free: 150.9 MB / 0.948 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 (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.001275/3.314, allocations: 0.5461 MB / 1.887 GB, free: 150.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009059/3.315, allocations: 418.9 kB / 1.888 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/3.315, allocations: 3.688 kB / 1.888 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/3.315, allocations: 205 kB / 1.888 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/3.318, allocations: 0.6098 MB / 1.889 GB, free: 150.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/3.321, allocations: 1.965 MB / 1.891 GB, free: 149.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/3.322, allocations: 1.042 MB / 1.892 GB, free: 148.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001048/3.323, allocations: 205.4 kB / 1.892 GB, free: 148.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/3.323, allocations: 77.28 kB / 1.892 GB, free: 148.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/3.323, allocations: 0 / 1.892 GB, free: 148.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03934/3.363, allocations: 22.65 MB / 1.914 GB, free: 141.7 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)