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.5715/0.5715, allocations: 95.62 MB / 110.6 MB, free: 9.371 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.001127/0.001127, allocations: 168.2 kB / 134.2 MB, free: 2.254 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.523/1.523, allocations: 170.7 MB / 328.4 MB, free: 12.27 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.001716/0.001716, allocations: 115.3 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 8 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 61.54 MB / 0.512 GB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.54/1.678, allocations: 452.7 MB / 0.954 GB, free: 189.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004339/1.679, allocations: 90.11 kB / 0.9541 GB, free: 189.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9762/2.655, allocations: 330.7 MB / 1.277 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.815e-06/2.655, allocations: 4 kB / 1.277 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001326/2.655, allocations: 39.91 kB / 1.277 GB, free: 73.68 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.003477/2.659, allocations: 1.892 MB / 1.279 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/2.659, allocations: 11.98 kB / 1.279 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/2.659, allocations: 201.8 kB / 1.279 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/2.662, allocations: 1.557 MB / 1.281 GB, free: 69.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/2.662, allocations: 82 kB / 1.281 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/2.662, allocations: 104 kB / 1.281 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/2.664, allocations: 1.16 MB / 1.282 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/2.664, allocations: 4 kB / 1.282 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/2.664, allocations: 48 kB / 1.282 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/2.664, allocations: 24 kB / 1.282 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/2.666, allocations: 0.8516 MB / 1.283 GB, free: 67.62 MB / 0.5261 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.005509/2.671, allocations: 4.829 MB / 1.288 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/2.672, allocations: 0.6415 MB / 1.288 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/2.673, allocations: 1.025 MB / 1.289 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007079/2.674, allocations: 458.9 kB / 1.29 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 2.996e-06/2.674, allocations: 0 / 1.29 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.004965/2.679, allocations: 2.64 MB / 1.292 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/2.679, allocations: 269.6 kB / 1.292 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/2.68, allocations: 1.046 MB / 1.294 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/2.68, allocations: 45.7 kB / 1.294 GB, free: 56.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/2.681, allocations: 0.6805 MB / 1.294 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/2.681, allocations: 247.2 kB / 1.294 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/2.681, allocations: 16 kB / 1.294 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/2.681, allocations: 334 kB / 1.295 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/2.682, allocations: 289.8 kB / 1.295 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/2.682, allocations: 0.5875 MB / 1.296 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/2.683, allocations: 405.1 kB / 1.296 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/2.683, allocations: 3.953 kB / 1.296 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001838/2.685, allocations: 1.136 MB / 1.297 GB, free: 52.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005776/2.685, allocations: 2.446 MB / 1.3 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/2.685, allocations: 7.938 kB / 1.3 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/2.686, allocations: 166.5 kB / 1.3 GB, free: 49.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/2.687, allocations: 191.7 kB / 1.3 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/2.689, allocations: 3.572 MB / 1.303 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/2.69, allocations: 88.06 kB / 1.303 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/2.691, allocations: 47.92 kB / 1.303 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/2.691, allocations: 4 kB / 1.303 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001854/2.692, allocations: 1.086 MB / 1.305 GB, free: 44.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/2.692, allocations: 8.312 kB / 1.305 GB, free: 44.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/2.693, allocations: 134.4 kB / 1.305 GB, free: 44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/2.694, allocations: 199.5 kB / 1.305 GB, free: 43.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/2.697, allocations: 4.499 MB / 1.309 GB, free: 38.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/2.698, allocations: 83.94 kB / 1.309 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/2.698, allocations: 42.55 kB / 1.309 GB, free: 38.8 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 () * Number of clocked 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.0009928/2.699, allocations: 442.5 kB / 1.31 GB, free: 38.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/2.699, allocations: 150.2 kB / 1.31 GB, free: 38.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/2.701, allocations: 1.085 MB / 1.311 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/2.701, allocations: 12 kB / 1.311 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/2.701, allocations: 0 / 1.311 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/2.701, allocations: 3.984 kB / 1.311 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/2.705, allocations: 2.093 MB / 1.313 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/2.705, allocations: 0 / 1.313 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/2.706, allocations: 127.8 kB / 1.313 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/2.706, allocations: 113.6 kB / 1.313 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/2.706, allocations: 15.98 kB / 1.313 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/2.708, allocations: 2.046 MB / 1.315 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/2.708, allocations: 3.938 kB / 1.315 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/2.71, allocations: 1.407 MB / 1.317 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000781/2.711, allocations: 303.2 kB / 1.317 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/2.711, allocations: 19.95 kB / 1.317 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/2.712, allocations: 79.78 kB / 1.317 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/2.712, allocations: 52.42 kB / 1.317 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/2.712, allocations: 24 kB / 1.317 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001479/2.714, allocations: 0.8402 MB / 1.318 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.714, allocations: 0 / 1.318 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003082/2.717, allocations: 0.734 MB / 1.319 GB, free: 28.96 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) * Number of clocked states: 0 () * 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.001472/2.718, allocations: 466.7 kB / 1.319 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002934/2.721, allocations: 1.952 MB / 1.321 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/2.721, allocations: 4.906 kB / 1.321 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/2.722, allocations: 0.548 MB / 1.322 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/2.725, allocations: 0.6532 MB / 1.322 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/2.73, allocations: 2.921 MB / 1.325 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008937/2.731, allocations: 1.242 MB / 1.326 GB, free: 21.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001516/2.732, allocations: 291.6 kB / 1.327 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/2.733, allocations: 103.4 kB / 1.327 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of SimCode: time 9.51e-07/2.733, allocations: 0 / 1.327 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.3954/3.128, allocations: 26.49 MB / 1.353 GB, free: 94.39 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)