Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.0008882, allocations: 97.64 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009127/0.0009126, allocations: 173.1 kB / 16.27 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.59/1.59, allocations: 252 MB / 0.5105 GB, free: 4.734 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006056/0.0006057, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.5683, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07056/0.6389, allocations: 59.76 MB / 0.7871 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.6564, allocations: 11.8 MB / 0.7986 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.6589, allocations: 51.62 kB / 0.7986 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.6612, allocations: 0.5477 MB / 0.7992 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006371/0.6676, allocations: 1.789 MB / 0.8009 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.6712, allocations: 1.103 MB / 0.802 GB, free: 0 / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005407/0.6766, allocations: 3.878 MB / 0.8058 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.6785, allocations: 0.9019 MB / 0.8067 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.6813, allocations: 1.108 MB / 0.8077 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.6833, allocations: 0.8631 MB / 0.8086 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.6836, allocations: 43.94 kB / 0.8086 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.6867, allocations: 1.294 MB / 0.8099 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004414/0.6872, allocations: 214.9 kB / 0.8101 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.6886, allocations: 0.635 MB / 0.8107 GB, free: 7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004399/0.693, allocations: 2.185 MB / 0.8129 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.693, allocations: 0 / 0.8129 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.693, allocations: 0 / 0.8129 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.092e-05/0.6931, allocations: 0 / 0.8129 GB, free: 4.809 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003589/0.6967, allocations: 1.493 MB / 0.8143 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6967, allocations: 8.031 kB / 0.8143 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.6993, allocations: 474.8 kB / 0.8148 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.7022, allocations: 1.128 MB / 0.8159 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/0.7027, allocations: 133.9 kB / 0.816 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.7029, allocations: 87.94 kB / 0.8161 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.7055, allocations: 1.011 MB / 0.8171 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.7055, allocations: 0 / 0.8171 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7057, allocations: 32 kB / 0.8171 GB, free: 308 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.7057, allocations: 20 kB / 0.8171 GB, free: 288 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.7085, allocations: 0.9251 MB / 0.818 GB, free: 15.36 MB / 0.6387 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.007989/0.7165, allocations: 4.658 MB / 0.8226 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/0.7203, allocations: 0.943 MB / 0.8235 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008301/0.7212, allocations: 338 kB / 0.8238 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/0.722, allocations: 0.9029 MB / 0.8247 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.722, allocations: 39 kB / 0.8247 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.722, allocations: 0 / 0.8247 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.008758/0.7308, allocations: 2.022 MB / 0.8267 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.7309, allocations: 55.84 kB / 0.8268 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.7331, allocations: 1.063 MB / 0.8278 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.955e-05/0.7333, allocations: 37.7 kB / 0.8278 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005644/0.7338, allocations: 0.5118 MB / 0.8283 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.734, allocations: 165.7 kB / 0.8285 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.7341, allocations: 49.69 kB / 0.8285 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7343, allocations: 334 kB / 0.8289 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.7353, allocations: 336.9 kB / 0.8292 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.7365, allocations: 0.5367 MB / 0.8297 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.7384, allocations: 0.741 MB / 0.8304 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.7384, allocations: 0 / 0.8304 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004195/0.7426, allocations: 1.264 MB / 0.8317 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.7427, allocations: 201.2 kB / 0.8319 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7428, allocations: 4 kB / 0.8319 GB, free: 380 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.744, allocations: 336.5 kB / 0.8322 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.7447, allocations: 135.8 kB / 0.8323 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.7463, allocations: 0.9386 MB / 0.8332 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.7479, allocations: 187.2 kB / 0.8334 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.748, allocations: 43.92 kB / 0.8335 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.748, allocations: 4 kB / 0.8335 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003651/0.7517, allocations: 1.108 MB / 0.8345 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7517, allocations: 4 kB / 0.8345 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.7529, allocations: 327.9 kB / 0.8349 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.7535, allocations: 135.8 kB / 0.835 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.7552, allocations: 0.9309 MB / 0.8359 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.7566, allocations: 175.3 kB / 0.8361 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.7567, allocations: 35.92 kB / 0.8361 GB, free: 11.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.7573, allocations: 349 kB / 0.8364 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.7576, allocations: 110.6 kB / 0.8365 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.762, allocations: 1.252 MB / 0.8378 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.762, allocations: 4 kB / 0.8378 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.762, allocations: 0 / 0.8378 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.762, allocations: 7.969 kB / 0.8378 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.768, allocations: 2.318 MB / 0.84 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.768, allocations: 0 / 0.84 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.7683, allocations: 71.89 kB / 0.8401 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.7695, allocations: 334.4 kB / 0.8404 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.7695, allocations: 15.98 kB / 0.8404 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.771, allocations: 0.9617 MB / 0.8414 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.7711, allocations: 4.031 kB / 0.8414 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/0.776, allocations: 1.461 MB / 0.8428 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.7767, allocations: 291.4 kB / 0.8431 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.777, allocations: 20 kB / 0.8431 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.778, allocations: 107.8 kB / 0.8432 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.7781, allocations: 43.84 kB / 0.8432 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.7782, allocations: 23.98 kB / 0.8433 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001518/0.7797, allocations: 0.7469 MB / 0.844 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7798, allocations: 0 / 0.844 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001892/0.7817, allocations: 0.5613 MB / 0.8445 GB, free: 3.109 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009161/0.7826, allocations: 371 kB / 0.8449 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00357/0.7862, allocations: 1.225 MB / 0.8461 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7862, allocations: 0 / 0.8461 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.7872, allocations: 391 kB / 0.8465 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/0.7907, allocations: 0.5189 MB / 0.847 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.7971, allocations: 2.551 MB / 0.8495 GB, free: 14.01 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008953/0.7981, allocations: 1.062 MB / 0.8505 GB, free: 12.92 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001266/0.7994, allocations: 232.8 kB / 0.8507 GB, free: 12.69 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.7996, allocations: 83.41 kB / 0.8508 GB, free: 12.61 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.7996, allocations: 0 / 0.8508 GB, free: 12.61 MB / 0.67 GB Notification: Performance of Templates: time 0.04305/0.8427, allocations: 24.45 MB / 0.8747 GB, free: 4.465 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: