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.001173/0.001173, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.467/1.467, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4691/0.4691, allocations: 54.94 MB / 324.7 MB, free: 15.92 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.0016/0.0016, allocations: 72.45 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1405, allocations: 59.59 MB / 454.9 MB, free: 168 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3424/0.483, allocations: 74.51 MB / 0.517 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02426/0.5073, allocations: 14.2 MB / 0.5309 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0036/0.511, allocations: 60 kB / 0.5309 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.5146, allocations: 0.886 MB / 0.5318 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.5275, allocations: 2.535 MB / 0.5343 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006715/0.5343, allocations: 1.238 MB / 0.5355 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0134/0.5477, allocations: 4.345 MB / 0.5397 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/0.5525, allocations: 1.408 MB / 0.5411 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007371/0.5599, allocations: 1.685 MB / 0.5428 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004652/0.5646, allocations: 1.294 MB / 0.544 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.5658, allocations: 164 kB / 0.5442 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006825/0.5727, allocations: 1.24 MB / 0.5454 GB, free: 160 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.574, allocations: 406.5 kB / 0.5458 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004152/0.5782, allocations: 0.9411 MB / 0.5467 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009467/0.5877, allocations: 2.812 MB / 0.5494 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.5878, allocations: 0 / 0.5494 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5878, allocations: 0 / 0.5494 GB, free: 11.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.606e-05/0.5879, allocations: 4 kB / 0.5494 GB, free: 11.99 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.007746/0.5957, allocations: 2.104 MB / 0.5515 GB, free: 9.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.702e-05/0.5958, allocations: 12.03 kB / 0.5515 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.5975, allocations: 243.7 kB / 0.5517 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.6009, allocations: 1.418 MB / 0.5531 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.601, allocations: 82.11 kB / 0.5532 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.6012, allocations: 112 kB / 0.5533 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/0.605, allocations: 1.37 MB / 0.5547 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.605, allocations: 7.906 kB / 0.5547 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.6052, allocations: 47.94 kB / 0.5547 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.327e-05/0.6052, allocations: 32 kB / 0.5547 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.6086, allocations: 1.03 MB / 0.5557 GB, free: 5.289 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.007656/0.6163, allocations: 6.612 MB / 0.5622 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.6181, allocations: 0.6382 MB / 0.5628 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/0.6188, allocations: 327.6 kB / 0.5631 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.6192, allocations: 341 kB / 0.5635 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.6192, allocations: 40.44 kB / 0.5635 GB, free: 12.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 3.918e-06/0.6192, allocations: 11.98 kB / 0.5635 GB, free: 12.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006753/0.626, allocations: 2.304 MB / 0.5658 GB, free: 10.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.6262, allocations: 162.8 kB / 0.5659 GB, free: 10.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.628, allocations: 1.271 MB / 0.5672 GB, free: 9.004 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.6281, allocations: 45.7 kB / 0.5672 GB, free: 8.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000575/0.6287, allocations: 0.6606 MB / 0.5678 GB, free: 8.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.6289, allocations: 236.6 kB / 0.5681 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.6292, allocations: 186.4 kB / 0.5682 GB, free: 7.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6294, allocations: 334 kB / 0.5686 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.6302, allocations: 340.6 kB / 0.5689 GB, free: 7.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.6313, allocations: 0.6613 MB / 0.5695 GB, free: 6.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.6331, allocations: 0.9239 MB / 0.5704 GB, free: 5.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.6331, allocations: 0 / 0.5704 GB, free: 5.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002836/0.636, allocations: 1.067 MB / 0.5715 GB, free: 4.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.636, allocations: 8.844 kB / 0.5715 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.636, allocations: 8 kB / 0.5715 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.846e-05/0.6361, allocations: 19.94 kB / 0.5715 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.6371, allocations: 231.6 kB / 0.5717 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-05/0.6371, allocations: 15.94 kB / 0.5718 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6387, allocations: 96.81 kB / 0.5718 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.6388, allocations: 35.98 kB / 0.5719 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001405/0.6403, allocations: 0.5839 MB / 0.5724 GB, free: 3.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00098/0.6412, allocations: 0.6307 MB / 0.5731 GB, free: 2.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001639/0.6429, allocations: 0.8863 MB / 0.5739 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.6429, allocations: 0 / 0.5739 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002203/0.6451, allocations: 1.028 MB / 0.5749 GB, free: 500 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.6452, allocations: 8 kB / 0.5749 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6452, allocations: 8 kB / 0.5749 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6452, allocations: 12 kB / 0.575 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.646, allocations: 220.4 kB / 0.5752 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.646, allocations: 24.48 kB / 0.5752 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6472, allocations: 84.14 kB / 0.5753 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.6473, allocations: 40 kB / 0.5753 GB, free: 104 kB / 446.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.0004147/0.6477, allocations: 236.9 kB / 0.5755 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.6479, allocations: 138.3 kB / 0.5757 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.6504, allocations: 0.938 MB / 0.5766 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.6504, allocations: 8 kB / 0.5766 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.6505, allocations: 0 / 0.5766 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001991/0.6525, allocations: 0.8334 MB / 0.5774 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/0.6579, allocations: 2.487 MB / 0.5798 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6579, allocations: 4.062 kB / 0.5798 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.6587, allocations: 163.7 kB / 0.58 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.6589, allocations: 78.56 kB / 0.5801 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.659, allocations: 23.98 kB / 0.5801 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009394/0.66, allocations: 1.16 MB / 0.5812 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.66, allocations: 4.812 kB / 0.5812 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/0.6633, allocations: 1.504 MB / 0.5827 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/0.664, allocations: 311.3 kB / 0.583 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.6643, allocations: 19.94 kB / 0.583 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.6652, allocations: 71.98 kB / 0.5831 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.6653, allocations: 64.23 kB / 0.5831 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.6654, allocations: 31.98 kB / 0.5832 GB, free: 7.688 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.6667, allocations: 0.8905 MB / 0.584 GB, free: 6.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6667, allocations: 0 / 0.584 GB, free: 6.797 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002073/0.6688, allocations: 0.6444 MB / 0.5847 GB, free: 6.152 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 (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.0008627/0.6697, allocations: 380.6 kB / 0.585 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.6729, allocations: 1.329 MB / 0.5863 GB, free: 4.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6729, allocations: 0 / 0.5863 GB, free: 4.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6739, allocations: 426.8 kB / 0.5867 GB, free: 4.051 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003879/0.6778, allocations: 0.8804 MB / 0.5876 GB, free: 3.254 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.682, allocations: 2.473 MB / 0.59 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.6828, allocations: 1.195 MB / 0.5912 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001433/0.6842, allocations: 332.7 kB / 0.5915 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.6845, allocations: 111.4 kB / 0.5916 GB, free: 15.04 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6845, allocations: 0 / 0.5916 GB, free: 15.04 MB / 478.1 MB Notification: Performance of Templates: time 0.05666/0.7411, allocations: 31.2 MB / 0.6221 GB, free: 88 kB / 494.1 MB 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)