Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008749, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006714/0.006715, allocations: 170 kB / 16.26 MB, free: 6.613 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.49/1.49, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005706/0.0005706, allocations: 13.41 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2397, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07739/0.3172, allocations: 73.46 MB / 0.8596 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.3413, allocations: 14.93 MB / 0.8742 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/0.3454, allocations: 55.62 kB / 0.8742 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002938/0.3484, allocations: 0.6759 MB / 0.8749 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00812/0.3565, allocations: 2.368 MB / 0.8772 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004477/0.361, allocations: 1.288 MB / 0.8785 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007396/0.3685, allocations: 5.523 MB / 0.8839 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/0.3712, allocations: 1.147 MB / 0.885 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.3746, allocations: 1.33 MB / 0.8863 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.3772, allocations: 1.151 MB / 0.8874 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005216/0.3777, allocations: 56 kB / 0.8875 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.3814, allocations: 1.247 MB / 0.8887 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007488/0.3822, allocations: 290.6 kB / 0.889 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.3842, allocations: 0.7984 MB / 0.8897 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006008/0.3902, allocations: 2.714 MB / 0.8924 GB, free: 192 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3903, allocations: 0 / 0.8924 GB, free: 192 kB / 0.7012 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3903, allocations: 0 / 0.8924 GB, free: 192 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001033/0.3904, allocations: 4 kB / 0.8924 GB, free: 188 kB / 0.7012 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.004976/0.3954, allocations: 1.791 MB / 0.8941 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.3954, allocations: 8.031 kB / 0.8942 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.3968, allocations: 242.8 kB / 0.8944 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/0.4009, allocations: 1.481 MB / 0.8958 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/0.401, allocations: 74 kB / 0.8959 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.4014, allocations: 100 kB / 0.896 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.4043, allocations: 1.128 MB / 0.8971 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.4044, allocations: 3.906 kB / 0.8971 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.4046, allocations: 43.94 kB / 0.8971 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.4047, allocations: 24 kB / 0.8972 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.4073, allocations: 0.9329 MB / 0.8981 GB, free: 10.21 MB / 0.7169 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.007743/0.4151, allocations: 4.934 MB / 0.9029 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.4167, allocations: 0.6428 MB / 0.9035 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/0.4175, allocations: 366.3 kB / 0.9039 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.4181, allocations: 0.8355 MB / 0.9047 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.4182, allocations: 39.12 kB / 0.9047 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.775e-06/0.4182, allocations: 0 / 0.9047 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007863/0.4261, allocations: 1.896 MB / 0.9066 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.4261, allocations: 63.97 kB / 0.9066 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.4281, allocations: 1.21 MB / 0.9078 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.4283, allocations: 41.7 kB / 0.9079 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.4289, allocations: 0.6026 MB / 0.9085 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.4291, allocations: 216.8 kB / 0.9087 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/0.4292, allocations: 69.67 kB / 0.9087 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4293, allocations: 333.9 kB / 0.909 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007446/0.4301, allocations: 297.8 kB / 0.9093 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/0.431, allocations: 0.5202 MB / 0.9098 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.4325, allocations: 0.7442 MB / 0.9106 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4326, allocations: 4 kB / 0.9106 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005225/0.4378, allocations: 1.402 MB / 0.9119 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.438, allocations: 197.9 kB / 0.9121 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.438, allocations: 4 kB / 0.9121 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/0.4386, allocations: 152.7 kB / 0.9123 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.4393, allocations: 167.7 kB / 0.9124 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009183/0.4403, allocations: 0.7162 MB / 0.9131 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.4417, allocations: 175.1 kB / 0.9133 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.4418, allocations: 39.86 kB / 0.9133 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.4419, allocations: 4 kB / 0.9133 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004862/0.4467, allocations: 1.25 MB / 0.9146 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4468, allocations: 4.062 kB / 0.9146 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.4473, allocations: 148.7 kB / 0.9147 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.448, allocations: 167.7 kB / 0.9149 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008909/0.4489, allocations: 0.7163 MB / 0.9156 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4503, allocations: 163.1 kB / 0.9157 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.4504, allocations: 35.98 kB / 0.9158 GB, free: 7.273 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007567/0.4511, allocations: 419.7 kB / 0.9162 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/0.4515, allocations: 130.4 kB / 0.9163 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005126/0.4567, allocations: 1.404 MB / 0.9177 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.4567, allocations: 11.98 kB / 0.9177 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4567, allocations: 0 / 0.9177 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004592/0.4613, allocations: 1.232 MB / 0.9189 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008217/0.4696, allocations: 2.735 MB / 0.9215 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.4696, allocations: 4 kB / 0.9215 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/0.4701, allocations: 123.8 kB / 0.9217 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005358/0.4707, allocations: 148.7 kB / 0.9218 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.4708, allocations: 19.98 kB / 0.9218 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4658/0.9366, allocations: 2.473 MB / 0.9242 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.9367, allocations: 4.156 kB / 0.9242 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006574/0.9433, allocations: 1.857 MB / 0.9261 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/0.9441, allocations: 333.5 kB / 0.9264 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.9443, allocations: 18.44 kB / 0.9264 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/0.9453, allocations: 92.95 kB / 0.9265 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.9455, allocations: 60.17 kB / 0.9265 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.9456, allocations: 31.52 kB / 0.9266 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001345/0.9469, allocations: 0.8682 MB / 0.9274 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9469, allocations: 0 / 0.9274 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002382/0.9493, allocations: 0.7106 MB / 0.9281 GB, free: 132.2 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.9503, allocations: 443 kB / 0.9285 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.9531, allocations: 1.179 MB / 0.9297 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.9532, allocations: 0 / 0.9297 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.9546, allocations: 0.5974 MB / 0.9303 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/0.959, allocations: 0.8092 MB / 0.9311 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.9627, allocations: 2.809 MB / 0.9338 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.9635, allocations: 1.172 MB / 0.9349 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001349/0.9648, allocations: 313 kB / 0.9352 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.9651, allocations: 111.6 kB / 0.9353 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.482e-06/0.9651, allocations: 0 / 0.9353 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.05747/1.023, allocations: 32.19 MB / 0.9668 GB, free: 115 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: