Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001419, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001641/0.001641, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.409/1.409, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.663/1.663, allocations: 292.2 MB / 0.5485 GB, free: 13.58 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.001484/0.001485, allocations: 65.33 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2597, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07649/0.3362, allocations: 74.6 MB / 0.8557 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.3564, allocations: 14.95 MB / 0.8703 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.3594, allocations: 59.62 kB / 0.8703 GB, free: 4 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.3624, allocations: 0.719 MB / 0.871 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007769/0.3702, allocations: 2.384 MB / 0.8734 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.3741, allocations: 1.299 MB / 0.8746 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005987/0.3801, allocations: 4.381 MB / 0.8789 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.3826, allocations: 1.421 MB / 0.8803 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.3867, allocations: 1.655 MB / 0.8819 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.3891, allocations: 1.26 MB / 0.8832 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005458/0.3896, allocations: 168 kB / 0.8833 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.3929, allocations: 1.439 MB / 0.8847 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006227/0.3936, allocations: 406.6 kB / 0.8851 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.3951, allocations: 0.9021 MB / 0.886 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004337/0.3994, allocations: 2.879 MB / 0.8888 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3995, allocations: 0 / 0.8888 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3995, allocations: 0 / 0.8888 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.398e-05/0.3995, allocations: 0 / 0.8888 GB, free: 1.023 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.004192/0.4037, allocations: 2.087 MB / 0.8908 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4038, allocations: 20.02 kB / 0.8909 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.4047, allocations: 222.9 kB / 0.8911 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.4071, allocations: 1.5 MB / 0.8925 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.4072, allocations: 78 kB / 0.8926 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.4073, allocations: 100 kB / 0.8927 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.4094, allocations: 1.104 MB / 0.8938 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.4094, allocations: 4 kB / 0.8938 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.4095, allocations: 36 kB / 0.8938 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.4095, allocations: 27.98 kB / 0.8938 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.4113, allocations: 0.8939 MB / 0.8947 GB, free: 10.8 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.006005/0.4173, allocations: 4.93 MB / 0.8995 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.4187, allocations: 0.6158 MB / 0.9001 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.4194, allocations: 354.2 kB / 0.9005 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.4201, allocations: 0.8316 MB / 0.9013 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4201, allocations: 39.12 kB / 0.9013 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.154e-06/0.4202, allocations: 3.938 kB / 0.9013 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.004832/0.425, allocations: 1.405 MB / 0.9027 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.425, allocations: 55.97 kB / 0.9028 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.4266, allocations: 1.21 MB / 0.9039 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/0.4267, allocations: 41.7 kB / 0.904 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.4272, allocations: 0.6026 MB / 0.9046 GB, free: 164 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.4275, allocations: 217 kB / 0.9048 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.4277, allocations: 158.5 kB / 0.9049 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4278, allocations: 337.9 kB / 0.9052 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.4285, allocations: 296.6 kB / 0.9055 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.4294, allocations: 495.9 kB / 0.906 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.4307, allocations: 0.7081 MB / 0.9067 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4307, allocations: 3.938 kB / 0.9067 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004573/0.4353, allocations: 1.269 MB / 0.9079 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4353, allocations: 4 kB / 0.9079 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4353, allocations: 4 kB / 0.9079 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.436, allocations: 152.8 kB / 0.9081 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.4366, allocations: 155.8 kB / 0.9082 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008177/0.4374, allocations: 0.7161 MB / 0.9089 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4387, allocations: 163.1 kB / 0.9091 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.4388, allocations: 31.98 kB / 0.9091 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001111/0.4399, allocations: 0.5515 MB / 0.9097 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008194/0.4407, allocations: 499.8 kB / 0.9101 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001306/0.4421, allocations: 0.7004 MB / 0.9108 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.4421, allocations: 0 / 0.9108 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00439/0.4465, allocations: 1.269 MB / 0.9121 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4465, allocations: 8 kB / 0.9121 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4465, allocations: 4 kB / 0.9121 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.4471, allocations: 148.9 kB / 0.9122 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.4477, allocations: 155.8 kB / 0.9124 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008349/0.4486, allocations: 0.72 MB / 0.9131 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4498, allocations: 143.5 kB / 0.9132 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/0.4499, allocations: 31.98 kB / 0.9132 GB, free: 6.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.4502, allocations: 228.1 kB / 0.9135 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.4504, allocations: 138.2 kB / 0.9136 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.455, allocations: 1.256 MB / 0.9148 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.455, allocations: 8 kB / 0.9148 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.455, allocations: 0 / 0.9148 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003955/0.459, allocations: 1.099 MB / 0.9159 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.463, allocations: 2.298 MB / 0.9181 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.463, allocations: 4 kB / 0.9181 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.4635, allocations: 119.8 kB / 0.9183 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/0.464, allocations: 149 kB / 0.9184 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.4641, allocations: 23.94 kB / 0.9184 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007615/0.4649, allocations: 0.7084 MB / 0.9191 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4649, allocations: 4 kB / 0.9191 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3741/0.839, allocations: 1.39 MB / 0.9205 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/0.8398, allocations: 306.2 kB / 0.9208 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.8401, allocations: 19.19 kB / 0.9208 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/0.841, allocations: 83 kB / 0.9209 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.8412, allocations: 56.77 kB / 0.9209 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.8412, allocations: 33.58 kB / 0.9209 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001393/0.8426, allocations: 0.8731 MB / 0.9218 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8427, allocations: 0 / 0.9218 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002096/0.8448, allocations: 0.7025 MB / 0.9225 GB, free: 136.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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.8458, allocations: 453.8 kB / 0.9229 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.8488, allocations: 1.154 MB / 0.924 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.8488, allocations: 1.875 kB / 0.924 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.8497, allocations: 403.2 kB / 0.9244 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.853, allocations: 0.8308 MB / 0.9252 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.8564, allocations: 2.76 MB / 0.9279 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.8569, allocations: 1.167 MB / 0.9291 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001122/0.8581, allocations: 317.8 kB / 0.9294 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.8583, allocations: 101.8 kB / 0.9295 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.021e-06/0.8583, allocations: 0 / 0.9295 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.0559/0.9142, allocations: 31.72 MB / 0.9605 GB, free: 121.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)