Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7888/0.7888, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 193.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.957/1.957, allocations: 221.3 MB / 441.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 94.98 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 271.6 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.406e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.5994, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9712/1.571, allocations: 412.7 MB / 1.167 GB, free: 10.78 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.571, allocations: 96 kB / 1.167 GB, free: 10.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.045/6.616, allocations: 1.183 GB / 2.35 GB, free: 88.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.372e-06/6.616, allocations: 0 / 2.35 GB, free: 88.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002368/6.616, allocations: 54.83 kB / 2.35 GB, free: 88.42 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004242/6.62, allocations: 2.023 MB / 2.352 GB, free: 87.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/6.62, allocations: 12.34 kB / 2.352 GB, free: 87.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/6.622, allocations: 451.6 kB / 2.353 GB, free: 87.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005569/6.628, allocations: 2.249 MB / 2.355 GB, free: 87.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/6.628, allocations: 105 kB / 2.355 GB, free: 87.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/6.628, allocations: 121 kB / 2.355 GB, free: 87.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/6.63, allocations: 1.214 MB / 2.356 GB, free: 86.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/6.63, allocations: 8.875 kB / 2.356 GB, free: 86.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/6.63, allocations: 53.55 kB / 2.356 GB, free: 86.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/6.63, allocations: 37.83 kB / 2.356 GB, free: 86.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/6.632, allocations: 0.8378 MB / 2.357 GB, free: 86.74 MB / 0.7136 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.008444/6.64, allocations: 6.931 MB / 2.364 GB, free: 82.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/6.641, allocations: 1.127 MB / 2.365 GB, free: 82.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/6.642, allocations: 330.2 kB / 2.365 GB, free: 82.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004773/6.647, allocations: 3.025 MB / 2.368 GB, free: 80.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/6.647, allocations: 349.2 kB / 2.369 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006868/6.648, allocations: 90.48 kB / 2.369 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/6.648, allocations: 0 / 2.369 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62): time 0.001177/6.649, allocations: 0.6744 MB / 2.37 GB, free: 79.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/6.649, allocations: 114.5 kB / 2.37 GB, free: 79.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/6.651, allocations: 1.313 MB / 2.371 GB, free: 79.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/6.651, allocations: 49.62 kB / 2.371 GB, free: 79.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006516/6.652, allocations: 0.877 MB / 2.372 GB, free: 79.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/6.652, allocations: 220.2 kB / 2.372 GB, free: 79.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/6.652, allocations: 20.72 kB / 2.372 GB, free: 79.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/6.652, allocations: 345.9 kB / 2.372 GB, free: 78.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/6.653, allocations: 256.7 kB / 2.373 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/6.653, allocations: 0.6762 MB / 2.373 GB, free: 78.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/6.654, allocations: 382.7 kB / 2.374 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/6.654, allocations: 3.625 kB / 2.374 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001571/6.655, allocations: 1.075 MB / 2.375 GB, free: 78.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009481/6.656, allocations: 4.45 MB / 2.379 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/6.656, allocations: 11.47 kB / 2.379 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/6.656, allocations: 21.78 kB / 2.379 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009/6.657, allocations: 247.9 kB / 2.379 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/6.657, allocations: 18 kB / 2.379 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/6.659, allocations: 125.5 kB / 2.379 GB, free: 73.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/6.659, allocations: 49.55 kB / 2.379 GB, free: 73.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/6.659, allocations: 7.625 kB / 2.379 GB, free: 73.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/6.66, allocations: 0.9041 MB / 2.38 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/6.66, allocations: 11.62 kB / 2.38 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/6.66, allocations: 21.33 kB / 2.38 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/6.661, allocations: 239.4 kB / 2.381 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/6.661, allocations: 28.31 kB / 2.381 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/6.662, allocations: 115.2 kB / 2.381 GB, free: 73.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/6.662, allocations: 57.59 kB / 2.381 GB, free: 73.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * 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.0002346/6.663, allocations: 169.5 kB / 2.381 GB, free: 73.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/6.663, allocations: 162.1 kB / 2.381 GB, free: 73.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/6.665, allocations: 0.9551 MB / 2.382 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/6.665, allocations: 11.72 kB / 2.382 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/6.665, allocations: 1.719 kB / 2.382 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009316/6.666, allocations: 0.793 MB / 2.383 GB, free: 72.73 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.003585/6.669, allocations: 2.195 MB / 2.385 GB, free: 72.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/6.669, allocations: 0 / 2.385 GB, free: 72.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/6.67, allocations: 140.8 kB / 2.385 GB, free: 72.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/6.67, allocations: 27.56 kB / 2.385 GB, free: 72.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/6.67, allocations: 24.25 kB / 2.385 GB, free: 72.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008849/6.671, allocations: 1.307 MB / 2.386 GB, free: 71.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/6.671, allocations: 2.406 kB / 2.386 GB, free: 71.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/6.673, allocations: 1.323 MB / 2.388 GB, free: 70.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/6.674, allocations: 344.8 kB / 2.388 GB, free: 70.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/6.674, allocations: 17.84 kB / 2.388 GB, free: 70.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/6.675, allocations: 102.1 kB / 2.388 GB, free: 70.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/6.675, allocations: 54.62 kB / 2.388 GB, free: 70.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/6.675, allocations: 33.05 kB / 2.388 GB, free: 70.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001596/6.677, allocations: 1.059 MB / 2.389 GB, free: 70.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/6.677, allocations: 1.781 kB / 2.389 GB, free: 70.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003716/6.681, allocations: 0.9741 MB / 2.39 GB, free: 70.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002741/6.683, allocations: 1.265 MB / 2.392 GB, free: 70 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002343/6.686, allocations: 1.352 MB / 2.393 GB, free: 69.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/6.686, allocations: 2.844 kB / 2.393 GB, free: 69.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007109/6.686, allocations: 466.3 kB / 2.393 GB, free: 69.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/6.69, allocations: 0.7243 MB / 2.394 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/6.695, allocations: 2.305 MB / 2.396 GB, free: 69.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007985/6.696, allocations: 1.391 MB / 2.398 GB, free: 68.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002732/6.698, allocations: 0.6121 MB / 2.398 GB, free: 68.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/6.699, allocations: 114.9 kB / 2.398 GB, free: 68.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/6.699, allocations: 0 / 2.398 GB, free: 68.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.06181/6.761, allocations: 39.31 MB / 2.437 GB, free: 66 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)