Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002893/0.002892, allocations: 188.8 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7163/0.7163, allocations: 82.93 MB / 99.42 MB, free: 3.215 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.43/2.43, allocations: 205.4 MB / 325.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001637/0.001636, allocations: 108.7 kB / 393.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004512, allocations: 20 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 67.45 MB / 0.5263 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.4424/0.5553, allocations: 62.92 MB / 0.5878 GB, free: 28.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.577, allocations: 12.87 MB / 0.6004 GB, free: 28.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.5795, allocations: 53.53 kB / 0.6004 GB, free: 28.89 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.5826, allocations: 0.7428 MB / 0.6011 GB, free: 28.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009213/0.5918, allocations: 2.355 MB / 0.6034 GB, free: 28.86 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006378/0.5982, allocations: 1.549 MB / 0.605 GB, free: 28.8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005532/0.6038, allocations: 2.492 MB / 0.6074 GB, free: 28.8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.6062, allocations: 1.031 MB / 0.6084 GB, free: 28.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.6094, allocations: 1.17 MB / 0.6095 GB, free: 28.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.6113, allocations: 0.7836 MB / 0.6103 GB, free: 28.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.6117, allocations: 56.59 kB / 0.6104 GB, free: 28.54 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.6152, allocations: 0.8347 MB / 0.6112 GB, free: 28.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005501/0.6158, allocations: 263.9 kB / 0.6114 GB, free: 28.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.6166, allocations: 356.4 kB / 0.6118 GB, free: 28.38 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.6203, allocations: 2.02 MB / 0.6137 GB, free: 28.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.089e-06/0.6203, allocations: 0 / 0.6137 GB, free: 28.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.432e-06/0.6203, allocations: 0 / 0.6137 GB, free: 28.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.807e-05/0.6204, allocations: 0 / 0.6137 GB, free: 28.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004555/0.6249, allocations: 1.783 MB / 0.6155 GB, free: 27.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.625, allocations: 8.719 kB / 0.6155 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.6263, allocations: 247.3 kB / 0.6157 GB, free: 27.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.6299, allocations: 1.373 MB / 0.6171 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.63, allocations: 76.94 kB / 0.6171 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.6302, allocations: 106.8 kB / 0.6172 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.6331, allocations: 1.105 MB / 0.6183 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.6332, allocations: 5.078 kB / 0.6183 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.6333, allocations: 42.94 kB / 0.6184 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.6334, allocations: 28.23 kB / 0.6184 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.6361, allocations: 0.9253 MB / 0.6193 GB, free: 26.59 MB / 426.7 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.007721/0.6439, allocations: 4.965 MB / 0.6241 GB, free: 23.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.6457, allocations: 0.6358 MB / 0.6248 GB, free: 22.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/0.6463, allocations: 0.8225 MB / 0.6256 GB, free: 21.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.6463, allocations: 43.25 kB / 0.6256 GB, free: 21.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 3.876e-06/0.6464, allocations: 0 / 0.6256 GB, free: 21.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.008724/0.6551, allocations: 1.883 MB / 0.6274 GB, free: 20.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.6552, allocations: 60.58 kB / 0.6275 GB, free: 20.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.6574, allocations: 1.253 MB / 0.6287 GB, free: 20.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.6576, allocations: 40.61 kB / 0.6288 GB, free: 20.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.6581, allocations: 0.5978 MB / 0.6293 GB, free: 19.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.6583, allocations: 219.9 kB / 0.6296 GB, free: 19.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.6584, allocations: 12 kB / 0.6296 GB, free: 19.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.6585, allocations: 338.6 kB / 0.6299 GB, free: 18.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008516/0.6593, allocations: 294.3 kB / 0.6302 GB, free: 18.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/0.6603, allocations: 0.5071 MB / 0.6307 GB, free: 18.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.6613, allocations: 359 kB / 0.631 GB, free: 18.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.077e-06/0.6613, allocations: 0 / 0.631 GB, free: 18.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005801/0.6671, allocations: 1.398 MB / 0.6324 GB, free: 17.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.6674, allocations: 1.427 MB / 0.6338 GB, free: 16.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6675, allocations: 3.719 kB / 0.6338 GB, free: 16.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/0.6682, allocations: 152.1 kB / 0.6339 GB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.6691, allocations: 160.2 kB / 0.6341 GB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009239/0.6701, allocations: 0.7174 MB / 0.6348 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.6718, allocations: 181.3 kB / 0.6349 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.6719, allocations: 31.14 kB / 0.635 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6719, allocations: 2.562 kB / 0.635 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005204/0.6772, allocations: 1.251 MB / 0.6362 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.6772, allocations: 7.281 kB / 0.6362 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.6779, allocations: 147.7 kB / 0.6363 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/0.6787, allocations: 161.8 kB / 0.6365 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009253/0.6796, allocations: 0.7131 MB / 0.6372 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.6813, allocations: 176.4 kB / 0.6374 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.6815, allocations: 30.48 kB / 0.6374 GB, free: 13.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008472/0.6824, allocations: 418.5 kB / 0.6378 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.6828, allocations: 137.2 kB / 0.6379 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006186/0.689, allocations: 1.4 MB / 0.6393 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.689, allocations: 5.344 kB / 0.6393 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.689, allocations: 0 / 0.6393 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005232/0.6943, allocations: 1.232 MB / 0.6405 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007971/0.7023, allocations: 2.763 MB / 0.6432 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.7024, allocations: 3.281 kB / 0.6432 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.703, allocations: 117.4 kB / 0.6433 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006105/0.7037, allocations: 153.4 kB / 0.6435 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.7037, allocations: 20.67 kB / 0.6435 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005679/0.7094, allocations: 2.549 MB / 0.646 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.7095, allocations: 7.984 kB / 0.646 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/0.7159, allocations: 2.061 MB / 0.648 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009761/0.7169, allocations: 343 kB / 0.6483 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.7172, allocations: 19.98 kB / 0.6483 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7184, allocations: 91.91 kB / 0.6484 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.7186, allocations: 60.27 kB / 0.6485 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.293e-05/0.7187, allocations: 31.97 kB / 0.6485 GB, free: 4.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001573/0.7203, allocations: 0.8972 MB / 0.6494 GB, free: 3.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.7203, allocations: 0 / 0.6494 GB, free: 3.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002648/0.723, allocations: 0.7174 MB / 0.6501 GB, free: 3.094 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.7242, allocations: 462.9 kB / 0.6505 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005447/0.7297, allocations: 1.157 MB / 0.6517 GB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.7297, allocations: 0 / 0.6517 GB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002964/0.7327, allocations: 0.5995 MB / 0.6522 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007368/0.7401, allocations: 0.7497 MB / 0.653 GB, free: 172 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009853/0.75, allocations: 2.757 MB / 0.6557 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/0.7519, allocations: 1.2 MB / 0.6568 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003303/0.7552, allocations: 307 kB / 0.6571 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.7559, allocations: 103.4 kB / 0.6572 GB, free: 11.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.282e-06/0.7559, allocations: 0 / 0.6572 GB, free: 11.7 MB / 442.7 MB Notification: Performance of Templates: time 0.09282/0.8488, allocations: 30.31 MB / 0.6868 GB, free: 13.7 MB / 474.7 MB