Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.212/2.212, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001484/0.001484, allocations: 177.5 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.107/3.107, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.001852/0.001852, allocations: 97.92 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007867/0.000787, allocations: 12.38 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3436, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.053/2.397, allocations: 446.9 MB / 1.336 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005622/2.398, allocations: 102.8 kB / 1.336 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.493/11.89, allocations: 1.132 GB / 2.468 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.318e-06/11.89, allocations: 0 / 2.468 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006335/11.89, allocations: 49.88 kB / 2.468 GB, free: 133.7 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.01711/11.91, allocations: 2.574 MB / 2.471 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/11.91, allocations: 7.781 kB / 2.471 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006434/11.92, allocations: 459.2 kB / 2.471 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01907/11.93, allocations: 2.215 MB / 2.473 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/11.93, allocations: 88.72 kB / 2.473 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008014/11.94, allocations: 128.7 kB / 2.474 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006881/11.94, allocations: 1.32 MB / 2.475 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.523e-05/11.94, allocations: 7.219 kB / 2.475 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/11.94, allocations: 49.66 kB / 2.475 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.793e-05/11.94, allocations: 32.66 kB / 2.475 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006606/11.95, allocations: 0.9606 MB / 2.476 GB, free: 132 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.02466/11.97, allocations: 6.836 MB / 2.483 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005787/11.98, allocations: 1.273 MB / 2.484 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/11.98, allocations: 371.2 kB / 2.484 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/11.99, allocations: 2.871 MB / 2.487 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/12, allocations: 401.4 kB / 2.487 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00178/12, allocations: 92.72 kB / 2.487 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 1.059e-05/12, allocations: 3.969 kB / 2.487 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.008306/12.01, allocations: 1.198 MB / 2.489 GB, free: 125 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/12.01, allocations: 168.5 kB / 2.489 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005919/12.01, allocations: 1.508 MB / 2.49 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004607/12.01, allocations: 44.27 kB / 2.49 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/12.02, allocations: 0.8899 MB / 2.491 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000563/12.02, allocations: 217.2 kB / 2.491 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/12.02, allocations: 17.94 kB / 2.491 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001826/12.02, allocations: 347.3 kB / 2.492 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/12.02, allocations: 324 kB / 2.492 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/12.02, allocations: 0.7645 MB / 2.493 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/12.02, allocations: 461.5 kB / 2.493 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-05/12.02, allocations: 0 / 2.493 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007356/12.03, allocations: 1.216 MB / 2.494 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005733/12.03, allocations: 450.1 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.979e-05/12.03, allocations: 11.03 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.768e-05/12.03, allocations: 18.22 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/12.04, allocations: 240.9 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.23e-05/12.04, allocations: 26.72 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/12.04, allocations: 125 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/12.04, allocations: 56.47 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/12.04, allocations: 3.688 kB / 2.495 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005809/12.05, allocations: 1.047 MB / 2.496 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/12.05, allocations: 11.59 kB / 2.496 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/12.05, allocations: 14.09 kB / 2.496 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/12.05, allocations: 238.2 kB / 2.497 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-05/12.05, allocations: 29.34 kB / 2.497 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/12.05, allocations: 113.2 kB / 2.497 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/12.05, allocations: 59.45 kB / 2.497 GB, free: 122.6 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.002449/12.06, allocations: 489.8 kB / 2.497 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009202/12.06, allocations: 166.8 kB / 2.497 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/12.06, allocations: 1.135 MB / 2.498 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/12.06, allocations: 10.11 kB / 2.498 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/12.06, allocations: 6.281 kB / 2.498 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004528/12.07, allocations: 0.9634 MB / 2.499 GB, free: 121.7 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.0142/12.08, allocations: 2.319 MB / 2.502 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/12.08, allocations: 3.562 kB / 2.502 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/12.08, allocations: 132.7 kB / 2.502 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/12.08, allocations: 26.52 kB / 2.502 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/12.09, allocations: 23.62 kB / 2.502 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/12.09, allocations: 1.299 MB / 2.503 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/12.09, allocations: 0 / 2.503 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00797/12.1, allocations: 1.513 MB / 2.505 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/12.1, allocations: 339.7 kB / 2.505 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/12.1, allocations: 21.16 kB / 2.505 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/12.1, allocations: 94.73 kB / 2.505 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004217/12.1, allocations: 60.8 kB / 2.505 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/12.1, allocations: 29.17 kB / 2.505 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004909/12.11, allocations: 1.065 MB / 2.506 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.174e-06/12.11, allocations: 2.969 kB / 2.506 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009053/12.12, allocations: 0.9845 MB / 2.507 GB, free: 119.1 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.006259/12.12, allocations: 1.314 MB / 2.508 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008105/12.13, allocations: 1.543 MB / 2.51 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/12.13, allocations: 0 / 2.51 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002807/12.13, allocations: 0.51 MB / 2.51 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/12.14, allocations: 0.7435 MB / 2.511 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/12.16, allocations: 3.687 MB / 2.515 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/12.16, allocations: 1.372 MB / 2.516 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005468/12.17, allocations: 432.9 kB / 2.517 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/12.17, allocations: 135.3 kB / 2.517 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.034e-06/12.17, allocations: 0 / 2.517 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.1483/12.32, allocations: 35.28 MB / 2.551 GB, free: 114.5 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)