Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed") translateModel(Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5995/0.5995, allocations: 94.69 MB / 107.2 MB, free: 5.184 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0012/0.0012, allocations: 171.5 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.704/1.704, allocations: 170.5 MB / 324.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001761/0.001761, allocations: 116.2 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.891e-05/4.895e-05, allocations: 7.938 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5083, allocations: 61.5 MB / 0.5054 GB, free: 49.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.793, allocations: 452.6 MB / 0.9474 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.793, allocations: 87.7 kB / 0.9474 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.034/2.827, allocations: 329.2 MB / 1.269 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/2.828, allocations: 0 / 1.269 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001485/2.828, allocations: 36 kB / 1.269 GB, free: 45.43 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002901/2.831, allocations: 1.642 MB / 1.271 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/2.831, allocations: 8.031 kB / 1.271 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/2.831, allocations: 205.8 kB / 1.271 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/2.834, allocations: 1.533 MB / 1.272 GB, free: 41.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/2.834, allocations: 82 kB / 1.272 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/2.834, allocations: 107.9 kB / 1.272 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/2.837, allocations: 1.119 MB / 1.274 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/2.837, allocations: 3.938 kB / 1.274 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/2.837, allocations: 44 kB / 1.274 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/2.837, allocations: 24.69 kB / 1.274 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/2.838, allocations: 0.7848 MB / 1.274 GB, free: 39.74 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.006701/2.845, allocations: 4.821 MB / 1.279 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/2.846, allocations: 0.5829 MB / 1.28 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/2.846, allocations: 317.7 kB / 1.28 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/2.847, allocations: 1.009 MB / 1.281 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/2.848, allocations: 423 kB / 1.281 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 3.797e-06/2.848, allocations: 4 kB / 1.281 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.003713/2.851, allocations: 1.963 MB / 1.283 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/2.852, allocations: 269.6 kB / 1.284 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/2.853, allocations: 1.049 MB / 1.285 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/2.853, allocations: 37.7 kB / 1.285 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/2.853, allocations: 0.6843 MB / 1.285 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/2.854, allocations: 246.6 kB / 1.286 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/2.854, allocations: 16 kB / 1.286 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000119/2.854, allocations: 341.9 kB / 1.286 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/2.854, allocations: 257.9 kB / 1.286 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/2.855, allocations: 0.5526 MB / 1.287 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/2.855, allocations: 373.8 kB / 1.287 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/2.855, allocations: 4 kB / 1.287 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001551/2.857, allocations: 1.077 MB / 1.288 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007203/2.858, allocations: 2.446 MB / 1.29 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/2.858, allocations: 8 kB / 1.29 GB, free: 22.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/2.858, allocations: 166.5 kB / 1.291 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/2.859, allocations: 195.7 kB / 1.291 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/2.861, allocations: 3.519 MB / 1.294 GB, free: 18.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009899/2.862, allocations: 91.89 kB / 1.294 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.248e-05/2.862, allocations: 36 kB / 1.294 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/2.862, allocations: 9.188 kB / 1.294 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/2.864, allocations: 1.031 MB / 1.295 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/2.864, allocations: 8 kB / 1.295 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/2.864, allocations: 138.9 kB / 1.296 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/2.865, allocations: 187.8 kB / 1.296 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/2.867, allocations: 4.445 MB / 1.3 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009725/2.868, allocations: 91.84 kB / 1.3 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-05/2.868, allocations: 35.98 kB / 1.3 GB, free: 11.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002474/2.869, allocations: 205.1 kB / 1.3 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/2.869, allocations: 142.5 kB / 1.301 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/2.871, allocations: 1.029 MB / 1.302 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/2.871, allocations: 12 kB / 1.302 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/2.871, allocations: 3.953 kB / 1.302 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/2.871, allocations: 3.984 kB / 1.302 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/2.873, allocations: 2.023 MB / 1.304 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.873, allocations: 0 / 1.304 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/2.874, allocations: 123.8 kB / 1.304 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/2.874, allocations: 113.6 kB / 1.304 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/2.874, allocations: 23.98 kB / 1.304 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/2.876, allocations: 2.026 MB / 1.306 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/2.876, allocations: 0 / 1.306 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/2.877, allocations: 1.325 MB / 1.307 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/2.878, allocations: 299.3 kB / 1.307 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/2.878, allocations: 20 kB / 1.307 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/2.879, allocations: 71.84 kB / 1.307 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/2.879, allocations: 48.69 kB / 1.307 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/2.879, allocations: 31.98 kB / 1.307 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001133/2.88, allocations: 0.8193 MB / 1.308 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.01e-07/2.88, allocations: 0 / 1.308 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002531/2.883, allocations: 0.734 MB / 1.309 GB, free: 2.371 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000946/2.884, allocations: 483.8 kB / 1.309 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3628/3.247, allocations: 1.902 MB / 1.311 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/3.247, allocations: 0.9375 kB / 1.311 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/3.248, allocations: 0.5196 MB / 1.312 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/3.252, allocations: 0.6471 MB / 1.312 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/3.255, allocations: 1.83 MB / 1.314 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/3.256, allocations: 1.243 MB / 1.315 GB, free: 79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001866/3.258, allocations: 382 kB / 1.316 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/3.258, allocations: 88.28 kB / 1.316 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.844e-06/3.258, allocations: 0 / 1.316 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.06557/3.324, allocations: 29.32 MB / 1.345 GB, free: 77.93 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe 2>&1)