Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.758/0.758, allocations: 128.7 MB / 143.7 MB, free: 2.316 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.001149/0.001149, allocations: 188.2 kB / 173.8 MB, free: 6.125 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.814/1.814, allocations: 205.4 MB / 409 MB, free: 10.51 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.001625/0.001625, allocations: 90.75 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 9.5 kB / 0.5603 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 76.77 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.38, allocations: 416.8 MB / 1.042 GB, free: 209.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.381, allocations: 98.02 kB / 1.042 GB, free: 209.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.652/5.032, allocations: 1.127 GB / 2.169 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.743e-06/5.032, allocations: 0 / 2.169 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002402/5.032, allocations: 58.05 kB / 2.169 GB, free: 76.41 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.006627/5.039, allocations: 2.596 MB / 2.172 GB, free: 74.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/5.039, allocations: 8.031 kB / 2.172 GB, free: 74.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/5.042, allocations: 467.3 kB / 2.172 GB, free: 73.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00629/5.048, allocations: 2.405 MB / 2.175 GB, free: 71.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.85e-05/5.048, allocations: 94.3 kB / 2.175 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/5.048, allocations: 127 kB / 2.175 GB, free: 71.35 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/5.051, allocations: 1.39 MB / 2.176 GB, free: 69.85 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/5.051, allocations: 3.938 kB / 2.176 GB, free: 69.85 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/5.051, allocations: 52 kB / 2.176 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/5.051, allocations: 34.73 kB / 2.176 GB, free: 69.77 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/5.053, allocations: 1.004 MB / 2.177 GB, free: 68.76 MB / 0.6667 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.009687/5.063, allocations: 7.247 MB / 2.184 GB, free: 61.04 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/5.065, allocations: 1.28 MB / 2.186 GB, free: 59.66 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003976/5.069, allocations: 2.688 MB / 2.188 GB, free: 56.69 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/5.07, allocations: 449.6 kB / 2.189 GB, free: 56.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005431/5.071, allocations: 83.34 kB / 2.189 GB, free: 56.15 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 3.136e-06/5.071, allocations: 3.938 kB / 2.189 GB, free: 56.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.00275/5.074, allocations: 1.223 MB / 2.19 GB, free: 54.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/5.074, allocations: 192.5 kB / 2.19 GB, free: 54.65 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/5.075, allocations: 1.39 MB / 2.191 GB, free: 53.26 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/5.075, allocations: 41.7 kB / 2.191 GB, free: 53.21 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/5.076, allocations: 0.9189 MB / 2.192 GB, free: 52.29 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/5.076, allocations: 215.6 kB / 2.193 GB, free: 52.08 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/5.076, allocations: 20 kB / 2.193 GB, free: 52.06 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/5.076, allocations: 345.9 kB / 2.193 GB, free: 51.72 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/5.077, allocations: 334.1 kB / 2.193 GB, free: 51.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008926/5.078, allocations: 0.7966 MB / 2.194 GB, free: 50.37 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/5.079, allocations: 472.5 kB / 2.194 GB, free: 49.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/5.079, allocations: 8 kB / 2.195 GB, free: 49.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002094/5.081, allocations: 1.254 MB / 2.196 GB, free: 48.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001034/5.082, allocations: 5.011 MB / 2.201 GB, free: 43.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/5.082, allocations: 16 kB / 2.201 GB, free: 43.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/5.082, allocations: 16 kB / 2.201 GB, free: 43.17 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/5.083, allocations: 259.5 kB / 2.201 GB, free: 42.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/5.083, allocations: 23.94 kB / 2.201 GB, free: 42.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/5.084, allocations: 119.8 kB / 2.201 GB, free: 42.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/5.084, allocations: 63.97 kB / 2.201 GB, free: 42.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/5.085, allocations: 0 / 2.201 GB, free: 42.71 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001706/5.086, allocations: 1.044 MB / 2.202 GB, free: 41.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/5.086, allocations: 19.98 kB / 2.202 GB, free: 41.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/5.086, allocations: 27.52 kB / 2.202 GB, free: 41.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/5.087, allocations: 247.5 kB / 2.202 GB, free: 41.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/5.087, allocations: 19.94 kB / 2.202 GB, free: 41.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/5.088, allocations: 112 kB / 2.203 GB, free: 41.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/5.088, allocations: 59.98 kB / 2.203 GB, free: 41.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.001034/5.089, allocations: 493.4 kB / 2.203 GB, free: 40.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/5.09, allocations: 169.8 kB / 2.203 GB, free: 40.54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/5.092, allocations: 1.11 MB / 2.204 GB, free: 39.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/5.092, allocations: 4 kB / 2.204 GB, free: 39.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/5.092, allocations: 8 kB / 2.204 GB, free: 39.39 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001408/5.093, allocations: 0.9476 MB / 2.205 GB, free: 38.38 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.003522/5.097, allocations: 2.261 MB / 2.207 GB, free: 36.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/5.097, allocations: 0 / 2.207 GB, free: 36.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/5.097, allocations: 139.8 kB / 2.208 GB, free: 35.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/5.098, allocations: 24.84 kB / 2.208 GB, free: 35.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/5.098, allocations: 15.98 kB / 2.208 GB, free: 35.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008143/5.098, allocations: 1.299 MB / 2.209 GB, free: 34.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/5.098, allocations: 3.688 kB / 2.209 GB, free: 34.44 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/5.101, allocations: 1.476 MB / 2.21 GB, free: 32.92 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/5.101, allocations: 346.5 kB / 2.211 GB, free: 32.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/5.102, allocations: 19.95 kB / 2.211 GB, free: 32.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/5.103, allocations: 95.91 kB / 2.211 GB, free: 32.45 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/5.103, allocations: 48.48 kB / 2.211 GB, free: 32.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/5.103, allocations: 31.97 kB / 2.211 GB, free: 32.37 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001487/5.104, allocations: 1.118 MB / 2.212 GB, free: 31.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.02e-07/5.104, allocations: 0 / 2.212 GB, free: 31.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003534/5.108, allocations: 1.021 MB / 2.213 GB, free: 30.21 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002554/5.11, allocations: 1.369 MB / 2.214 GB, free: 29.15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002897/5.113, allocations: 1.551 MB / 2.216 GB, free: 27.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.113, allocations: 4 kB / 2.216 GB, free: 27.56 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009151/5.114, allocations: 498 kB / 2.216 GB, free: 27.06 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/5.118, allocations: 0.7488 MB / 2.217 GB, free: 26.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/5.123, allocations: 3.69 MB / 2.221 GB, free: 22.63 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/5.124, allocations: 1.404 MB / 2.222 GB, free: 21.19 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002038/5.126, allocations: 442 kB / 2.222 GB, free: 20.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/5.126, allocations: 139.4 kB / 2.223 GB, free: 20.66 MB / 0.6667 GB Notification: Performance of SimCode: time 1.583e-06/5.126, allocations: 0 / 2.223 GB, free: 20.66 MB / 0.6667 GB Notification: Performance of Templates: time 0.06469/5.191, allocations: 36.67 MB / 2.258 GB, free: 0.5078 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)