Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, 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.0019/0.0019, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.41/1.41, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3983/0.3983, allocations: 54.94 MB / 324.4 MB, free: 132 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.001568/0.001568, allocations: 63.91 kB / 394.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1414, allocations: 59.59 MB / 454.5 MB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2398/0.3813, allocations: 59.99 MB / 0.5024 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01915/0.4005, allocations: 11.16 MB / 0.5133 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.4031, allocations: 44.84 kB / 0.5134 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.4058, allocations: 0.6363 MB / 0.514 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.4121, allocations: 1.798 MB / 0.5157 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.4153, allocations: 0.924 MB / 0.5166 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005558/0.4209, allocations: 3.043 MB / 0.5196 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.4232, allocations: 1.068 MB / 0.5207 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003962/0.4272, allocations: 1.441 MB / 0.5221 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.4294, allocations: 1 MB / 0.523 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.4298, allocations: 120.2 kB / 0.5232 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.433, allocations: 1.224 MB / 0.5243 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.4335, allocations: 301.9 kB / 0.5246 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.4354, allocations: 0.7374 MB / 0.5254 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006228/0.4416, allocations: 2.234 MB / 0.5275 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4416, allocations: 0 / 0.5275 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4417, allocations: 0 / 0.5275 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.713e-05/0.4417, allocations: 0 / 0.5275 GB, free: 15.54 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.004365/0.4461, allocations: 1.738 MB / 0.5292 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4462, allocations: 8.719 kB / 0.5292 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.4487, allocations: 466.2 kB / 0.5297 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.4513, allocations: 1.128 MB / 0.5308 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.4517, allocations: 121.8 kB / 0.5309 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.4518, allocations: 87.28 kB / 0.531 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.455, allocations: 1.217 MB / 0.5322 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.455, allocations: 4.844 kB / 0.5322 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.4551, allocations: 39.56 kB / 0.5322 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.4552, allocations: 36.94 kB / 0.5323 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.458, allocations: 0.9966 MB / 0.5332 GB, free: 11.78 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.008056/0.466, allocations: 5.846 MB / 0.5389 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.4683, allocations: 0.6801 MB / 0.5396 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/0.469, allocations: 269.3 kB / 0.5399 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.4694, allocations: 421.8 kB / 0.5403 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4694, allocations: 38.89 kB / 0.5403 GB, free: 4.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.4694, allocations: 0 / 0.5403 GB, free: 4.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.007927/0.4774, allocations: 1.759 MB / 0.542 GB, free: 2.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.4775, allocations: 162.2 kB / 0.5422 GB, free: 2.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.4795, allocations: 1.133 MB / 0.5433 GB, free: 1.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.4796, allocations: 37.7 kB / 0.5433 GB, free: 1.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.4801, allocations: 0.5891 MB / 0.5439 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.4803, allocations: 142 kB / 0.544 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.4805, allocations: 150.1 kB / 0.5442 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4807, allocations: 337.9 kB / 0.5445 GB, free: 244 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/0.4817, allocations: 335.3 kB / 0.5448 GB, free: 15.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.4829, allocations: 0.6391 MB / 0.5454 GB, free: 15.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.4847, allocations: 0.812 MB / 0.5462 GB, free: 14.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4848, allocations: 7.938 kB / 0.5462 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005177/0.4899, allocations: 1.41 MB / 0.5476 GB, free: 12.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.49, allocations: 11.94 kB / 0.5476 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.49, allocations: 11.98 kB / 0.5476 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00097/0.491, allocations: 261 kB / 0.5479 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.4918, allocations: 163.8 kB / 0.548 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.4931, allocations: 0.8566 MB / 0.5489 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.4948, allocations: 211.4 kB / 0.5491 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.4949, allocations: 37.25 kB / 0.5491 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001208/0.4961, allocations: 0.5207 MB / 0.5496 GB, free: 10.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001094/0.4972, allocations: 0.6078 MB / 0.5502 GB, free: 9.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001602/0.4988, allocations: 0.7676 MB / 0.551 GB, free: 9.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/0.4988, allocations: 0 / 0.551 GB, free: 9.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005084/0.5039, allocations: 1.376 MB / 0.5523 GB, free: 7.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.504, allocations: 8 kB / 0.5523 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.504, allocations: 8 kB / 0.5523 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009189/0.5049, allocations: 265.7 kB / 0.5526 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.5056, allocations: 147.8 kB / 0.5527 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.507, allocations: 0.8603 MB / 0.5536 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.5089, allocations: 171.7 kB / 0.5537 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/0.509, allocations: 35.97 kB / 0.5538 GB, free: 6.207 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0003994/0.5094, allocations: 232 kB / 0.554 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.5097, allocations: 114.6 kB / 0.5541 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.5135, allocations: 0.9877 MB / 0.5551 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.5136, allocations: 4 kB / 0.5551 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.5136, allocations: 3.984 kB / 0.5551 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.5136, allocations: 0 / 0.5551 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.5189, allocations: 2.045 MB / 0.5571 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.519, allocations: 0 / 0.5571 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.5194, allocations: 72.23 kB / 0.5571 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008763/0.5202, allocations: 270.2 kB / 0.5574 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.5203, allocations: 8 kB / 0.5574 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.5216, allocations: 0.8411 MB / 0.5582 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.5216, allocations: 7.938 kB / 0.5582 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.5251, allocations: 1.114 MB / 0.5593 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006561/0.5258, allocations: 263.5 kB / 0.5596 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.526, allocations: 8 kB / 0.5596 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.5271, allocations: 115.9 kB / 0.5597 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.5272, allocations: 35.83 kB / 0.5597 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.5272, allocations: 23.98 kB / 0.5597 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.5284, allocations: 0.7874 MB / 0.5605 GB, free: 15.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5284, allocations: 0 / 0.5605 GB, free: 15.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001618/0.53, allocations: 0.5536 MB / 0.561 GB, free: 14.54 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 (30): * Single equations (assignments): 28 * 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.00061/0.5307, allocations: 278 kB / 0.5613 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003258/0.5339, allocations: 1.209 MB / 0.5625 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5339, allocations: 448 / 0.5625 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.5348, allocations: 332.4 kB / 0.5628 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.5373, allocations: 0.5695 MB / 0.5634 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.5426, allocations: 2.426 MB / 0.5657 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.5432, allocations: 1.058 MB / 0.5668 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001267/0.5445, allocations: 240.6 kB / 0.567 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.5447, allocations: 87.41 kB / 0.5671 GB, free: 8.344 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5448, allocations: 4 kB / 0.5671 GB, free: 8.34 MB / 446.1 MB Notification: Performance of Templates: time 0.04333/0.5881, allocations: 24.37 MB / 0.5909 GB, free: 192 kB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)