Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001263/0.001263, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00169/0.00169, allocations: 189 kB / 16.25 MB, free: 6.625 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.42/1.42, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3807/0.3807, allocations: 54.93 MB / 324.4 MB, free: 156 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 59.91 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1381, allocations: 59.59 MB / 454.4 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2491/0.3873, allocations: 59.98 MB / 0.5024 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01735/0.4047, allocations: 11.16 MB / 0.5133 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.4073, allocations: 47.69 kB / 0.5133 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.4096, allocations: 0.6256 MB / 0.5139 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00609/0.4157, allocations: 1.791 MB / 0.5157 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.4187, allocations: 0.933 MB / 0.5166 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004908/0.4236, allocations: 3.042 MB / 0.5195 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.4256, allocations: 1.068 MB / 0.5206 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.4297, allocations: 1.439 MB / 0.522 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.432, allocations: 1.002 MB / 0.523 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005726/0.4326, allocations: 124.2 kB / 0.5231 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.4368, allocations: 1.2 MB / 0.5243 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000705/0.4376, allocations: 309.1 kB / 0.5246 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.4397, allocations: 0.7364 MB / 0.5253 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.4451, allocations: 2.208 MB / 0.5274 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4452, allocations: 0 / 0.5274 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4452, allocations: 1.375 kB / 0.5274 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.27e-05/0.4453, allocations: 0 / 0.5274 GB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.005583/0.4508, allocations: 1.737 MB / 0.5291 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4509, allocations: 9.031 kB / 0.5291 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.4536, allocations: 461.7 kB / 0.5296 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.4569, allocations: 1.122 MB / 0.5307 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/0.4574, allocations: 123.9 kB / 0.5308 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.4576, allocations: 88.94 kB / 0.5309 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.461, allocations: 1.212 MB / 0.5321 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.461, allocations: 9.297 kB / 0.5321 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4611, allocations: 42.98 kB / 0.5321 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.4612, allocations: 28.75 kB / 0.5321 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.4641, allocations: 0.9845 MB / 0.5331 GB, free: 12.08 MB / 414.1 MB 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.008702/0.4728, allocations: 5.861 MB / 0.5388 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.4751, allocations: 0.6758 MB / 0.5395 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006535/0.4758, allocations: 265.3 kB / 0.5397 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.4761, allocations: 426.5 kB / 0.5401 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.4762, allocations: 43.45 kB / 0.5402 GB, free: 4.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.4762, allocations: 0 / 0.5402 GB, free: 4.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.007741/0.4839, allocations: 1.728 MB / 0.5419 GB, free: 3.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.4842, allocations: 166.2 kB / 0.542 GB, free: 2.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.486, allocations: 1.133 MB / 0.5431 GB, free: 1.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.4861, allocations: 37.7 kB / 0.5432 GB, free: 1.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.4866, allocations: 0.593 MB / 0.5438 GB, free: 1.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4867, allocations: 142 kB / 0.5439 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.4869, allocations: 146.1 kB / 0.544 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4871, allocations: 337.9 kB / 0.5444 GB, free: 432 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.4882, allocations: 339.2 kB / 0.5447 GB, free: 88 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.4893, allocations: 0.6321 MB / 0.5453 GB, free: 15.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.4914, allocations: 0.8201 MB / 0.5461 GB, free: 14.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4914, allocations: 7.938 kB / 0.5461 GB, free: 14.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003241/0.4946, allocations: 1.097 MB / 0.5472 GB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.4947, allocations: 12.03 kB / 0.5472 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4947, allocations: 8.703 kB / 0.5472 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009934/0.4957, allocations: 269.1 kB / 0.5474 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.4964, allocations: 163.7 kB / 0.5476 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.4978, allocations: 0.8535 MB / 0.5484 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.4995, allocations: 206.9 kB / 0.5486 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.4996, allocations: 36.8 kB / 0.5487 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001212/0.5008, allocations: 0.5246 MB / 0.5492 GB, free: 11.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/0.5018, allocations: 0.6009 MB / 0.5498 GB, free: 10.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001632/0.5035, allocations: 0.7835 MB / 0.5505 GB, free: 9.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.998e-06/0.5035, allocations: 1.172 kB / 0.5505 GB, free: 9.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.002804/0.5063, allocations: 1.046 MB / 0.5516 GB, free: 8.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5063, allocations: 11.94 kB / 0.5516 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5064, allocations: 9.297 kB / 0.5516 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008998/0.5073, allocations: 259.1 kB / 0.5518 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.5079, allocations: 159.8 kB / 0.552 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.5092, allocations: 0.8526 MB / 0.5528 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.5108, allocations: 171.7 kB / 0.553 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.5109, allocations: 35.98 kB / 0.553 GB, free: 7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (71): * Single equations (assignments): 70 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.5112, allocations: 228 kB / 0.5532 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.5114, allocations: 114.6 kB / 0.5533 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.5159, allocations: 1.12 MB / 0.5544 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.516, allocations: 11.98 kB / 0.5544 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.516, allocations: 0 / 0.5544 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.516, allocations: 3.984 kB / 0.5544 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.5199, allocations: 1.878 MB / 0.5563 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5199, allocations: 4 kB / 0.5563 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.5203, allocations: 67.88 kB / 0.5563 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008413/0.5212, allocations: 259.8 kB / 0.5566 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.5212, allocations: 11.98 kB / 0.5566 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.5226, allocations: 0.8412 MB / 0.5574 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.5226, allocations: 7.938 kB / 0.5574 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.5252, allocations: 0.95 MB / 0.5584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/0.526, allocations: 259.5 kB / 0.5586 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.5262, allocations: 11.98 kB / 0.5586 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5272, allocations: 104.6 kB / 0.5587 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.5273, allocations: 35.84 kB / 0.5588 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.5274, allocations: 27.97 kB / 0.5588 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.5286, allocations: 0.7796 MB / 0.5595 GB, free: 108 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5286, allocations: 0 / 0.5595 GB, free: 108 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001825/0.5304, allocations: 0.5536 MB / 0.5601 GB, free: 15.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007913/0.5312, allocations: 268.5 kB / 0.5603 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.5347, allocations: 1.191 MB / 0.5615 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.5347, allocations: 0 / 0.5615 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.5356, allocations: 320.8 kB / 0.5618 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.5385, allocations: 0.5591 MB / 0.5624 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006201/0.5447, allocations: 2.434 MB / 0.5647 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.5455, allocations: 1.062 MB / 0.5658 GB, free: 9.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.5467, allocations: 240.1 kB / 0.566 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.547, allocations: 87.34 kB / 0.5661 GB, free: 9.387 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.547, allocations: 0 / 0.5661 GB, free: 9.387 MB / 446.1 MB Notification: Performance of Templates: time 0.04247/0.5894, allocations: 24.13 MB / 0.5896 GB, free: 1.477 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)