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.001603/0.001603, allocations: 104.6 kB / 15.98 MB, free: 6.344 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.00183/0.00183, allocations: 201.3 kB / 16.91 MB, free: 6.188 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.45/1.45, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.664/1.664, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001361/0.001361, allocations: 62.8 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06924/0.3169, allocations: 74.56 MB / 0.8563 GB, free: 3.109 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.3369, allocations: 14.96 MB / 0.8709 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.3403, allocations: 59.62 kB / 0.871 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.343, allocations: 0.715 MB / 0.8717 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.3515, allocations: 2.388 MB / 0.874 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.3556, allocations: 1.295 MB / 0.8753 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00735/0.363, allocations: 4.396 MB / 0.8796 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.3657, allocations: 1.421 MB / 0.881 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/0.3701, allocations: 1.646 MB / 0.8826 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.3726, allocations: 1.256 MB / 0.8838 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.3731, allocations: 164 kB / 0.8839 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/0.3767, allocations: 1.419 MB / 0.8853 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.3771, allocations: 406.6 kB / 0.8857 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.3785, allocations: 0.906 MB / 0.8866 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.3818, allocations: 2.245 MB / 0.8888 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3819, allocations: 0 / 0.8888 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3819, allocations: 0 / 0.8888 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.414e-05/0.3819, allocations: 0 / 0.8888 GB, free: 1.738 MB / 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.004357/0.3863, allocations: 2.099 MB / 0.8908 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3864, allocations: 8.031 kB / 0.8909 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.3872, allocations: 230.8 kB / 0.8911 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.3896, allocations: 1.469 MB / 0.8925 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.3897, allocations: 82 kB / 0.8926 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.3899, allocations: 104 kB / 0.8927 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.3918, allocations: 1.096 MB / 0.8938 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.3919, allocations: 4 kB / 0.8938 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/0.392, allocations: 40 kB / 0.8938 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.392, allocations: 24 kB / 0.8938 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3938, allocations: 0.8939 MB / 0.8947 GB, free: 11.54 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.00603/0.3998, allocations: 4.926 MB / 0.8995 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.4012, allocations: 0.6116 MB / 0.9001 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.4019, allocations: 350.3 kB / 0.9004 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/0.4025, allocations: 0.8316 MB / 0.9012 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4025, allocations: 43.06 kB / 0.9013 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.535e-06/0.4025, allocations: 0 / 0.9013 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006928/0.4095, allocations: 1.693 MB / 0.9029 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.4096, allocations: 63.97 kB / 0.903 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.4113, allocations: 1.206 MB / 0.9042 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.4114, allocations: 41.7 kB / 0.9042 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.4119, allocations: 0.6104 MB / 0.9048 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.4121, allocations: 208.9 kB / 0.905 GB, free: 416 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.4124, allocations: 158.5 kB / 0.9052 GB, free: 252 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4125, allocations: 333.9 kB / 0.9055 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/0.4132, allocations: 292.7 kB / 0.9058 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.414, allocations: 0.4967 MB / 0.9062 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.4153, allocations: 0.709 MB / 0.9069 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4153, allocations: 4 kB / 0.9069 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004472/0.4198, allocations: 1.269 MB / 0.9082 GB, free: 13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4198, allocations: 4 kB / 0.9082 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4198, allocations: 4.375 kB / 0.9082 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.4204, allocations: 152.6 kB / 0.9083 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.421, allocations: 159.8 kB / 0.9085 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008042/0.4218, allocations: 0.7006 MB / 0.9092 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4232, allocations: 163.1 kB / 0.9093 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.4233, allocations: 31.98 kB / 0.9094 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001069/0.4243, allocations: 0.5526 MB / 0.9099 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007844/0.4251, allocations: 0.4917 MB / 0.9104 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/0.4264, allocations: 0.7012 MB / 0.9111 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/0.4264, allocations: 0 / 0.9111 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004569/0.431, allocations: 1.269 MB / 0.9123 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.431, allocations: 12.31 kB / 0.9123 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4311, allocations: 11.94 kB / 0.9123 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.4316, allocations: 132.7 kB / 0.9125 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.4321, allocations: 151.8 kB / 0.9126 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007701/0.4329, allocations: 0.7084 MB / 0.9133 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.4344, allocations: 139.5 kB / 0.9134 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.4344, allocations: 35.98 kB / 0.9135 GB, free: 7.398 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.0003223/0.4348, allocations: 228 kB / 0.9137 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.4351, allocations: 134.4 kB / 0.9138 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.4395, allocations: 1.271 MB / 0.915 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.4395, allocations: 4 kB / 0.915 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4396, allocations: 0 / 0.915 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003907/0.4435, allocations: 1.107 MB / 0.9161 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007005/0.4505, allocations: 2.606 MB / 0.9187 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4505, allocations: 4 kB / 0.9187 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.451, allocations: 111.9 kB / 0.9188 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/0.4515, allocations: 129 kB / 0.9189 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.4516, allocations: 27.92 kB / 0.9189 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4554/0.907, allocations: 2.617 MB / 0.9215 GB, free: 135 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.9071, allocations: 3.906 kB / 0.9215 GB, free: 135 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00576/0.9128, allocations: 1.702 MB / 0.9232 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.9137, allocations: 308.5 kB / 0.9235 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.9139, allocations: 18.05 kB / 0.9235 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009203/0.9149, allocations: 84.66 kB / 0.9235 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.9151, allocations: 67.06 kB / 0.9236 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.9152, allocations: 29.88 kB / 0.9236 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001348/0.9165, allocations: 0.8717 MB / 0.9245 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.72e-07/0.9165, allocations: 0 / 0.9245 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0022/0.9187, allocations: 0.7113 MB / 0.9252 GB, free: 134.5 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.001026/0.9198, allocations: 449.1 kB / 0.9256 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002587/0.9224, allocations: 1.156 MB / 0.9267 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.9224, allocations: 3 kB / 0.9267 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.9237, allocations: 0.5552 MB / 0.9273 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/0.9272, allocations: 0.8279 MB / 0.9281 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.9311, allocations: 2.79 MB / 0.9308 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/0.9318, allocations: 1.168 MB / 0.932 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.9322, allocations: 109.8 kB / 0.9321 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.382e-06/0.9322, allocations: 0 / 0.9321 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.04811/0.9803, allocations: 30.96 MB / 0.9623 GB, free: 118.8 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)