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.5654/0.5654, allocations: 94.78 MB / 102.2 MB, free: 10.14 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.001134/0.001134, allocations: 171.3 kB / 125.5 MB, free: 11.88 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.758/1.758, allocations: 170.6 MB / 319.4 MB, free: 9.332 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.001815/0.001815, allocations: 110.1 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.059e-05, allocations: 4 kB / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 61.54 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.69/1.855, allocations: 451.9 MB / 0.94 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.855, allocations: 84.84 kB / 0.9401 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.016/2.871, allocations: 327.6 MB / 1.26 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/2.871, allocations: 0 / 1.26 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001336/2.872, allocations: 47.14 kB / 1.26 GB, free: 53.59 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.002728/2.874, allocations: 1.636 MB / 1.262 GB, free: 51.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/2.874, allocations: 8.031 kB / 1.262 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/2.875, allocations: 199.9 kB / 1.262 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/2.878, allocations: 1.544 MB / 1.263 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/2.878, allocations: 35.98 kB / 1.263 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/2.878, allocations: 63.91 kB / 1.263 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001118/2.879, allocations: 0.7069 MB / 1.264 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/2.88, allocations: 0.9666 MB / 1.265 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/2.88, allocations: 4 kB / 1.265 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/2.88, allocations: 0 / 1.265 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/2.88, allocations: 28.69 kB / 1.265 GB, free: 48.27 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.00537/2.886, allocations: 5.104 MB / 1.27 GB, free: 42.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/2.886, allocations: 0.5395 MB / 1.271 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/2.887, allocations: 282.5 kB / 1.271 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007801/2.888, allocations: 1.009 MB / 1.272 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/2.888, allocations: 397.8 kB / 1.272 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=66): time 2.465e-06/2.888, allocations: 448 / 1.272 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.00494/2.893, allocations: 1.977 MB / 1.274 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/2.893, allocations: 277 kB / 1.274 GB, free: 38.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/2.894, allocations: 0.8605 MB / 1.275 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/2.894, allocations: 29.7 kB / 1.275 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/2.895, allocations: 0.7028 MB / 1.276 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/2.895, allocations: 228.6 kB / 1.276 GB, free: 36.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/2.895, allocations: 4 kB / 1.276 GB, free: 36.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/2.895, allocations: 338 kB / 1.277 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/2.895, allocations: 242.6 kB / 1.277 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/2.896, allocations: 0.532 MB / 1.277 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/2.897, allocations: 440.9 kB / 1.278 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/2.897, allocations: 0 / 1.278 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002014/2.899, allocations: 1.071 MB / 1.279 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005571/2.9, allocations: 2.428 MB / 1.281 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/2.9, allocations: 4 kB / 1.281 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/2.9, allocations: 126.5 kB / 1.281 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/2.901, allocations: 199.6 kB / 1.281 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/2.903, allocations: 3.444 MB / 1.285 GB, free: 26.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/2.904, allocations: 71.91 kB / 1.285 GB, free: 26.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/2.904, allocations: 36 kB / 1.285 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/2.904, allocations: 4 kB / 1.285 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001882/2.906, allocations: 0.9901 MB / 1.286 GB, free: 25.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/2.906, allocations: 8.312 kB / 1.286 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/2.906, allocations: 130.6 kB / 1.286 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/2.907, allocations: 187.7 kB / 1.286 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/2.91, allocations: 4.269 MB / 1.29 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/2.911, allocations: 71.84 kB / 1.29 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/2.911, allocations: 51.88 kB / 1.29 GB, free: 20.64 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.0003085/2.911, allocations: 158.5 kB / 1.291 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/2.911, allocations: 130.4 kB / 1.291 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/2.914, allocations: 0.9312 MB / 1.292 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/2.914, allocations: 8 kB / 1.292 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/2.914, allocations: 0 / 1.292 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/2.914, allocations: 7.922 kB / 1.292 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/2.917, allocations: 1.9 MB / 1.294 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/2.917, allocations: 3.984 kB / 1.294 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/2.917, allocations: 123.8 kB / 1.294 GB, free: 17.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/2.918, allocations: 77.67 kB / 1.294 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/2.918, allocations: 8 kB / 1.294 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/2.919, allocations: 2.004 MB / 1.296 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/2.919, allocations: 0 / 1.296 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/2.921, allocations: 1.307 MB / 1.297 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/2.922, allocations: 291.4 kB / 1.297 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/2.922, allocations: 4 kB / 1.297 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/2.923, allocations: 59.84 kB / 1.297 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/2.923, allocations: 44.69 kB / 1.297 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/2.923, allocations: 31.98 kB / 1.297 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00103/2.924, allocations: 0.6488 MB / 1.298 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/2.924, allocations: 4 kB / 1.298 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003023/2.927, allocations: 0.7171 MB / 1.299 GB, free: 11.95 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.00153/2.928, allocations: 457 kB / 1.299 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002778/2.931, allocations: 1.801 MB / 1.301 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/2.931, allocations: 4.062 kB / 1.301 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000633/2.932, allocations: 0.4915 MB / 1.301 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/2.935, allocations: 0.5405 MB / 1.302 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/2.938, allocations: 1.791 MB / 1.304 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/2.939, allocations: 1.236 MB / 1.305 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00144/2.94, allocations: 357.5 kB / 1.305 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/2.941, allocations: 79.41 kB / 1.305 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/2.941, allocations: 4 kB / 1.305 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.435/3.376, allocations: 24.99 MB / 1.33 GB, free: 83.69 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)