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.01033/0.01033, allocations: 99.81 kB / 15.73 MB, free: 6.066 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.002024/0.002024, allocations: 193.1 kB / 16.67 MB, free: 5.977 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2599/0.2599, allocations: 54.97 MB / 324.9 MB, free: 4.84 MB / 270.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.001541/0.001541, allocations: 71.89 kB / 456.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1433, allocations: 59.6 MB / 0.5037 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3923/0.5357, allocations: 74.51 MB / 0.5765 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02408/0.5598, allocations: 14.21 MB / 0.5904 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004282/0.5642, allocations: 59.72 kB / 0.5904 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.5678, allocations: 0.9302 MB / 0.5913 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009576/0.5774, allocations: 2.661 MB / 0.5939 GB, free: 308 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.5817, allocations: 1.231 MB / 0.5951 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006834/0.5886, allocations: 4.354 MB / 0.5994 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.5915, allocations: 1.423 MB / 0.6008 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005139/0.5967, allocations: 1.728 MB / 0.6025 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/0.5996, allocations: 1.288 MB / 0.6037 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006874/0.6003, allocations: 164.8 kB / 0.6039 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.6043, allocations: 1.264 MB / 0.6051 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.6049, allocations: 418.4 kB / 0.6055 GB, free: 8.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.6064, allocations: 0.9411 MB / 0.6064 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004867/0.6113, allocations: 2.857 MB / 0.6092 GB, free: 5.035 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.6113, allocations: 4 kB / 0.6092 GB, free: 5.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6113, allocations: 0 / 0.6092 GB, free: 5.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.6114, allocations: 0 / 0.6092 GB, free: 5.031 MB / 462.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.004001/0.6154, allocations: 2.11 MB / 0.6113 GB, free: 2.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6154, allocations: 12.91 kB / 0.6113 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.6164, allocations: 250.8 kB / 0.6115 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.6188, allocations: 1.489 MB / 0.613 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.6189, allocations: 82.11 kB / 0.6131 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.6191, allocations: 112 kB / 0.6132 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.6216, allocations: 1.366 MB / 0.6145 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.6216, allocations: 3.938 kB / 0.6145 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.6217, allocations: 48 kB / 0.6146 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.6218, allocations: 35.98 kB / 0.6146 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.6241, allocations: 1.034 MB / 0.6156 GB, free: 14.25 MB / 478.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.006919/0.631, allocations: 6.56 MB / 0.622 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.6327, allocations: 0.6355 MB / 0.6226 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.6334, allocations: 339.6 kB / 0.6229 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.6337, allocations: 348.9 kB / 0.6233 GB, free: 5.902 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.6338, allocations: 39.12 kB / 0.6233 GB, free: 5.852 MB / 478.1 MB Notification: Performance of pre-optimization done (n=64): time 2.635e-06/0.6338, allocations: 0 / 0.6233 GB, free: 5.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=68): time 0.00657/0.6404, allocations: 2.493 MB / 0.6258 GB, free: 3.273 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.6405, allocations: 166.8 kB / 0.6259 GB, free: 3.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.6425, allocations: 1.275 MB / 0.6272 GB, free: 1.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.435e-05/0.6427, allocations: 41.7 kB / 0.6272 GB, free: 1.738 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.6434, allocations: 0.653 MB / 0.6278 GB, free: 1.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.6437, allocations: 248.4 kB / 0.6281 GB, free: 0.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.644, allocations: 178.5 kB / 0.6282 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6441, allocations: 337.9 kB / 0.6286 GB, free: 320 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007643/0.6449, allocations: 344.6 kB / 0.6289 GB, free: 15.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.6459, allocations: 0.6527 MB / 0.6295 GB, free: 15.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.6475, allocations: 0.9207 MB / 0.6304 GB, free: 14.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6476, allocations: 4 kB / 0.6304 GB, free: 14.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002349/0.6499, allocations: 1.115 MB / 0.6315 GB, free: 13.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.65, allocations: 10.66 kB / 0.6315 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.65, allocations: 8 kB / 0.6315 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.6503, allocations: 68.81 kB / 0.6316 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.6512, allocations: 223.7 kB / 0.6318 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004824/0.6517, allocations: 0.5968 MB / 0.6324 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.6528, allocations: 75.98 kB / 0.6325 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.6529, allocations: 47.98 kB / 0.6325 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.6542, allocations: 0.58 MB / 0.6331 GB, free: 11.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009226/0.6551, allocations: 0.637 MB / 0.6337 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001583/0.6567, allocations: 0.8741 MB / 0.6346 GB, free: 9.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.243e-06/0.6567, allocations: 4 kB / 0.6346 GB, free: 9.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002337/0.659, allocations: 1.068 MB / 0.6356 GB, free: 8.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6591, allocations: 11.98 kB / 0.6356 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6591, allocations: 4.25 kB / 0.6356 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.6594, allocations: 66.89 kB / 0.6357 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.6602, allocations: 215.7 kB / 0.6359 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004653/0.6607, allocations: 0.5992 MB / 0.6365 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.6618, allocations: 88.11 kB / 0.6366 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.6619, allocations: 32 kB / 0.6366 GB, free: 7.52 MB / 494.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 (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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003271/0.6623, allocations: 244 kB / 0.6368 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.6626, allocations: 146.2 kB / 0.637 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.665, allocations: 0.9787 MB / 0.6379 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.665, allocations: 8 kB / 0.6379 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.665, allocations: 0 / 0.6379 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001777/0.6668, allocations: 0.8771 MB / 0.6388 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005067/0.6719, allocations: 2.53 MB / 0.6413 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6719, allocations: 4 kB / 0.6413 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.6725, allocations: 152.4 kB / 0.6414 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/0.673, allocations: 130.5 kB / 0.6415 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.673, allocations: 31.92 kB / 0.6416 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.6743, allocations: 1.739 MB / 0.6433 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.6743, allocations: 4 kB / 0.6433 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/0.6774, allocations: 1.564 MB / 0.6448 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/0.6782, allocations: 311.2 kB / 0.6451 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.6785, allocations: 28 kB / 0.6451 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6795, allocations: 67.77 kB / 0.6452 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.6797, allocations: 64.31 kB / 0.6452 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.6798, allocations: 35.97 kB / 0.6453 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001499/0.6813, allocations: 0.8983 MB / 0.6462 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6813, allocations: 0 / 0.6462 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002313/0.6836, allocations: 0.6483 MB / 0.6468 GB, free: 12.68 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009894/0.6846, allocations: 382.2 kB / 0.6471 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00312/0.6877, allocations: 1.313 MB / 0.6484 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6877, allocations: 0 / 0.6484 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.6889, allocations: 456 kB / 0.6489 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/0.693, allocations: 0.8592 MB / 0.6497 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.6982, allocations: 2.457 MB / 0.6521 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.6993, allocations: 1.199 MB / 0.6533 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001357/0.7006, allocations: 329.9 kB / 0.6536 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.701, allocations: 115.4 kB / 0.6537 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.701, allocations: 0 / 0.6537 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.05547/0.7565, allocations: 32.38 MB / 0.6853 GB, free: 5.367 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (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)