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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00119/0.00119, allocations: 195.3 kB / 16.14 MB, free: 6.703 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.393/1.393, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3693/0.3693, allocations: 54.92 MB / 324.3 MB, free: 140 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.001367/0.001367, allocations: 67.89 kB / 394.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 59.59 MB / 454.2 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2965/0.4244, allocations: 60.12 MB / 0.5023 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.4425, allocations: 11.31 MB / 0.5133 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/0.4463, allocations: 44.09 kB / 0.5134 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.4508, allocations: 0.598 MB / 0.514 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008663/0.4595, allocations: 1.778 MB / 0.5157 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.4639, allocations: 0.8981 MB / 0.5166 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007941/0.4719, allocations: 3.97 MB / 0.5205 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.474, allocations: 0.9074 MB / 0.5213 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.4777, allocations: 1.243 MB / 0.5226 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.4803, allocations: 0.9773 MB / 0.5235 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.4806, allocations: 59.41 kB / 0.5236 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.4841, allocations: 1.1 MB / 0.5246 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.4845, allocations: 240.7 kB / 0.5249 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.4857, allocations: 0.6707 MB / 0.5255 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.4896, allocations: 2.166 MB / 0.5276 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4896, allocations: 0 / 0.5276 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4896, allocations: 0 / 0.5276 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.4896, allocations: 0.5625 kB / 0.5276 GB, free: 15.98 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.003569/0.4932, allocations: 1.74 MB / 0.5293 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4933, allocations: 12.41 kB / 0.5294 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.4959, allocations: 465.8 kB / 0.5298 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.4983, allocations: 1.11 MB / 0.5309 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.4987, allocations: 125.3 kB / 0.531 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.4988, allocations: 91.11 kB / 0.5311 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.5016, allocations: 1.216 MB / 0.5323 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.5017, allocations: 10.62 kB / 0.5323 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.5018, allocations: 39.69 kB / 0.5323 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.5018, allocations: 28.83 kB / 0.5324 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.5047, allocations: 0.9841 MB / 0.5333 GB, free: 12.12 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.00737/0.5121, allocations: 5.862 MB / 0.539 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.5143, allocations: 0.681 MB / 0.5397 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006606/0.515, allocations: 269.3 kB / 0.54 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003545/0.5153, allocations: 417.8 kB / 0.5404 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.5154, allocations: 42.88 kB / 0.5404 GB, free: 4.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.285e-06/0.5154, allocations: 0 / 0.5404 GB, free: 4.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.008009/0.5234, allocations: 1.732 MB / 0.5421 GB, free: 2.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.5235, allocations: 158.2 kB / 0.5422 GB, free: 2.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.5252, allocations: 1.144 MB / 0.5434 GB, free: 1.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.5253, allocations: 33.7 kB / 0.5434 GB, free: 1.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.5258, allocations: 0.589 MB / 0.544 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.5259, allocations: 146 kB / 0.5441 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.5262, allocations: 146.1 kB / 0.5442 GB, free: 460 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5264, allocations: 333.9 kB / 0.5446 GB, free: 120 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.5274, allocations: 339.3 kB / 0.5449 GB, free: 15.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.5287, allocations: 0.636 MB / 0.5455 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.5305, allocations: 0.818 MB / 0.5463 GB, free: 14.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5305, allocations: 0.875 kB / 0.5463 GB, free: 14.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002998/0.5335, allocations: 1.104 MB / 0.5474 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5336, allocations: 8 kB / 0.5474 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5336, allocations: 8 kB / 0.5474 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/0.5346, allocations: 261 kB / 0.5477 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.5353, allocations: 164.6 kB / 0.5478 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.5367, allocations: 0.8579 MB / 0.5486 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.5384, allocations: 214.9 kB / 0.5489 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/0.5385, allocations: 31.98 kB / 0.5489 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001238/0.5398, allocations: 0.5168 MB / 0.5494 GB, free: 10.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00112/0.5409, allocations: 0.6165 MB / 0.55 GB, free: 10.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001592/0.5425, allocations: 0.7721 MB / 0.5507 GB, free: 9.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.344e-06/0.5425, allocations: 4 kB / 0.5507 GB, free: 9.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.002687/0.5452, allocations: 1.046 MB / 0.5518 GB, free: 8.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5452, allocations: 11.94 kB / 0.5518 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5453, allocations: 8 kB / 0.5518 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009516/0.5462, allocations: 265.3 kB / 0.552 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.5469, allocations: 151.8 kB / 0.5522 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.5483, allocations: 0.8533 MB / 0.553 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.55, allocations: 171.7 kB / 0.5532 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.5501, allocations: 39.75 kB / 0.5532 GB, free: 6.691 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.0003368/0.5504, allocations: 228 kB / 0.5534 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.5506, allocations: 118.6 kB / 0.5536 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.555, allocations: 1.12 MB / 0.5546 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5551, allocations: 8 kB / 0.5547 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5551, allocations: 4 kB / 0.5547 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5551, allocations: 0 / 0.5547 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.5588, allocations: 1.869 MB / 0.5565 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5588, allocations: 0 / 0.5565 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.5591, allocations: 71.88 kB / 0.5566 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008368/0.56, allocations: 256.8 kB / 0.5568 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.56, allocations: 19.98 kB / 0.5568 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.5613, allocations: 0.8453 MB / 0.5576 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5613, allocations: 0 / 0.5576 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.5635, allocations: 0.9499 MB / 0.5586 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.564, allocations: 259.5 kB / 0.5588 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.5642, allocations: 16 kB / 0.5588 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5652, allocations: 107.9 kB / 0.5589 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.5653, allocations: 35.84 kB / 0.559 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.5654, allocations: 27.97 kB / 0.559 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001164/0.5666, allocations: 0.7757 MB / 0.5598 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5666, allocations: 0 / 0.5598 GB, free: 15.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001597/0.5682, allocations: 0.5614 MB / 0.5603 GB, free: 15.25 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.0005687/0.5688, allocations: 258.2 kB / 0.5605 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.5719, allocations: 1.18 MB / 0.5617 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5719, allocations: 0 / 0.5617 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008572/0.5728, allocations: 316.6 kB / 0.562 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.5754, allocations: 0.5553 MB / 0.5625 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.5809, allocations: 2.43 MB / 0.5649 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.5816, allocations: 1.058 MB / 0.566 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001394/0.583, allocations: 234.5 kB / 0.5662 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.5832, allocations: 87.36 kB / 0.5663 GB, free: 9.074 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5832, allocations: 0 / 0.5663 GB, free: 9.074 MB / 446.1 MB Notification: Performance of Templates: time 0.03903/0.6223, allocations: 23.37 MB / 0.5891 GB, free: 1.941 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)