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.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001289/0.001289, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.48/1.48, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3939/0.3939, allocations: 54.93 MB / 324.3 MB, free: 156 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.001765/0.001766, allocations: 63.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 59.6 MB / 454.2 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3771/0.5352, allocations: 74.06 MB / 0.5159 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02566/0.561, allocations: 14.26 MB / 0.5299 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004976/0.5661, allocations: 55.78 kB / 0.5299 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003977/0.5701, allocations: 0.7405 MB / 0.5306 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.5811, allocations: 2.33 MB / 0.5329 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004895/0.5861, allocations: 1.129 MB / 0.534 GB, free: 8.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0119/0.598, allocations: 5.695 MB / 0.5396 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003762/0.6018, allocations: 1.16 MB / 0.5407 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006739/0.6086, allocations: 1.431 MB / 0.5421 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005826/0.6145, allocations: 1.283 MB / 0.5434 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007605/0.6153, allocations: 72 kB / 0.5434 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005988/0.6213, allocations: 1.115 MB / 0.5445 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007101/0.622, allocations: 330.5 kB / 0.5448 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.6245, allocations: 0.8435 MB / 0.5456 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006848/0.6313, allocations: 2.785 MB / 0.5484 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.6314, allocations: 0 / 0.5484 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6314, allocations: 0 / 0.5484 GB, free: 12.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.451e-05/0.6315, allocations: 0 / 0.5484 GB, free: 12.92 MB / 430.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.005418/0.6369, allocations: 2.1 MB / 0.5504 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.637, allocations: 11.97 kB / 0.5504 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.6381, allocations: 254.7 kB / 0.5507 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.6409, allocations: 1.462 MB / 0.5521 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.295e-05/0.641, allocations: 86.09 kB / 0.5522 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.6412, allocations: 112 kB / 0.5523 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.6442, allocations: 1.371 MB / 0.5536 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.6442, allocations: 3.984 kB / 0.5536 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/0.6443, allocations: 51.98 kB / 0.5537 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.6444, allocations: 35.94 kB / 0.5537 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.647, allocations: 1.026 MB / 0.5547 GB, free: 6.172 MB / 430.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.008226/0.6553, allocations: 6.58 MB / 0.5611 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.6572, allocations: 0.6354 MB / 0.5618 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008011/0.6581, allocations: 335.1 kB / 0.5621 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/0.6585, allocations: 349 kB / 0.5624 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.6586, allocations: 43.12 kB / 0.5625 GB, free: 13.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.685e-06/0.6586, allocations: 0 / 0.5625 GB, free: 13.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.007529/0.6661, allocations: 2.486 MB / 0.5649 GB, free: 11.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.6663, allocations: 162.8 kB / 0.565 GB, free: 10.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.6684, allocations: 1.251 MB / 0.5663 GB, free: 9.727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.6685, allocations: 41.7 kB / 0.5663 GB, free: 9.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/0.6691, allocations: 0.6684 MB / 0.567 GB, free: 9.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.6694, allocations: 236.6 kB / 0.5672 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.6697, allocations: 182.5 kB / 0.5674 GB, free: 8.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6698, allocations: 341.9 kB / 0.5677 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/0.6707, allocations: 332.6 kB / 0.568 GB, free: 7.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.6719, allocations: 0.6604 MB / 0.5686 GB, free: 7.113 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.6738, allocations: 0.9221 MB / 0.5695 GB, free: 6.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6738, allocations: 3.938 kB / 0.5695 GB, free: 6.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002749/0.6766, allocations: 1.117 MB / 0.5706 GB, free: 4.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.6766, allocations: 11.94 kB / 0.5706 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6766, allocations: 8 kB / 0.5707 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/0.677, allocations: 68.8 kB / 0.5707 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/0.6779, allocations: 223.8 kB / 0.5709 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005259/0.6785, allocations: 0.5925 MB / 0.5715 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.68, allocations: 127.8 kB / 0.5716 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/0.6801, allocations: 39.98 kB / 0.5717 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.6814, allocations: 0.5839 MB / 0.5722 GB, free: 3.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009805/0.6824, allocations: 0.6293 MB / 0.5729 GB, free: 2.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001647/0.6841, allocations: 0.8913 MB / 0.5737 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/0.6841, allocations: 1.094 kB / 0.5737 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.00238/0.6865, allocations: 1.06 MB / 0.5748 GB, free: 464 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6865, allocations: 8 kB / 0.5748 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6865, allocations: 8 kB / 0.5748 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.6869, allocations: 73.59 kB / 0.5749 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.6877, allocations: 207.6 kB / 0.575 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004833/0.6882, allocations: 0.6041 MB / 0.5756 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.6897, allocations: 132 kB / 0.5758 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.6898, allocations: 39.98 kB / 0.5758 GB, free: 15.36 MB / 462.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.0003375/0.6901, allocations: 232.9 kB / 0.576 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.6904, allocations: 146.2 kB / 0.5762 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.6929, allocations: 0.9862 MB / 0.5771 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.693, allocations: 8 kB / 0.5771 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.693, allocations: 0 / 0.5771 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001791/0.6948, allocations: 0.8732 MB / 0.578 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.6997, allocations: 2.519 MB / 0.5804 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.6998, allocations: 4 kB / 0.5805 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.7005, allocations: 147.8 kB / 0.5806 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.701, allocations: 142.6 kB / 0.5807 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.701, allocations: 27.92 kB / 0.5808 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.7022, allocations: 1.743 MB / 0.5825 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.7022, allocations: 5.641 kB / 0.5825 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.7056, allocations: 1.564 MB / 0.584 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.7065, allocations: 315.2 kB / 0.5843 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.7067, allocations: 20 kB / 0.5843 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7078, allocations: 103.8 kB / 0.5844 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.708, allocations: 56.25 kB / 0.5845 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.708, allocations: 39.97 kB / 0.5845 GB, free: 6.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001407/0.7095, allocations: 0.8866 MB / 0.5854 GB, free: 5.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7095, allocations: 0 / 0.5854 GB, free: 5.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002095/0.7116, allocations: 0.6366 MB / 0.586 GB, free: 4.531 MB / 462.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 (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.0008718/0.7125, allocations: 374.6 kB / 0.5863 GB, free: 4.168 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.7157, allocations: 1.293 MB / 0.5876 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.7157, allocations: 4.062 kB / 0.5876 GB, free: 2.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.717, allocations: 448.5 kB / 0.588 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/0.7211, allocations: 0.8311 MB / 0.5889 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.7257, allocations: 2.973 MB / 0.5918 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.7265, allocations: 1.195 MB / 0.5929 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001693/0.7282, allocations: 324.5 kB / 0.5932 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.7286, allocations: 119.3 kB / 0.5933 GB, free: 12.93 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7286, allocations: 4 kB / 0.5933 GB, free: 12.93 MB / 478.1 MB Notification: Performance of Templates: time 0.05382/0.7824, allocations: 30.38 MB / 0.623 GB, free: 14.8 MB / 0.4981 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)