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.001525/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001564/0.001564, allocations: 194.6 kB / 16.14 MB, free: 6.652 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.484/1.484, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3927/0.3927, allocations: 54.93 MB / 324.3 MB, free: 184 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.001471/0.001471, allocations: 63.91 kB / 394.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1476, allocations: 59.59 MB / 454.2 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2825/0.4302, allocations: 60.15 MB / 0.5023 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.4506, allocations: 11.3 MB / 0.5134 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/0.454, allocations: 44.16 kB / 0.5134 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.4566, allocations: 0.6015 MB / 0.514 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.4633, allocations: 1.78 MB / 0.5157 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.4666, allocations: 0.9079 MB / 0.5166 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006528/0.4732, allocations: 3.965 MB / 0.5205 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.4752, allocations: 0.9093 MB / 0.5214 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.4787, allocations: 1.239 MB / 0.5226 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.481, allocations: 0.9757 MB / 0.5235 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002768/0.4813, allocations: 58.44 kB / 0.5236 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.4848, allocations: 1.116 MB / 0.5247 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.4852, allocations: 241.2 kB / 0.5249 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.4865, allocations: 0.6757 MB / 0.5256 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003747/0.4903, allocations: 2.177 MB / 0.5277 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4903, allocations: 1.188 kB / 0.5277 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4903, allocations: 4 kB / 0.5277 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.4904, allocations: 0 / 0.5277 GB, free: 15.91 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.003605/0.494, allocations: 1.748 MB / 0.5294 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.494, allocations: 17.42 kB / 0.5294 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.4966, allocations: 462.1 kB / 0.5299 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.4988, allocations: 1.115 MB / 0.531 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/0.4992, allocations: 123.9 kB / 0.5311 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.4993, allocations: 92.05 kB / 0.5312 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.5021, allocations: 1.218 MB / 0.5324 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.5022, allocations: 5.312 kB / 0.5324 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/0.5023, allocations: 39 kB / 0.5324 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.5023, allocations: 28.73 kB / 0.5324 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/0.5051, allocations: 0.9975 MB / 0.5334 GB, free: 12.03 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.007612/0.5128, allocations: 5.867 MB / 0.5391 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.515, allocations: 0.6765 MB / 0.5398 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.5157, allocations: 269.9 kB / 0.54 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.516, allocations: 422.3 kB / 0.5404 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5161, allocations: 38.88 kB / 0.5405 GB, free: 4.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.414e-06/0.5161, allocations: 4 kB / 0.5405 GB, free: 4.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.007804/0.5239, allocations: 1.755 MB / 0.5422 GB, free: 2.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.524, allocations: 158.2 kB / 0.5424 GB, free: 2.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.5258, allocations: 1.133 MB / 0.5435 GB, free: 1.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.582e-05/0.5259, allocations: 37.7 kB / 0.5435 GB, free: 1.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.5263, allocations: 0.593 MB / 0.5441 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.5265, allocations: 134 kB / 0.5442 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.5267, allocations: 154.1 kB / 0.5443 GB, free: 340 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5268, allocations: 333.9 kB / 0.5447 GB, free: 0 / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009627/0.5278, allocations: 339.3 kB / 0.545 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.529, allocations: 0.6352 MB / 0.5456 GB, free: 14.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.5308, allocations: 0.8105 MB / 0.5464 GB, free: 13.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5308, allocations: 4 kB / 0.5464 GB, free: 13.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005009/0.5358, allocations: 1.42 MB / 0.5478 GB, free: 12.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.5359, allocations: 11.98 kB / 0.5478 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.5359, allocations: 8 kB / 0.5478 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009955/0.5369, allocations: 264.6 kB / 0.5481 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.5376, allocations: 163.8 kB / 0.5482 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.539, allocations: 0.8573 MB / 0.5491 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.5408, allocations: 210.9 kB / 0.5493 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.5409, allocations: 31.98 kB / 0.5493 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/0.5421, allocations: 0.5285 MB / 0.5498 GB, free: 10.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/0.5433, allocations: 0.6039 MB / 0.5504 GB, free: 9.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001696/0.545, allocations: 0.765 MB / 0.5511 GB, free: 8.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.233e-06/0.545, allocations: 3.984 kB / 0.5511 GB, free: 8.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.004871/0.5499, allocations: 1.375 MB / 0.5525 GB, free: 7.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5499, allocations: 12.09 kB / 0.5525 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5499, allocations: 4 kB / 0.5525 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008779/0.5508, allocations: 262.1 kB / 0.5528 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.5515, allocations: 155.8 kB / 0.5529 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.5528, allocations: 0.8586 MB / 0.5537 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.5543, allocations: 171.7 kB / 0.5539 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.5544, allocations: 33.78 kB / 0.5539 GB, free: 5.969 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.0002795/0.5547, allocations: 228 kB / 0.5542 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.5549, allocations: 114.6 kB / 0.5543 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/0.5585, allocations: 0.9811 MB / 0.5552 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.5585, allocations: 7.984 kB / 0.5552 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5586, allocations: 0 / 0.5552 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5586, allocations: 0 / 0.5552 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.5638, allocations: 2.037 MB / 0.5572 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.5639, allocations: 5 kB / 0.5572 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.5643, allocations: 79.84 kB / 0.5573 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008727/0.5651, allocations: 261.2 kB / 0.5575 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.5652, allocations: 12 kB / 0.5576 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.5664, allocations: 0.8448 MB / 0.5584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.5665, allocations: 7.938 kB / 0.5584 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.5701, allocations: 1.122 MB / 0.5595 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.5707, allocations: 260.2 kB / 0.5597 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.5709, allocations: 8 kB / 0.5597 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.572, allocations: 111.9 kB / 0.5598 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.5721, allocations: 35.84 kB / 0.5599 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.5721, allocations: 23.97 kB / 0.5599 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00129/0.5734, allocations: 0.7835 MB / 0.5607 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5735, allocations: 0 / 0.5607 GB, free: 14.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001795/0.5753, allocations: 0.5614 MB / 0.5612 GB, free: 14.3 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.0007119/0.576, allocations: 267.6 kB / 0.5615 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.5794, allocations: 1.19 MB / 0.5626 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.5795, allocations: 4 kB / 0.5626 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.5804, allocations: 328.6 kB / 0.563 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.5831, allocations: 0.5537 MB / 0.5635 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.5883, allocations: 2.428 MB / 0.5659 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.5889, allocations: 1.061 MB / 0.5669 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001169/0.5901, allocations: 245.2 kB / 0.5671 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.5904, allocations: 83.34 kB / 0.5672 GB, free: 8.102 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5904, allocations: 3.938 kB / 0.5672 GB, free: 8.098 MB / 446.1 MB Notification: Performance of Templates: time 0.03505/0.6254, allocations: 23.59 MB / 0.5903 GB, free: 0.7344 MB / 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)