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.0009435/0.0009437, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00808/0.00808, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.461/1.461, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3924/0.3924, allocations: 55.02 MB / 325.8 MB, free: 0.5703 MB / 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.0005852/0.0005856, allocations: 12 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3465, allocations: 60.71 MB / 458 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04748/0.394, allocations: 59.05 MB / 0.5049 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.4117, allocations: 11.17 MB / 0.5158 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.4148, allocations: 45.09 kB / 0.5158 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.418, allocations: 0.5872 MB / 0.5164 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007954/0.426, allocations: 1.788 MB / 0.5182 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.4293, allocations: 0.9081 MB / 0.5191 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006331/0.4357, allocations: 3.96 MB / 0.5229 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.4373, allocations: 0.879 MB / 0.5238 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.4401, allocations: 1.217 MB / 0.525 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.4419, allocations: 0.9304 MB / 0.5259 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.4421, allocations: 45.38 kB / 0.5259 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.4449, allocations: 1.086 MB / 0.527 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.4453, allocations: 223.7 kB / 0.5272 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.4464, allocations: 0.6734 MB / 0.5278 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.4496, allocations: 2.113 MB / 0.5299 GB, free: 360 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4496, allocations: 4 kB / 0.5299 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4496, allocations: 3.938 kB / 0.5299 GB, free: 352 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.4496, allocations: 0 / 0.5299 GB, free: 352 kB / 398.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.003026/0.4527, allocations: 1.484 MB / 0.5314 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4527, allocations: 10.22 kB / 0.5314 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.4553, allocations: 496.8 kB / 0.5319 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.4575, allocations: 1.139 MB / 0.533 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.4579, allocations: 134.4 kB / 0.5331 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.4581, allocations: 92.48 kB / 0.5332 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.4608, allocations: 1.262 MB / 0.5344 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4608, allocations: 1.312 kB / 0.5344 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.4609, allocations: 35.31 kB / 0.5344 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.4609, allocations: 39.8 kB / 0.5345 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.4639, allocations: 1.056 MB / 0.5355 GB, free: 12.64 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.006859/0.4708, allocations: 5.893 MB / 0.5413 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.4731, allocations: 0.7543 MB / 0.542 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.4738, allocations: 285.5 kB / 0.5423 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.4741, allocations: 421.8 kB / 0.5427 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.4742, allocations: 38.89 kB / 0.5427 GB, free: 4.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.4742, allocations: 0 / 0.5427 GB, free: 4.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.008342/0.4825, allocations: 2.002 MB / 0.5447 GB, free: 2.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.4826, allocations: 162.2 kB / 0.5448 GB, free: 2.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.4844, allocations: 1.137 MB / 0.5459 GB, free: 1.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.63e-05/0.4845, allocations: 37.7 kB / 0.546 GB, free: 1.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.485, allocations: 0.5851 MB / 0.5465 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.4851, allocations: 142 kB / 0.5467 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.4852, allocations: 61.69 kB / 0.5467 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4854, allocations: 329.9 kB / 0.5471 GB, free: 272 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.4865, allocations: 369.1 kB / 0.5474 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.4878, allocations: 0.6789 MB / 0.5481 GB, free: 15.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.4898, allocations: 0.8728 MB / 0.5489 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4898, allocations: 4 kB / 0.5489 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003046/0.4929, allocations: 1.186 MB / 0.5501 GB, free: 12.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.4931, allocations: 302.2 kB / 0.5504 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4931, allocations: 4 kB / 0.5504 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4942, allocations: 285.7 kB / 0.5507 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/0.495, allocations: 183.7 kB / 0.5508 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.4964, allocations: 0.8801 MB / 0.5517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.4982, allocations: 231 kB / 0.5519 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.4982, allocations: 31.98 kB / 0.5519 GB, free: 10.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.4982, allocations: 4 kB / 0.5519 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002502/0.5008, allocations: 0.9788 MB / 0.5529 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.5008, allocations: 8.875 kB / 0.5529 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009163/0.5017, allocations: 290.2 kB / 0.5532 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.5023, allocations: 167.8 kB / 0.5533 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.5036, allocations: 0.8768 MB / 0.5542 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.505, allocations: 183.2 kB / 0.5544 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.505, allocations: 31.98 kB / 0.5544 GB, free: 8.332 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.0005901/0.5056, allocations: 368.8 kB / 0.5548 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.5058, allocations: 126.5 kB / 0.5549 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/0.5104, allocations: 1.256 MB / 0.5561 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.5105, allocations: 4 kB / 0.5561 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5105, allocations: 0 / 0.5561 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5105, allocations: 4 kB / 0.5561 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/0.5143, allocations: 1.925 MB / 0.558 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.5144, allocations: 4 kB / 0.558 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.5148, allocations: 88.19 kB / 0.5581 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008845/0.5156, allocations: 276.6 kB / 0.5583 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.5157, allocations: 8 kB / 0.5583 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.517, allocations: 0.8769 MB / 0.5592 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/0.5171, allocations: 4 kB / 0.5592 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.5196, allocations: 1.028 MB / 0.5602 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007521/0.5204, allocations: 271.5 kB / 0.5605 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.5208, allocations: 19.98 kB / 0.5605 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.5222, allocations: 123.9 kB / 0.5606 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5223, allocations: 40.58 kB / 0.5606 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/0.5224, allocations: 19.98 kB / 0.5607 GB, free: 1.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001516/0.5239, allocations: 0.7913 MB / 0.5614 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.524, allocations: 0 / 0.5614 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00208/0.526, allocations: 0.5536 MB / 0.562 GB, free: 380 kB / 430.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.0007789/0.5268, allocations: 264.1 kB / 0.5622 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.5304, allocations: 1.273 MB / 0.5635 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5304, allocations: 4.5 kB / 0.5635 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.5314, allocations: 348.3 kB / 0.5638 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/0.5349, allocations: 0.5491 MB / 0.5643 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006219/0.5411, allocations: 2.541 MB / 0.5668 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.5419, allocations: 1.065 MB / 0.5679 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.5432, allocations: 235.6 kB / 0.5681 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.5435, allocations: 83.41 kB / 0.5682 GB, free: 9.953 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5435, allocations: 0 / 0.5682 GB, free: 9.953 MB / 446.1 MB Notification: Performance of Templates: time 0.04127/0.5848, allocations: 23.54 MB / 0.5912 GB, free: 2.621 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: