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.001451/0.001451, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 187.8 kB / 16.62 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.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.748/1.748, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001454/0.001454, allocations: 72.02 kB / 0.6722 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2309, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07762/0.3085, allocations: 75.2 MB / 0.8575 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.3305, allocations: 15.06 MB / 0.8722 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.3333, allocations: 63.62 kB / 0.8723 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.3363, allocations: 0.8345 MB / 0.8731 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007377/0.3437, allocations: 2.569 MB / 0.8756 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.3476, allocations: 1.405 MB / 0.877 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006418/0.3541, allocations: 4.353 MB / 0.8812 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.3566, allocations: 1.449 MB / 0.8827 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.3607, allocations: 1.636 MB / 0.8843 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.3633, allocations: 1.229 MB / 0.8855 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005348/0.3638, allocations: 164 kB / 0.8856 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.3675, allocations: 1.408 MB / 0.887 GB, free: 3.008 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006741/0.3682, allocations: 398.6 kB / 0.8874 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.3701, allocations: 0.9021 MB / 0.8883 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.377, allocations: 2.871 MB / 0.8911 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.377, allocations: 0 / 0.8911 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3771, allocations: 0 / 0.8911 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001307/0.3772, allocations: 8 kB / 0.8911 GB, free: 14.83 MB / 0.7169 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.006391/0.3836, allocations: 2.087 MB / 0.8931 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3837, allocations: 8.031 kB / 0.8931 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.3847, allocations: 230.8 kB / 0.8933 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.3877, allocations: 1.508 MB / 0.8948 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.3878, allocations: 74 kB / 0.8949 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.388, allocations: 108 kB / 0.895 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.3901, allocations: 1.1 MB / 0.8961 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.3902, allocations: 0 / 0.8961 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/0.3903, allocations: 36 kB / 0.8961 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.3903, allocations: 24 kB / 0.8961 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.3923, allocations: 0.8978 MB / 0.897 GB, free: 8.609 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.006229/0.3985, allocations: 4.93 MB / 0.9018 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.4, allocations: 0.6128 MB / 0.9024 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/0.4007, allocations: 364.8 kB / 0.9027 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/0.4014, allocations: 0.8277 MB / 0.9036 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4014, allocations: 43.12 kB / 0.9036 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.525e-06/0.4015, allocations: 0 / 0.9036 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007133/0.4086, allocations: 1.689 MB / 0.9052 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4087, allocations: 63.97 kB / 0.9053 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.4104, allocations: 1.221 MB / 0.9065 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.4105, allocations: 41.7 kB / 0.9065 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/0.411, allocations: 0.5949 MB / 0.9071 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.4112, allocations: 228.7 kB / 0.9073 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.4115, allocations: 154.6 kB / 0.9075 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4116, allocations: 333.9 kB / 0.9078 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.4123, allocations: 292.7 kB / 0.9081 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/0.4132, allocations: 0.4929 MB / 0.9086 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.4146, allocations: 0.709 MB / 0.9093 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4146, allocations: 4 kB / 0.9093 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004653/0.4193, allocations: 1.269 MB / 0.9105 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4193, allocations: 10.81 kB / 0.9105 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4194, allocations: 4 kB / 0.9105 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.42, allocations: 145 kB / 0.9107 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.4206, allocations: 159.8 kB / 0.9108 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008885/0.4215, allocations: 0.7006 MB / 0.9115 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.4226, allocations: 119 kB / 0.9116 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.4227, allocations: 35.98 kB / 0.9116 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001057/0.4237, allocations: 0.5527 MB / 0.9122 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008102/0.4245, allocations: 0.4922 MB / 0.9127 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/0.4259, allocations: 0.7011 MB / 0.9133 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.4259, allocations: 0 / 0.9133 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004495/0.4304, allocations: 1.265 MB / 0.9146 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4304, allocations: 8 kB / 0.9146 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.4305, allocations: 7.938 kB / 0.9146 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.4309, allocations: 141 kB / 0.9147 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.4315, allocations: 159.8 kB / 0.9149 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007831/0.4323, allocations: 0.7007 MB / 0.9156 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.4334, allocations: 111.3 kB / 0.9157 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.4334, allocations: 31.98 kB / 0.9157 GB, free: 4.523 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.0002423/0.4337, allocations: 234.5 kB / 0.9159 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.4339, allocations: 130.4 kB / 0.916 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.4385, allocations: 1.263 MB / 0.9173 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.4385, allocations: 8 kB / 0.9173 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4385, allocations: 0 / 0.9173 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00406/0.4426, allocations: 1.099 MB / 0.9184 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3924/0.835, allocations: 2.606 MB / 0.9209 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.835, allocations: 3.719 kB / 0.9209 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.8355, allocations: 116.2 kB / 0.921 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/0.8361, allocations: 131.7 kB / 0.9211 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.8361, allocations: 20.2 kB / 0.9212 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004696/0.8408, allocations: 2.633 MB / 0.9237 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8408, allocations: 8.078 kB / 0.9237 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.846, allocations: 1.695 MB / 0.9254 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/0.8466, allocations: 309.5 kB / 0.9257 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.8468, allocations: 18.45 kB / 0.9257 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.8476, allocations: 54.28 kB / 0.9258 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.8477, allocations: 61.67 kB / 0.9258 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.8478, allocations: 29.92 kB / 0.9259 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001209/0.849, allocations: 0.8839 MB / 0.9267 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.849, allocations: 3.656 kB / 0.9267 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00166/0.8507, allocations: 0.7258 MB / 0.9274 GB, free: 133.4 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.0007435/0.8514, allocations: 454.5 kB / 0.9279 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.8537, allocations: 1.12 MB / 0.929 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8537, allocations: 0 / 0.929 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.8551, allocations: 0.5615 MB / 0.9295 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/0.8585, allocations: 0.8157 MB / 0.9303 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.862, allocations: 2.26 MB / 0.9325 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/0.8628, allocations: 1.172 MB / 0.9337 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001267/0.8641, allocations: 309.1 kB / 0.9339 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.8643, allocations: 105.2 kB / 0.934 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.8643, allocations: 0 / 0.934 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05166/0.916, allocations: 32.47 MB / 0.9658 GB, free: 115.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (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)