Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001384/0.001384, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4249/0.4249, allocations: 54.97 MB / 325.3 MB, free: 0.6953 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.00084/0.0008401, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4092, allocations: 60.72 MB / 457.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05095/0.4602, allocations: 62.39 MB / 0.5075 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.479, allocations: 12.2 MB / 0.5194 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.4813, allocations: 48 kB / 0.5195 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.4841, allocations: 0.725 MB / 0.5202 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00881/0.493, allocations: 2.26 MB / 0.5224 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004903/0.4979, allocations: 1.009 MB / 0.5234 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007603/0.5055, allocations: 2.545 MB / 0.5259 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.5078, allocations: 1.024 MB / 0.5269 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.5113, allocations: 1.2 MB / 0.528 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.5133, allocations: 0.83 MB / 0.5288 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.5136, allocations: 57.16 kB / 0.5289 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.5163, allocations: 0.6985 MB / 0.5296 GB, free: 360 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.5166, allocations: 265.2 kB / 0.5298 GB, free: 164 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.5172, allocations: 380.1 kB / 0.5302 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.5199, allocations: 2.039 MB / 0.5322 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.5199, allocations: 0 / 0.5322 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5199, allocations: 0 / 0.5322 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.52, allocations: 0 / 0.5322 GB, free: 14.52 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003811/0.5238, allocations: 1.799 MB / 0.5339 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5238, allocations: 8.375 kB / 0.5339 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.525, allocations: 255.6 kB / 0.5342 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.5277, allocations: 1.346 MB / 0.5355 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.5278, allocations: 82.98 kB / 0.5356 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.528, allocations: 119.1 kB / 0.5357 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/0.5309, allocations: 1.388 MB / 0.537 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.531, allocations: 7.891 kB / 0.5371 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5311, allocations: 51.98 kB / 0.5371 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.5312, allocations: 35.98 kB / 0.5371 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.5337, allocations: 1.093 MB / 0.5382 GB, free: 9.43 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.007485/0.5412, allocations: 6.624 MB / 0.5447 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.543, allocations: 0.6793 MB / 0.5453 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.5433, allocations: 349 kB / 0.5457 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.5434, allocations: 47.08 kB / 0.5457 GB, free: 1.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 3.987e-06/0.5434, allocations: 0 / 0.5457 GB, free: 1.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.0072/0.5506, allocations: 2.635 MB / 0.5483 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.5507, allocations: 166.8 kB / 0.5484 GB, free: 14.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.5525, allocations: 1.29 MB / 0.5497 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/0.5526, allocations: 41.7 kB / 0.5497 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/0.5531, allocations: 0.6645 MB / 0.5504 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.5533, allocations: 236.6 kB / 0.5506 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.5534, allocations: 20 kB / 0.5506 GB, free: 12.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5535, allocations: 345.9 kB / 0.551 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008326/0.5544, allocations: 349.8 kB / 0.5513 GB, free: 11.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.5555, allocations: 0.6839 MB / 0.552 GB, free: 10.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/0.5564, allocations: 437.9 kB / 0.5524 GB, free: 10.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5564, allocations: 4 kB / 0.5524 GB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002411/0.5588, allocations: 1.155 MB / 0.5535 GB, free: 8.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001111/0.56, allocations: 2.924 MB / 0.5564 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.56, allocations: 8 kB / 0.5564 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.5603, allocations: 72.75 kB / 0.5565 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.5613, allocations: 227.7 kB / 0.5567 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/0.5617, allocations: 0.6077 MB / 0.5573 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.5632, allocations: 143.7 kB / 0.5574 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.5633, allocations: 44 kB / 0.5574 GB, free: 4.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.5633, allocations: 0 / 0.5574 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001901/0.5652, allocations: 0.9363 MB / 0.5584 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5652, allocations: 8 kB / 0.5584 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.5655, allocations: 67.39 kB / 0.5584 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.5663, allocations: 223.6 kB / 0.5586 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003965/0.5667, allocations: 0.5914 MB / 0.5592 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.568, allocations: 132.9 kB / 0.5593 GB, free: 2.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.5681, allocations: 39.98 kB / 0.5594 GB, free: 2.715 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007169/0.5688, allocations: 440.8 kB / 0.5598 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.5691, allocations: 146.2 kB / 0.5599 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.5714, allocations: 1.031 MB / 0.561 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.5714, allocations: 7.984 kB / 0.561 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5715, allocations: 0 / 0.561 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001888/0.5734, allocations: 0.9241 MB / 0.5619 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.5781, allocations: 2.605 MB / 0.5644 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5781, allocations: 7.953 kB / 0.5644 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.5788, allocations: 160.1 kB / 0.5646 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.5792, allocations: 151.6 kB / 0.5647 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.5793, allocations: 20 kB / 0.5647 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009876/0.5803, allocations: 1.738 MB / 0.5664 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.5803, allocations: 4 kB / 0.5664 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.5836, allocations: 1.945 MB / 0.5683 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/0.5843, allocations: 355 kB / 0.5687 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.5845, allocations: 16 kB / 0.5687 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.5856, allocations: 115.9 kB / 0.5688 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5857, allocations: 56.27 kB / 0.5688 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.5858, allocations: 35.97 kB / 0.5689 GB, free: 8.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.587, allocations: 0.91 MB / 0.5698 GB, free: 7.465 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.587, allocations: 4 kB / 0.5698 GB, free: 7.461 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001897/0.5889, allocations: 0.6522 MB / 0.5704 GB, free: 6.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007395/0.5897, allocations: 391.2 kB / 0.5708 GB, free: 6.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.5927, allocations: 1.363 MB / 0.5721 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5927, allocations: 0 / 0.5721 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.5939, allocations: 480.1 kB / 0.5726 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.5976, allocations: 0.8109 MB / 0.5734 GB, free: 3.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.602, allocations: 2.936 MB / 0.5762 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.6029, allocations: 1.23 MB / 0.5774 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001546/0.6044, allocations: 325.9 kB / 0.5777 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.6048, allocations: 119.4 kB / 0.5779 GB, free: 15.11 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6048, allocations: 0 / 0.5779 GB, free: 15.11 MB / 462.1 MB Notification: Performance of Templates: time 0.04857/0.6534, allocations: 30.03 MB / 0.6072 GB, free: 1.328 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: