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.008561/0.008561, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001621/0.001621, allocations: 194.7 kB / 16.68 MB, free: 6.355 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.548/1.548, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4013/0.4013, allocations: 54.94 MB / 324.8 MB, free: 44 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.002152/0.002152, allocations: 72.98 kB / 456.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1686, allocations: 59.59 MB / 0.5038 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07097/0.2397, allocations: 74.51 MB / 0.5766 GB, free: 56 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.2615, allocations: 14.2 MB / 0.5905 GB, free: 1.812 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.2659, allocations: 59.69 kB / 0.5905 GB, free: 1.754 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004284/0.2703, allocations: 0.8929 MB / 0.5914 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009384/0.2798, allocations: 2.519 MB / 0.5938 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.2849, allocations: 1.244 MB / 0.5951 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008652/0.2936, allocations: 4.365 MB / 0.5993 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.2968, allocations: 1.406 MB / 0.6007 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005259/0.3021, allocations: 1.706 MB / 0.6024 GB, free: 5.566 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.3052, allocations: 1.291 MB / 0.6036 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007473/0.306, allocations: 164 kB / 0.6038 GB, free: 4.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004021/0.31, allocations: 1.236 MB / 0.605 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009317/0.311, allocations: 410.6 kB / 0.6054 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002937/0.3139, allocations: 0.941 MB / 0.6063 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007023/0.321, allocations: 2.843 MB / 0.6091 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.321, allocations: 0 / 0.6091 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.321, allocations: 0 / 0.6091 GB, free: 14.67 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.015e-05/0.3211, allocations: 0 / 0.6091 GB, free: 14.67 MB / 494.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.005565/0.3267, allocations: 2.102 MB / 0.6111 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3268, allocations: 8.031 kB / 0.6111 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.3281, allocations: 250.8 kB / 0.6114 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.3316, allocations: 1.473 MB / 0.6128 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/0.3317, allocations: 86.11 kB / 0.6129 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.332, allocations: 104 kB / 0.613 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.3353, allocations: 1.374 MB / 0.6143 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.3354, allocations: 7.938 kB / 0.6143 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.3355, allocations: 44 kB / 0.6144 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.3356, allocations: 39.94 kB / 0.6144 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.3384, allocations: 1.03 MB / 0.6154 GB, free: 7.91 MB / 494.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.009902/0.3484, allocations: 6.567 MB / 0.6218 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.3507, allocations: 0.6315 MB / 0.6225 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009007/0.3516, allocations: 343.4 kB / 0.6228 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/0.3522, allocations: 333 kB / 0.6231 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.3522, allocations: 47.12 kB / 0.6231 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 5.31e-06/0.3523, allocations: 0 / 0.6231 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.007853/0.3601, allocations: 2.315 MB / 0.6254 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.3603, allocations: 162.8 kB / 0.6256 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.3629, allocations: 1.267 MB / 0.6268 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.3631, allocations: 41.7 kB / 0.6268 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007013/0.3638, allocations: 0.6606 MB / 0.6275 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.3641, allocations: 244.5 kB / 0.6277 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.3644, allocations: 182.5 kB / 0.6279 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3646, allocations: 338 kB / 0.6282 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008896/0.3655, allocations: 336.6 kB / 0.6285 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.3667, allocations: 0.6535 MB / 0.6292 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.3687, allocations: 0.9255 MB / 0.6301 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.3687, allocations: 0 / 0.6301 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002898/0.3716, allocations: 1.079 MB / 0.6311 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.3717, allocations: 8 kB / 0.6311 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.3717, allocations: 8 kB / 0.6311 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.828e-05/0.3718, allocations: 15.94 kB / 0.6312 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.3728, allocations: 236.2 kB / 0.6314 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.869e-05/0.3729, allocations: 15.94 kB / 0.6314 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.3744, allocations: 75.92 kB / 0.6315 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.3745, allocations: 39.98 kB / 0.6315 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001421/0.3759, allocations: 0.5839 MB / 0.6321 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/0.377, allocations: 0.6379 MB / 0.6327 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001728/0.3787, allocations: 0.8907 MB / 0.6336 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.77e-06/0.3787, allocations: 0 / 0.6336 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002484/0.3812, allocations: 1.021 MB / 0.6346 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3813, allocations: 8 kB / 0.6346 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3813, allocations: 8 kB / 0.6346 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3813, allocations: 12 kB / 0.6346 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008579/0.3822, allocations: 223.6 kB / 0.6348 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.3822, allocations: 19.88 kB / 0.6348 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.3836, allocations: 84.42 kB / 0.6349 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.3837, allocations: 40 kB / 0.635 GB, free: 2.758 MB / 0.4981 GB 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.0003644/0.3841, allocations: 236 kB / 0.6352 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.3846, allocations: 138.3 kB / 0.6353 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.3872, allocations: 0.9454 MB / 0.6362 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.3872, allocations: 8 kB / 0.6362 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3872, allocations: 0 / 0.6362 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/0.3891, allocations: 0.8334 MB / 0.6371 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3514/0.7405, allocations: 2.473 MB / 0.6395 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.7406, allocations: 8.984 kB / 0.6395 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.7413, allocations: 157.6 kB / 0.6396 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.7416, allocations: 80.22 kB / 0.6397 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.7416, allocations: 25.97 kB / 0.6397 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005904/0.7422, allocations: 1.162 MB / 0.6409 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.7422, allocations: 6.625 kB / 0.6409 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.7455, allocations: 1.506 MB / 0.6423 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007068/0.7463, allocations: 307.3 kB / 0.6426 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.7465, allocations: 20.16 kB / 0.6427 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.7474, allocations: 65.53 kB / 0.6427 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.7476, allocations: 62.09 kB / 0.6428 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.7477, allocations: 33.36 kB / 0.6428 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001979/0.7497, allocations: 0.8961 MB / 0.6437 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7497, allocations: 0 / 0.6437 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002997/0.7527, allocations: 0.6376 MB / 0.6443 GB, free: 124.7 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.0009283/0.7536, allocations: 378.1 kB / 0.6447 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003411/0.7571, allocations: 1.288 MB / 0.6459 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/0.7571, allocations: 5.5 kB / 0.6459 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.7585, allocations: 424.8 kB / 0.6463 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/0.7632, allocations: 0.8715 MB / 0.6472 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.7673, allocations: 2.443 MB / 0.6496 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007484/0.7681, allocations: 1.195 MB / 0.6507 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001464/0.7696, allocations: 338.2 kB / 0.6511 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.7699, allocations: 110 kB / 0.6512 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.7699, allocations: 0 / 0.6512 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.0404/0.8103, allocations: 31.4 MB / 0.6818 GB, free: 94.21 MB / 0.4981 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)