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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7895/0.7895, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 173 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009152/0.0009154, allocations: 94.34 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001765/0.001765, allocations: 273.5 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005208, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4208, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.786/1.207, allocations: 423.9 MB / 1.153 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.207, allocations: 105.8 kB / 1.154 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.102/5.309, allocations: 1.165 GB / 2.318 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.973e-06/5.309, allocations: 0 / 2.318 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003952/5.31, allocations: 66.31 kB / 2.318 GB, free: 81.79 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008129/5.318, allocations: 2.551 MB / 2.321 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/5.318, allocations: 7.531 kB / 2.321 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/5.32, allocations: 457.5 kB / 2.321 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/5.327, allocations: 2.288 MB / 2.323 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/5.327, allocations: 90.03 kB / 2.324 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004287/5.328, allocations: 124.4 kB / 2.324 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/5.331, allocations: 1.324 MB / 2.325 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/5.331, allocations: 6.75 kB / 2.325 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/5.331, allocations: 55.5 kB / 2.325 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/5.331, allocations: 30.44 kB / 2.325 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/5.333, allocations: 0.9643 MB / 2.326 GB, free: 79.65 MB / 0.6823 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.008995/5.342, allocations: 6.838 MB / 2.333 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/5.344, allocations: 1.267 MB / 2.334 GB, free: 74.94 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/5.344, allocations: 375.1 kB / 2.334 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004475/5.349, allocations: 2.876 MB / 2.337 GB, free: 73.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008032/5.35, allocations: 408.2 kB / 2.337 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008204/5.351, allocations: 91.89 kB / 2.338 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 7.354e-06/5.351, allocations: 0 / 2.338 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002667/5.353, allocations: 1.196 MB / 2.339 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/5.353, allocations: 166.1 kB / 2.339 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/5.356, allocations: 1.509 MB / 2.34 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.797e-05/5.356, allocations: 43.11 kB / 2.34 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007832/5.357, allocations: 0.8934 MB / 2.341 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/5.357, allocations: 217.4 kB / 2.341 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/5.357, allocations: 18.53 kB / 2.342 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/5.357, allocations: 346.2 kB / 2.342 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/5.358, allocations: 329 kB / 2.342 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000893/5.359, allocations: 0.7601 MB / 2.343 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/5.36, allocations: 1.05 MB / 2.344 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/5.36, allocations: 0 / 2.344 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002276/5.363, allocations: 1.212 MB / 2.345 GB, free: 70.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/5.363, allocations: 456.6 kB / 2.346 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/5.363, allocations: 11.72 kB / 2.346 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/5.363, allocations: 15.69 kB / 2.346 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/5.364, allocations: 247.6 kB / 2.346 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.887e-05/5.364, allocations: 26.77 kB / 2.346 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/5.365, allocations: 122.2 kB / 2.346 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/5.365, allocations: 61.19 kB / 2.346 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/5.365, allocations: 3.156 kB / 2.346 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001877/5.367, allocations: 1.04 MB / 2.347 GB, free: 69.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/5.367, allocations: 12.22 kB / 2.347 GB, free: 69.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/5.367, allocations: 17.44 kB / 2.347 GB, free: 69.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/5.368, allocations: 238.5 kB / 2.347 GB, free: 69.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/5.368, allocations: 28.02 kB / 2.347 GB, free: 69.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/5.369, allocations: 115.1 kB / 2.347 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/5.37, allocations: 54.45 kB / 2.347 GB, free: 69.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (121): * Single equations (assignments): 117 * 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.0009924/5.371, allocations: 490.2 kB / 2.348 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/5.371, allocations: 174.3 kB / 2.348 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/5.373, allocations: 1.125 MB / 2.349 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/5.373, allocations: 10.97 kB / 2.349 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/5.373, allocations: 1.875 kB / 2.349 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/5.375, allocations: 0.9756 MB / 2.35 GB, free: 68.89 MB / 0.6823 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.00418/5.379, allocations: 2.312 MB / 2.352 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/5.379, allocations: 6.562 kB / 2.352 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/5.38, allocations: 126.7 kB / 2.353 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/5.38, allocations: 26.02 kB / 2.353 GB, free: 68.42 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/5.38, allocations: 21.39 kB / 2.353 GB, free: 68.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007882/5.381, allocations: 1.309 MB / 2.354 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/5.381, allocations: 0 / 2.354 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/5.383, allocations: 1.51 MB / 2.355 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007719/5.384, allocations: 337.8 kB / 2.356 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/5.384, allocations: 14.81 kB / 2.356 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/5.386, allocations: 104.8 kB / 2.356 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/5.386, allocations: 63.75 kB / 2.356 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/5.386, allocations: 28.17 kB / 2.356 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001829/5.388, allocations: 1.066 MB / 2.357 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.172e-06/5.388, allocations: 3.172 kB / 2.357 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003677/5.391, allocations: 1.001 MB / 2.358 GB, free: 66.29 MB / 0.6823 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.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 (69): * Single equations (assignments): 60 * 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.002902/5.394, allocations: 1.317 MB / 2.359 GB, free: 65.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003018/5.397, allocations: 1.538 MB / 2.361 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/5.397, allocations: 5.5 kB / 2.361 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009372/5.398, allocations: 0.5132 MB / 2.361 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/5.402, allocations: 0.7285 MB / 2.362 GB, free: 65.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/5.409, allocations: 3.699 MB / 2.366 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/5.411, allocations: 1.376 MB / 2.367 GB, free: 79.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002438/5.414, allocations: 426.1 kB / 2.367 GB, free: 79.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/5.414, allocations: 135.3 kB / 2.367 GB, free: 79.06 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/5.414, allocations: 0 / 2.367 GB, free: 79.06 MB / 0.698 GB Notification: Performance of Templates: time 0.05927/5.474, allocations: 35.95 MB / 2.402 GB, free: 70.74 MB / 0.698 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)