Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.376/2.376, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001729/0.001729, allocations: 178.8 kB / 325.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.532/2.532, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001692/0.001692, allocations: 102.5 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006422, allocations: 11.69 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2312, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07845/0.3097, allocations: 62.98 MB / 0.9604 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03859/0.3483, allocations: 12.86 MB / 0.9729 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/0.3517, allocations: 51.62 kB / 0.973 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005729/0.3575, allocations: 0.7423 MB / 0.9737 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01612/0.3737, allocations: 2.351 MB / 0.976 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.3846, allocations: 1.435 MB / 0.9774 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009856/0.3945, allocations: 2.492 MB / 0.9798 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.3985, allocations: 1.029 MB / 0.9808 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/0.4046, allocations: 1.16 MB / 0.982 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.4079, allocations: 0.7895 MB / 0.9828 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007435/0.4087, allocations: 56 kB / 0.9828 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/0.4146, allocations: 0.8309 MB / 0.9836 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.4158, allocations: 254.9 kB / 0.9839 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.4172, allocations: 356.9 kB / 0.9842 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007172/0.4244, allocations: 2.007 MB / 0.9862 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4245, allocations: 0 / 0.9862 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.035e-06/0.4245, allocations: 0 / 0.9862 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.586e-05/0.4246, allocations: 4 kB / 0.9862 GB, free: 7.852 MB / 0.6355 GB 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.005902/0.4305, allocations: 1.783 MB / 0.9879 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4306, allocations: 12.02 kB / 0.9879 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.4321, allocations: 241.9 kB / 0.9881 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/0.4366, allocations: 1.361 MB / 0.9895 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.4368, allocations: 78 kB / 0.9896 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.4372, allocations: 100 kB / 0.9896 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.441, allocations: 1.104 MB / 0.9907 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.4411, allocations: 0 / 0.9907 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.4413, allocations: 43.95 kB / 0.9908 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.4414, allocations: 24 kB / 0.9908 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.4452, allocations: 0.9251 MB / 0.9917 GB, free: 2.031 MB / 0.6355 GB 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.01042/0.4556, allocations: 4.958 MB / 0.9965 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.4582, allocations: 0.6473 MB / 0.9972 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/0.4591, allocations: 0.8199 MB / 0.998 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.4592, allocations: 39.12 kB / 0.998 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.446e-06/0.4592, allocations: 0 / 0.998 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.01374/0.473, allocations: 1.901 MB / 0.9999 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.4731, allocations: 59.97 kB / 0.9999 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.4758, allocations: 1.241 MB / 1.001 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.4761, allocations: 45.64 kB / 1.001 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007974/0.4769, allocations: 0.6026 MB / 1.002 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.4772, allocations: 212.9 kB / 1.002 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.4773, allocations: 16 kB / 1.002 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4775, allocations: 337.9 kB / 1.002 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.4788, allocations: 293.8 kB / 1.003 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.4802, allocations: 0.5007 MB / 1.003 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.4817, allocations: 363 kB / 1.003 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4817, allocations: 0 / 1.003 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008893/0.4906, allocations: 1.39 MB / 1.005 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006056/0.4913, allocations: 1.427 MB / 1.006 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.4913, allocations: 4 kB / 1.006 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.4924, allocations: 144.7 kB / 1.006 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.4937, allocations: 163.8 kB / 1.006 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.4951, allocations: 0.7279 MB / 1.007 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.4974, allocations: 179.7 kB / 1.007 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4975, allocations: 28 kB / 1.007 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4976, allocations: 0 / 1.007 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008374/0.5059, allocations: 1.257 MB / 1.009 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.506, allocations: 4 kB / 1.009 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008841/0.5069, allocations: 145 kB / 1.009 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.5082, allocations: 163.8 kB / 1.009 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.5095, allocations: 0.7201 MB / 1.01 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.5117, allocations: 163.2 kB / 1.01 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.5119, allocations: 31.98 kB / 1.01 GB, free: 14.69 MB / 0.6667 GB 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.001008/0.5129, allocations: 412.9 kB / 1.01 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.5134, allocations: 130.4 kB / 1.01 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008612/0.522, allocations: 1.415 MB / 1.012 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/0.5221, allocations: 7.953 kB / 1.012 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.5221, allocations: 4 kB / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008129/0.5302, allocations: 1.232 MB / 1.013 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.5435, allocations: 2.75 MB / 1.016 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.5436, allocations: 4 kB / 1.016 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.5446, allocations: 115.9 kB / 1.016 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008697/0.5455, allocations: 141.1 kB / 1.016 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.851e-05/0.5456, allocations: 20 kB / 1.016 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008844/0.5545, allocations: 2.567 MB / 1.018 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5545, allocations: 4 kB / 1.018 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.5649, allocations: 2.046 MB / 1.02 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.566, allocations: 347.1 kB / 1.021 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/0.5664, allocations: 16 kB / 1.021 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.5682, allocations: 97.81 kB / 1.021 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.5685, allocations: 60.25 kB / 1.021 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5686, allocations: 31.97 kB / 1.021 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002192/0.5708, allocations: 0.9012 MB / 1.022 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.72e-07/0.5709, allocations: 0 / 1.022 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003362/0.5742, allocations: 0.7213 MB / 1.022 GB, free: 1.129 MB / 0.6667 GB 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.001286/0.5756, allocations: 447.2 kB / 1.023 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004573/0.5802, allocations: 1.164 MB / 1.024 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5802, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002737/0.583, allocations: 0.5956 MB / 1.025 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/0.5894, allocations: 0.7616 MB / 1.025 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.5962, allocations: 2.762 MB / 1.028 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.5973, allocations: 1.199 MB / 1.029 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002091/0.5994, allocations: 314.9 kB / 1.03 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.5998, allocations: 103.4 kB / 1.03 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/0.5999, allocations: 4 kB / 1.03 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of Templates: time 0.6548/1.255, allocations: 30.16 MB / 1.059 GB, free: 148 MB / 0.698 GB