Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008432/0.008432, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001904/0.001904, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2709/0.2709, allocations: 54.97 MB / 324.9 MB, free: 4.852 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.001455/0.001455, allocations: 67.89 kB / 456.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1371, allocations: 59.6 MB / 0.5037 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3653/0.5025, allocations: 74.52 MB / 0.5765 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03103/0.5335, allocations: 14.2 MB / 0.5904 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00488/0.5385, allocations: 64.19 kB / 0.5904 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.5421, allocations: 0.9267 MB / 0.5913 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.5523, allocations: 2.66 MB / 0.5939 GB, free: 336 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.5571, allocations: 1.233 MB / 0.5951 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009212/0.5663, allocations: 4.361 MB / 0.5994 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.5697, allocations: 1.422 MB / 0.6008 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/0.5754, allocations: 1.726 MB / 0.6025 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.5792, allocations: 1.283 MB / 0.6037 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008526/0.58, allocations: 163.3 kB / 0.6039 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004736/0.5848, allocations: 1.244 MB / 0.6051 GB, free: 9.312 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.5859, allocations: 414.5 kB / 0.6055 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.5888, allocations: 0.945 MB / 0.6064 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006769/0.5956, allocations: 2.838 MB / 0.6092 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5956, allocations: 0 / 0.6092 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.395e-05/0.5956, allocations: 0 / 0.6092 GB, free: 5.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.5957, allocations: 0 / 0.6092 GB, free: 5.117 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.005987/0.6017, allocations: 2.098 MB / 0.6112 GB, free: 2.949 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6018, allocations: 12.92 kB / 0.6112 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.6032, allocations: 250.8 kB / 0.6115 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.6067, allocations: 1.481 MB / 0.6129 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.6068, allocations: 86.09 kB / 0.613 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.6072, allocations: 112 kB / 0.6131 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.6106, allocations: 1.362 MB / 0.6144 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.6107, allocations: 11.92 kB / 0.6144 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.6109, allocations: 48 kB / 0.6145 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/0.6109, allocations: 32 kB / 0.6145 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.6136, allocations: 1.034 MB / 0.6155 GB, free: 14.34 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.00871/0.6224, allocations: 6.556 MB / 0.6219 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.6243, allocations: 0.6238 MB / 0.6225 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000702/0.625, allocations: 339.6 kB / 0.6229 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.6254, allocations: 337 kB / 0.6232 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.6255, allocations: 39.12 kB / 0.6232 GB, free: 5.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 3.817e-06/0.6255, allocations: 0 / 0.6232 GB, free: 5.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.007527/0.633, allocations: 2.319 MB / 0.6255 GB, free: 3.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.6332, allocations: 166.7 kB / 0.6257 GB, free: 3.398 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.6357, allocations: 1.267 MB / 0.6269 GB, free: 2.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.6358, allocations: 37.7 kB / 0.6269 GB, free: 2.074 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007802/0.6366, allocations: 0.6645 MB / 0.6276 GB, free: 1.402 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.6369, allocations: 236.5 kB / 0.6278 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.6373, allocations: 182.5 kB / 0.628 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6375, allocations: 349.9 kB / 0.6283 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.6383, allocations: 328.6 kB / 0.6286 GB, free: 316 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.6394, allocations: 0.6653 MB / 0.6293 GB, free: 15.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.6414, allocations: 0.9177 MB / 0.6302 GB, free: 14.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.6414, allocations: 4 kB / 0.6302 GB, free: 14.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0026/0.644, allocations: 1.075 MB / 0.6312 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.6441, allocations: 8 kB / 0.6312 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.6441, allocations: 11.94 kB / 0.6312 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/0.6441, allocations: 12 kB / 0.6313 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.645, allocations: 231.9 kB / 0.6315 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/0.6451, allocations: 19.94 kB / 0.6315 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.6463, allocations: 75.92 kB / 0.6316 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.6465, allocations: 43.98 kB / 0.6316 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001319/0.6478, allocations: 0.5839 MB / 0.6322 GB, free: 12.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.6488, allocations: 0.6301 MB / 0.6328 GB, free: 11.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00163/0.6505, allocations: 0.8829 MB / 0.6337 GB, free: 10.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/0.6505, allocations: 4 kB / 0.6337 GB, free: 10.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002567/0.6531, allocations: 1.029 MB / 0.6347 GB, free: 9.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6531, allocations: 12 kB / 0.6347 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6531, allocations: 4 kB / 0.6347 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6532, allocations: 12 kB / 0.6347 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.654, allocations: 219.7 kB / 0.6349 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.654, allocations: 19.88 kB / 0.6349 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.6552, allocations: 84.19 kB / 0.635 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.6553, allocations: 35.98 kB / 0.635 GB, free: 9.219 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.6557, allocations: 240 kB / 0.6353 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.656, allocations: 138.3 kB / 0.6354 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.6585, allocations: 0.9441 MB / 0.6363 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.6585, allocations: 4 kB / 0.6363 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.6585, allocations: 4 kB / 0.6363 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001725/0.6602, allocations: 0.8295 MB / 0.6371 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/0.6655, allocations: 2.487 MB / 0.6396 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.6655, allocations: 8 kB / 0.6396 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.6662, allocations: 151.8 kB / 0.6397 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.6665, allocations: 81.61 kB / 0.6398 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.6666, allocations: 24.11 kB / 0.6398 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008679/0.6674, allocations: 1.163 MB / 0.641 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.6674, allocations: 8 kB / 0.641 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.6705, allocations: 1.5 MB / 0.6424 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/0.6715, allocations: 311.2 kB / 0.6427 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004743/0.672, allocations: 28.06 kB / 0.6427 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.6731, allocations: 63.86 kB / 0.6428 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6733, allocations: 68.25 kB / 0.6429 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.6734, allocations: 31.97 kB / 0.6429 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001664/0.6751, allocations: 0.8944 MB / 0.6438 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6751, allocations: 0 / 0.6438 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002479/0.6776, allocations: 0.6444 MB / 0.6444 GB, free: 15.26 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009798/0.6786, allocations: 372.3 kB / 0.6448 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003169/0.6817, allocations: 1.294 MB / 0.646 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.6818, allocations: 0 / 0.646 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.6828, allocations: 423.2 kB / 0.6464 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/0.687, allocations: 0.8678 MB / 0.6473 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.6918, allocations: 2.444 MB / 0.6497 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.693, allocations: 1.195 MB / 0.6508 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001506/0.6945, allocations: 330.1 kB / 0.6511 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.6949, allocations: 123.4 kB / 0.6513 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.6949, allocations: 0 / 0.6513 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of Templates: time 0.05771/0.7526, allocations: 31.4 MB / 0.6819 GB, free: 8.992 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)