Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.595/2.595, allocations: 287.9 MB / 302.9 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002552/0.002552, allocations: 173.2 kB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001011, allocations: 88.56 kB / 0.7434 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004723, allocations: 15.38 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.08553/0.2426, allocations: 62.99 MB / 1.04 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02991/0.2726, allocations: 12.88 MB / 1.053 GB, free: 192 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.275, allocations: 51.62 kB / 1.053 GB, free: 140 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.2781, allocations: 0.7462 MB / 1.054 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008942/0.2871, allocations: 2.354 MB / 1.056 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006369/0.2935, allocations: 1.539 MB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005791/0.2993, allocations: 2.491 MB / 1.06 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.3016, allocations: 1.037 MB / 1.061 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.3049, allocations: 1.16 MB / 1.062 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.3068, allocations: 0.7856 MB / 1.063 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.3072, allocations: 56 kB / 1.063 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.3104, allocations: 0.8425 MB / 1.064 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005372/0.311, allocations: 262.9 kB / 1.064 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/0.3117, allocations: 356.9 kB / 1.064 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.3156, allocations: 2.018 MB / 1.066 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3156, allocations: 4 kB / 1.066 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.563e-06/0.3156, allocations: 0 / 1.066 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.3157, allocations: 0 / 1.066 GB, free: 2.469 MB / 0.6823 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.004559/0.3203, allocations: 1.783 MB / 1.068 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3203, allocations: 8.031 kB / 1.068 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.3216, allocations: 241.8 kB / 1.068 GB, free: 384 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5057/0.8273, allocations: 1.364 MB / 1.07 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.8274, allocations: 76.22 kB / 1.07 GB, free: 91.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.8277, allocations: 102.4 kB / 1.07 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.8305, allocations: 1.107 MB / 1.071 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.8306, allocations: 2.875 kB / 1.071 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.8308, allocations: 43.44 kB / 1.071 GB, free: 90.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.8308, allocations: 25.22 kB / 1.071 GB, free: 90.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.8335, allocations: 0.9256 MB / 1.072 GB, free: 90.35 MB / 0.6823 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.008801/0.8424, allocations: 4.964 MB / 1.077 GB, free: 87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.8445, allocations: 0.6338 MB / 1.077 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005631/0.8451, allocations: 0.8286 MB / 1.078 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.8451, allocations: 49.5 kB / 1.078 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.238e-06/0.8452, allocations: 0.8125 kB / 1.078 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.009179/0.8543, allocations: 1.884 MB / 1.08 GB, free: 85.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.8544, allocations: 59.28 kB / 1.08 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.857, allocations: 1.244 MB / 1.081 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.8572, allocations: 40.86 kB / 1.081 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/0.8578, allocations: 0.6035 MB / 1.082 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.8581, allocations: 222.4 kB / 1.082 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.8581, allocations: 14.94 kB / 1.082 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.8582, allocations: 333.4 kB / 1.082 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009577/0.8592, allocations: 297.7 kB / 1.083 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.8603, allocations: 0.5002 MB / 1.083 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.8614, allocations: 366.8 kB / 1.083 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.992e-06/0.8614, allocations: 0.875 kB / 1.083 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006073/0.8675, allocations: 1.399 MB / 1.085 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.8678, allocations: 1.418 MB / 1.086 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.8679, allocations: 4.281 kB / 1.086 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/0.8687, allocations: 146.5 kB / 1.086 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.8696, allocations: 170 kB / 1.087 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.8707, allocations: 0.7113 MB / 1.087 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.8724, allocations: 177.7 kB / 1.087 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.8726, allocations: 35.12 kB / 1.087 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.8726, allocations: 4.656 kB / 1.087 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005513/0.8781, allocations: 1.245 MB / 1.089 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.8782, allocations: 4.328 kB / 1.089 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.8789, allocations: 154.7 kB / 1.089 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.8798, allocations: 166.3 kB / 1.089 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009678/0.8808, allocations: 0.7104 MB / 1.09 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.8825, allocations: 164.9 kB / 1.09 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.8827, allocations: 33.31 kB / 1.09 GB, free: 79.56 MB / 0.6823 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.0008576/0.8836, allocations: 425.1 kB / 1.09 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.884, allocations: 131.6 kB / 1.09 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0058/0.8898, allocations: 1.405 MB / 1.092 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.8899, allocations: 14.48 kB / 1.092 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.921e-06/0.8899, allocations: 1.188 kB / 1.092 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005232/0.8951, allocations: 1.229 MB / 1.093 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008694/0.9039, allocations: 2.752 MB / 1.096 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.9039, allocations: 7.219 kB / 1.096 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.9046, allocations: 126.2 kB / 1.096 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006663/0.9053, allocations: 139.7 kB / 1.096 GB, free: 77.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-05/0.9054, allocations: 18.94 kB / 1.096 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006021/0.9115, allocations: 2.551 MB / 1.098 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.9115, allocations: 8.016 kB / 1.098 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006973/0.9185, allocations: 2.06 MB / 1.1 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.9196, allocations: 349.5 kB / 1.101 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.9198, allocations: 16.19 kB / 1.101 GB, free: 73.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.9212, allocations: 96.47 kB / 1.101 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.9214, allocations: 60.28 kB / 1.101 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.9215, allocations: 34.84 kB / 1.101 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00176/0.9233, allocations: 0.8969 MB / 1.102 GB, free: 73.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.98e-07/0.9233, allocations: 0 / 1.102 GB, free: 73.47 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002684/0.926, allocations: 0.7223 MB / 1.103 GB, free: 73.36 MB / 0.6823 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.0009351/0.927, allocations: 456.3 kB / 1.103 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003432/0.9304, allocations: 1.152 MB / 1.104 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.826e-06/0.9305, allocations: 1.25 kB / 1.104 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.9325, allocations: 0.6057 MB / 1.105 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/0.9369, allocations: 0.7566 MB / 1.105 GB, free: 72.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.9419, allocations: 2.754 MB / 1.108 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/0.9428, allocations: 1.205 MB / 1.109 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001895/0.9447, allocations: 306.3 kB / 1.11 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.9451, allocations: 103 kB / 1.11 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.719e-06/0.9451, allocations: 1.031 kB / 1.11 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of Templates: time 0.06482/1.01, allocations: 30.31 MB / 1.139 GB, free: 46.03 MB / 0.6823 GB