Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.986/3.986, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.002304/0.002304, allocations: 182.4 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.007/4.007, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001576/0.001576, allocations: 98.95 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008078/0.0008081, allocations: 13.06 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.357, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.033/2.39, allocations: 440.3 MB / 1.329 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005781/2.391, allocations: 106.9 kB / 1.33 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 10.03/12.42, allocations: 1.097 GB / 2.427 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.038e-06/12.42, allocations: 0 / 2.427 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006156/12.42, allocations: 60 kB / 2.427 GB, free: 124.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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.0163/12.44, allocations: 2.674 MB / 2.429 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/12.44, allocations: 8.938 kB / 2.429 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004743/12.44, allocations: 382.8 kB / 2.43 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/12.46, allocations: 2.358 MB / 2.432 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/12.46, allocations: 98.02 kB / 2.432 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008749/12.46, allocations: 140 kB / 2.432 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/12.47, allocations: 1.429 MB / 2.434 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.854e-05/12.47, allocations: 9.719 kB / 2.434 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/12.47, allocations: 51.84 kB / 2.434 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/12.47, allocations: 32.25 kB / 2.434 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00742/12.47, allocations: 1.032 MB / 2.435 GB, free: 123.1 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.02513/12.5, allocations: 7.09 MB / 2.442 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005191/12.5, allocations: 1.299 MB / 2.443 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/12.51, allocations: 399.3 kB / 2.443 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009299/12.52, allocations: 2.221 MB / 2.445 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002499/12.52, allocations: 442.9 kB / 2.446 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002162/12.52, allocations: 84.73 kB / 2.446 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 1.29e-05/12.52, allocations: 0 / 2.446 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.008212/12.53, allocations: 1.286 MB / 2.447 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/12.53, allocations: 163.1 kB / 2.447 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/12.54, allocations: 1.438 MB / 2.449 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004621/12.54, allocations: 43.55 kB / 2.449 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/12.54, allocations: 0.8997 MB / 2.45 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000694/12.54, allocations: 240.4 kB / 2.45 GB, free: 116 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/12.54, allocations: 16.09 kB / 2.45 GB, free: 116 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001826/12.54, allocations: 346.8 kB / 2.45 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/12.54, allocations: 350 kB / 2.451 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/12.54, allocations: 0.7299 MB / 2.451 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/12.55, allocations: 472.3 kB / 2.452 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/12.55, allocations: 7.281 kB / 2.452 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006982/12.55, allocations: 1.224 MB / 2.453 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005119/12.55, allocations: 395.1 kB / 2.453 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-05/12.55, allocations: 13.12 kB / 2.453 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.499e-05/12.55, allocations: 11.12 kB / 2.453 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/12.56, allocations: 246.2 kB / 2.454 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.861e-05/12.56, allocations: 24.45 kB / 2.454 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/12.56, allocations: 127.6 kB / 2.454 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005461/12.56, allocations: 56.44 kB / 2.454 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/12.56, allocations: 5.875 kB / 2.454 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005438/12.57, allocations: 1.056 MB / 2.455 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.067e-05/12.57, allocations: 14.69 kB / 2.455 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/12.57, allocations: 17.03 kB / 2.455 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/12.57, allocations: 242 kB / 2.455 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.442e-05/12.57, allocations: 21.16 kB / 2.455 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/12.57, allocations: 127.6 kB / 2.455 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/12.57, allocations: 54.14 kB / 2.455 GB, free: 114.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.002571/12.58, allocations: 0.492 MB / 2.456 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/12.58, allocations: 170.2 kB / 2.456 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/12.58, allocations: 1.161 MB / 2.457 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-05/12.58, allocations: 17.42 kB / 2.457 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/12.58, allocations: 0 / 2.457 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004397/12.59, allocations: 0.8603 MB / 2.458 GB, free: 113.9 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.01327/12.6, allocations: 2.444 MB / 2.46 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/12.6, allocations: 0 / 2.46 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/12.6, allocations: 154.5 kB / 2.46 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/12.6, allocations: 26.3 kB / 2.46 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/12.61, allocations: 27.34 kB / 2.461 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/12.61, allocations: 1.29 MB / 2.462 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/12.61, allocations: 4.578 kB / 2.462 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007314/12.61, allocations: 1.59 MB / 2.463 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/12.62, allocations: 333.3 kB / 2.464 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009435/12.62, allocations: 20.66 kB / 2.464 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/12.62, allocations: 107.1 kB / 2.464 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/12.62, allocations: 64.03 kB / 2.464 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/12.62, allocations: 34.81 kB / 2.464 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003636/12.63, allocations: 0.9562 MB / 2.465 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.273e-06/12.63, allocations: 0 / 2.465 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008884/12.63, allocations: 1.085 MB / 2.466 GB, free: 111.4 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,hea.vol.dynBal.U) * 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 (76): * Single equations (assignments): 68 * 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.004689/12.64, allocations: 1.119 MB / 2.467 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007365/12.65, allocations: 1.591 MB / 2.469 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/12.65, allocations: 3.719 kB / 2.469 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/12.65, allocations: 0.539 MB / 2.469 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009191/12.66, allocations: 0.7649 MB / 2.47 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/12.67, allocations: 3.828 MB / 2.474 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/12.67, allocations: 1.409 MB / 2.475 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004782/12.68, allocations: 418.1 kB / 2.475 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/12.68, allocations: 137.4 kB / 2.475 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.704e-06/12.68, allocations: 0 / 2.475 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.139/12.82, allocations: 35.72 MB / 2.51 GB, free: 107 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)