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.008832/0.008831, allocations: 356 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.591/1.591, allocations: 165.8 MB / 182.5 MB, free: 5.492 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.844/3.844, allocations: 410.8 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001743/0.001743, allocations: 196.6 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 19.92 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3318, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.09508/0.4269, allocations: 69.37 MB / 0.8759 GB, free: 7.242 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04312/0.4701, allocations: 13.89 MB / 0.8894 GB, free: 9.328 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003436/0.4736, allocations: 51.62 kB / 0.8895 GB, free: 9.277 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004685/0.4783, allocations: 0.6909 MB / 0.8902 GB, free: 8.582 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01598/0.4944, allocations: 2.434 MB / 0.8925 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006529/0.501, allocations: 1.537 MB / 0.894 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008691/0.5097, allocations: 4.789 MB / 0.8987 GB, free: 15.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.5121, allocations: 1.013 MB / 0.8997 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.5154, allocations: 1.236 MB / 0.9009 GB, free: 13.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.518, allocations: 1.093 MB / 0.902 GB, free: 12.44 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.5184, allocations: 56 kB / 0.902 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.5213, allocations: 0.748 MB / 0.9028 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005749/0.522, allocations: 270.7 kB / 0.903 GB, free: 11.37 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.5227, allocations: 356.9 kB / 0.9034 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.5267, allocations: 2.042 MB / 0.9054 GB, free: 8.969 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.5267, allocations: 3.938 kB / 0.9054 GB, free: 8.965 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.768e-06/0.5267, allocations: 0 / 0.9054 GB, free: 8.965 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.5268, allocations: 0 / 0.9054 GB, free: 8.965 MB / 458.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.004697/0.5315, allocations: 1.783 MB / 0.9071 GB, free: 7.117 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.5316, allocations: 8.031 kB / 0.9071 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.5335, allocations: 249.9 kB / 0.9074 GB, free: 6.863 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.5375, allocations: 1.431 MB / 0.9088 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.459e-05/0.5377, allocations: 82 kB / 0.9088 GB, free: 5.297 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.5379, allocations: 100 kB / 0.9089 GB, free: 5.199 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.5411, allocations: 1.116 MB / 0.91 GB, free: 4.047 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.5412, allocations: 11.83 kB / 0.91 GB, free: 4.035 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.5413, allocations: 40 kB / 0.9101 GB, free: 3.996 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/0.5414, allocations: 28 kB / 0.9101 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.5444, allocations: 0.9251 MB / 0.911 GB, free: 3.047 MB / 458.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.00971/0.5542, allocations: 4.911 MB / 0.9158 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.5564, allocations: 0.6467 MB / 0.9164 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.5575, allocations: 370.3 kB / 0.9168 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009386/0.5585, allocations: 0.8199 MB / 0.9176 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.5586, allocations: 43.12 kB / 0.9176 GB, free: 11.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=61): time 4.383e-06/0.5586, allocations: 4 kB / 0.9176 GB, free: 11.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.009444/0.5681, allocations: 1.892 MB / 0.9195 GB, free: 9.848 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.5682, allocations: 59.97 kB / 0.9195 GB, free: 9.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.5707, allocations: 1.198 MB / 0.9207 GB, free: 8.562 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.5709, allocations: 37.7 kB / 0.9207 GB, free: 8.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007449/0.5717, allocations: 0.6026 MB / 0.9213 GB, free: 7.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.572, allocations: 208.9 kB / 0.9215 GB, free: 7.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.5721, allocations: 16 kB / 0.9215 GB, free: 7.688 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.5723, allocations: 337.9 kB / 0.9219 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.5734, allocations: 297.8 kB / 0.9221 GB, free: 7.062 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.5746, allocations: 0.5123 MB / 0.9226 GB, free: 6.473 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5758, allocations: 363 kB / 0.923 GB, free: 6.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.172e-06/0.5758, allocations: 0 / 0.923 GB, free: 6.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006546/0.5823, allocations: 1.398 MB / 0.9244 GB, free: 4.707 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.5826, allocations: 202.3 kB / 0.9245 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.5826, allocations: 4 kB / 0.9246 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007848/0.5834, allocations: 144.7 kB / 0.9247 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.5844, allocations: 167.8 kB / 0.9249 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.5856, allocations: 0.72 MB / 0.9256 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.5874, allocations: 171 kB / 0.9257 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.5875, allocations: 31.98 kB / 0.9257 GB, free: 3.203 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5876, allocations: 6.656 kB / 0.9258 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005771/0.5933, allocations: 1.253 MB / 0.927 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.5934, allocations: 4 kB / 0.927 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007321/0.5941, allocations: 153.2 kB / 0.9271 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.5951, allocations: 171.7 kB / 0.9273 GB, free: 1.617 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.5963, allocations: 0.7123 MB / 0.928 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.598, allocations: 163.9 kB / 0.9281 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5981, allocations: 35.98 kB / 0.9282 GB, free: 0.6836 MB / 474.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.0009174/0.599, allocations: 424.9 kB / 0.9286 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.5994, allocations: 134.4 kB / 0.9287 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.316/0.9154, allocations: 1.382 MB / 0.9301 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.9155, allocations: 15.08 kB / 0.9301 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.9155, allocations: 1.406 kB / 0.9301 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005689/0.9212, allocations: 1.229 MB / 0.9313 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009049/0.9303, allocations: 2.728 MB / 0.9339 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.9304, allocations: 2.562 kB / 0.9339 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/0.9311, allocations: 125.9 kB / 0.9341 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006616/0.9318, allocations: 143.7 kB / 0.9342 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.235e-05/0.9319, allocations: 19.22 kB / 0.9342 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006005/0.938, allocations: 2.467 MB / 0.9366 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.911e-06/0.938, allocations: 7.781 kB / 0.9366 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006926/0.9449, allocations: 1.847 MB / 0.9384 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009555/0.9459, allocations: 331.9 kB / 0.9388 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.9463, allocations: 26.19 kB / 0.9388 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.9476, allocations: 94.16 kB / 0.9389 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.9478, allocations: 64.52 kB / 0.9389 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.9479, allocations: 36.02 kB / 0.939 GB, free: 111.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001849/0.9498, allocations: 0.8574 MB / 0.9398 GB, free: 111 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.9498, allocations: 0 / 0.9398 GB, free: 111 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002705/0.9526, allocations: 0.7051 MB / 0.9405 GB, free: 110.9 MB / 474.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.0009342/0.9535, allocations: 422 kB / 0.9409 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003527/0.9571, allocations: 1.163 MB / 0.942 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.122e-06/0.9571, allocations: 0 / 0.942 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.9591, allocations: 0.6038 MB / 0.9426 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/0.9639, allocations: 0.764 MB / 0.9434 GB, free: 109.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.969, allocations: 2.767 MB / 0.9461 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.9698, allocations: 1.195 MB / 0.9472 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001931/0.9718, allocations: 303.4 kB / 0.9475 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.9721, allocations: 107.3 kB / 0.9476 GB, free: 106.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.771e-06/0.9721, allocations: 0 / 0.9476 GB, free: 106.1 MB / 474.7 MB Notification: Performance of Templates: time 0.05869/1.031, allocations: 29.64 MB / 0.9766 GB, free: 76.82 MB / 474.7 MB