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.001056/0.001056, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001198/0.001198, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 4.965 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.707/1.707, allocations: 292.3 MB / 0.5484 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.002037/0.002037, allocations: 60.59 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2377, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07213/0.3099, allocations: 74.77 MB / 0.8557 GB, free: 3.008 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02044/0.3304, allocations: 15.12 MB / 0.8705 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.3329, allocations: 55.62 kB / 0.8705 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.3354, allocations: 0.676 MB / 0.8712 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.3422, allocations: 2.361 MB / 0.8735 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.346, allocations: 1.27 MB / 0.8747 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006393/0.3524, allocations: 5.523 MB / 0.8801 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.3546, allocations: 1.194 MB / 0.8813 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.3576, allocations: 1.373 MB / 0.8826 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.3597, allocations: 1.202 MB / 0.8838 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003701/0.3601, allocations: 72 kB / 0.8839 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/0.3636, allocations: 1.275 MB / 0.8851 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005762/0.3642, allocations: 318.6 kB / 0.8854 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.3657, allocations: 0.8162 MB / 0.8862 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.3699, allocations: 2.797 MB / 0.8889 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3699, allocations: 0 / 0.8889 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3699, allocations: 4 kB / 0.8889 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.228e-05/0.37, allocations: 4 kB / 0.8889 GB, free: 0.8477 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.004864/0.3748, allocations: 2.087 MB / 0.891 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3749, allocations: 11.97 kB / 0.891 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.3759, allocations: 222.9 kB / 0.8912 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.3786, allocations: 1.5 MB / 0.8927 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/0.3786, allocations: 78 kB / 0.8927 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.3788, allocations: 100 kB / 0.8928 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.3809, allocations: 1.104 MB / 0.8939 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.381, allocations: 4 kB / 0.8939 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.3811, allocations: 36 kB / 0.894 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.3811, allocations: 27.98 kB / 0.894 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.3831, allocations: 0.9017 MB / 0.8949 GB, free: 10.62 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.006269/0.3893, allocations: 4.923 MB / 0.8997 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.3907, allocations: 0.6158 MB / 0.9003 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/0.3914, allocations: 350.1 kB / 0.9006 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.392, allocations: 0.8394 MB / 0.9014 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3921, allocations: 39.12 kB / 0.9015 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.023e-06/0.3921, allocations: 0 / 0.9015 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.004809/0.3969, allocations: 1.397 MB / 0.9028 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.397, allocations: 59.97 kB / 0.9029 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.3986, allocations: 1.214 MB / 0.9041 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.3987, allocations: 45.64 kB / 0.9041 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.3992, allocations: 0.6027 MB / 0.9047 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.3994, allocations: 216.9 kB / 0.9049 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.3996, allocations: 154.5 kB / 0.9051 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3997, allocations: 341.9 kB / 0.9054 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.4004, allocations: 292.7 kB / 0.9057 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.4012, allocations: 496.6 kB / 0.9061 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.4026, allocations: 0.7159 MB / 0.9068 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4026, allocations: 0 / 0.9068 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004739/0.4074, allocations: 1.265 MB / 0.9081 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.4074, allocations: 8 kB / 0.9081 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4074, allocations: 0 / 0.9081 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/0.4081, allocations: 153.1 kB / 0.9082 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.4088, allocations: 159.8 kB / 0.9084 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008207/0.4096, allocations: 0.7239 MB / 0.9091 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4109, allocations: 155.1 kB / 0.9092 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.411, allocations: 28 kB / 0.9093 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/0.4121, allocations: 0.5605 MB / 0.9098 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008529/0.413, allocations: 491.8 kB / 0.9103 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001395/0.4144, allocations: 0.6965 MB / 0.9109 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-06/0.4144, allocations: 4 kB / 0.911 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004661/0.419, allocations: 1.261 MB / 0.9122 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4191, allocations: 11.94 kB / 0.9122 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4191, allocations: 4 kB / 0.9122 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/0.4197, allocations: 161 kB / 0.9124 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.4204, allocations: 159.8 kB / 0.9125 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008316/0.4212, allocations: 0.7123 MB / 0.9132 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.4227, allocations: 139.5 kB / 0.9133 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.4228, allocations: 31.98 kB / 0.9134 GB, free: 6.758 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.0003241/0.4231, allocations: 230.9 kB / 0.9136 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/0.4235, allocations: 146.2 kB / 0.9137 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.4281, allocations: 1.252 MB / 0.9149 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4282, allocations: 8 kB / 0.915 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.4282, allocations: 0 / 0.915 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003984/0.4322, allocations: 1.092 MB / 0.916 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.4367, allocations: 2.31 MB / 0.9183 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.4367, allocations: 0 / 0.9183 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.4372, allocations: 111.9 kB / 0.9184 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005813/0.4378, allocations: 141 kB / 0.9185 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.4379, allocations: 27.92 kB / 0.9185 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007557/0.4386, allocations: 0.7045 MB / 0.9192 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4387, allocations: 4 kB / 0.9192 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4582/0.8969, allocations: 1.39 MB / 0.9206 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/0.8975, allocations: 309.8 kB / 0.9209 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.8977, allocations: 16.12 kB / 0.9209 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/0.8986, allocations: 85.05 kB / 0.921 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.8988, allocations: 57 kB / 0.921 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.439e-05/0.8989, allocations: 34 kB / 0.9211 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001279/0.9002, allocations: 0.8693 MB / 0.9219 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9002, allocations: 0 / 0.9219 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001818/0.902, allocations: 0.7087 MB / 0.9226 GB, free: 136.1 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.0009026/0.9029, allocations: 455.3 kB / 0.923 GB, free: 136 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002687/0.9056, allocations: 1.107 MB / 0.9241 GB, free: 136 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9056, allocations: 1.562 kB / 0.9241 GB, free: 136 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.9065, allocations: 400.2 kB / 0.9245 GB, free: 136 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.9099, allocations: 0.7735 MB / 0.9253 GB, free: 136 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.9133, allocations: 2.76 MB / 0.928 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.9138, allocations: 1.176 MB / 0.9291 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00116/0.915, allocations: 311.8 kB / 0.9294 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.9152, allocations: 104.6 kB / 0.9295 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.9152, allocations: 2.812 kB / 0.9295 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05037/0.9656, allocations: 30.6 MB / 0.9594 GB, free: 122 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)