Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 252 MB / 267.9 MB, free: 10.74 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 173.4 kB / 327.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00082/0.00082, allocations: 93.98 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 13.12 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1792, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8169/0.9961, allocations: 447.3 MB / 1.338 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.9966, allocations: 103.2 kB / 1.338 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.462/4.459, allocations: 1.132 GB / 2.47 GB, free: 132 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/4.459, allocations: 2.344 kB / 2.47 GB, free: 132 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003047/4.459, allocations: 53.09 kB / 2.47 GB, free: 132 MB / 0.8855 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.006347/4.465, allocations: 2.548 MB / 2.473 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/4.465, allocations: 15.38 kB / 2.473 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/4.467, allocations: 458.5 kB / 2.473 GB, free: 131 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/4.472, allocations: 2.288 MB / 2.476 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/4.473, allocations: 92.56 kB / 2.476 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/4.473, allocations: 117.7 kB / 2.476 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/4.475, allocations: 1.333 MB / 2.477 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/4.475, allocations: 3.938 kB / 2.477 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/4.475, allocations: 46.91 kB / 2.477 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/4.475, allocations: 32.59 kB / 2.477 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/4.477, allocations: 0.9624 MB / 2.478 GB, free: 130.2 MB / 0.8855 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.00744/4.485, allocations: 6.843 MB / 2.485 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/4.486, allocations: 1.269 MB / 2.486 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/4.487, allocations: 369.3 kB / 2.486 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003605/4.49, allocations: 2.871 MB / 2.489 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006874/4.491, allocations: 407.2 kB / 2.49 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000525/4.492, allocations: 85.48 kB / 2.49 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.767e-06/4.492, allocations: 2.75 kB / 2.49 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002295/4.494, allocations: 1.197 MB / 2.491 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/4.494, allocations: 162.6 kB / 2.491 GB, free: 123 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/4.496, allocations: 1.518 MB / 2.492 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/4.496, allocations: 43.23 kB / 2.493 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/4.496, allocations: 0.8853 MB / 2.493 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/4.497, allocations: 214.1 kB / 2.494 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/4.497, allocations: 17.09 kB / 2.494 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/4.497, allocations: 355.9 kB / 2.494 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/4.497, allocations: 323.5 kB / 2.494 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/4.498, allocations: 0.7676 MB / 2.495 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/4.499, allocations: 1.043 MB / 2.496 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/4.499, allocations: 3.406 kB / 2.496 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001969/4.501, allocations: 1.211 MB / 2.497 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/4.502, allocations: 453.1 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/4.502, allocations: 11.56 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/4.502, allocations: 18.56 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/4.502, allocations: 241.1 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/4.503, allocations: 31.78 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/4.504, allocations: 118.5 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/4.504, allocations: 59.8 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-06/4.504, allocations: 5.719 kB / 2.498 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/4.505, allocations: 1.041 MB / 2.499 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/4.505, allocations: 13.78 kB / 2.499 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/4.505, allocations: 18.28 kB / 2.499 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/4.506, allocations: 238.9 kB / 2.499 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/4.506, allocations: 22.11 kB / 2.499 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/4.507, allocations: 116.7 kB / 2.499 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/4.507, allocations: 49.19 kB / 2.5 GB, free: 120.3 MB / 0.8855 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.0007389/4.508, allocations: 498.5 kB / 2.5 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/4.508, allocations: 163 kB / 2.5 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/4.51, allocations: 1.134 MB / 2.501 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/4.51, allocations: 6.812 kB / 2.501 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/4.51, allocations: 0 / 2.501 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/4.511, allocations: 0.9746 MB / 2.502 GB, free: 119.5 MB / 0.8855 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.003074/4.514, allocations: 2.313 MB / 2.504 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/4.514, allocations: 3.938 kB / 2.505 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/4.515, allocations: 133.4 kB / 2.505 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/4.515, allocations: 22.55 kB / 2.505 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/4.515, allocations: 27.02 kB / 2.505 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006373/4.516, allocations: 1.297 MB / 2.506 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/4.516, allocations: 0 / 2.506 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/4.518, allocations: 1.52 MB / 2.507 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/4.518, allocations: 332.6 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/4.519, allocations: 17.92 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/4.519, allocations: 96.17 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/4.52, allocations: 63.41 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/4.52, allocations: 25.56 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001174/4.521, allocations: 1.065 MB / 2.509 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.12e-07/4.521, allocations: 0 / 2.509 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002582/4.523, allocations: 0.9974 MB / 2.51 GB, free: 116.9 MB / 0.8855 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.00201/4.525, allocations: 1.312 MB / 2.511 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002388/4.528, allocations: 1.543 MB / 2.513 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/4.528, allocations: 0 / 2.513 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007975/4.529, allocations: 0.5017 MB / 2.513 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/4.532, allocations: 0.7257 MB / 2.514 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/4.536, allocations: 3.703 MB / 2.518 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/4.537, allocations: 1.366 MB / 2.519 GB, free: 114 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001639/4.539, allocations: 440.1 kB / 2.519 GB, free: 114 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/4.539, allocations: 141.5 kB / 2.519 GB, free: 114 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/4.539, allocations: 0 / 2.519 GB, free: 114 MB / 0.8855 GB Notification: Performance of Templates: time 0.04865/4.588, allocations: 35.74 MB / 2.554 GB, free: 112.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)