Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.741/1.741, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 179.3 kB / 393.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008227/0.0008226, allocations: 93.48 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003108, allocations: 12 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5005, allocations: 121.3 MB / 1.041 GB, free: 58.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05183/0.5524, allocations: 74.81 MB / 1.114 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.5728, allocations: 20.5 MB / 1.134 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.5751, allocations: 54.91 kB / 1.134 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.577, allocations: 0.6687 MB / 1.135 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00665/0.5836, allocations: 2.381 MB / 1.137 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.5875, allocations: 1.268 MB / 1.138 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007228/0.5947, allocations: 5.536 MB / 1.144 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.5967, allocations: 1.159 MB / 1.145 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.5998, allocations: 1.369 MB / 1.146 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.6019, allocations: 1.153 MB / 1.147 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.6021, allocations: 56.22 kB / 1.147 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.6052, allocations: 1.198 MB / 1.148 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.6055, allocations: 285.3 kB / 1.149 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.6065, allocations: 0.801 MB / 1.149 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004019/0.6106, allocations: 2.735 MB / 1.152 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6106, allocations: 1.156 kB / 1.152 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6106, allocations: 0 / 1.152 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.6106, allocations: 0 / 1.152 GB, free: 9.344 MB / 0.7292 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.00382/0.6145, allocations: 1.794 MB / 1.154 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6145, allocations: 9.844 kB / 1.154 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.6153, allocations: 240.9 kB / 1.154 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.6181, allocations: 1.496 MB / 1.156 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.6182, allocations: 77.94 kB / 1.156 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.6184, allocations: 101.3 kB / 1.156 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.6206, allocations: 1.11 MB / 1.157 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.6207, allocations: 1.062 kB / 1.157 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/0.6208, allocations: 41.03 kB / 1.157 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.6208, allocations: 26.2 kB / 1.157 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.6229, allocations: 0.929 MB / 1.158 GB, free: 6.254 MB / 0.7292 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.007564/0.6305, allocations: 4.947 MB / 1.163 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.632, allocations: 0.6308 MB / 1.163 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/0.6329, allocations: 369.6 kB / 1.164 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/0.6335, allocations: 0.8297 MB / 1.164 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.6336, allocations: 43.09 kB / 1.164 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=62): time 3.276e-06/0.6336, allocations: 0 / 1.164 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of matching and sorting (n=62): time 0.005931/0.6396, allocations: 1.52 MB / 1.166 GB, free: 172 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.6397, allocations: 55.97 kB / 1.166 GB, free: 104 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.6421, allocations: 1.205 MB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6423, allocations: 41.7 kB / 1.167 GB, free: 15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/0.6429, allocations: 0.6037 MB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.6432, allocations: 215.2 kB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.6433, allocations: 12 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6434, allocations: 338.6 kB / 1.168 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007686/0.6442, allocations: 302.2 kB / 1.169 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00091/0.6451, allocations: 0.499 MB / 1.169 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.6466, allocations: 0.7439 MB / 1.17 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.6467, allocations: 4 kB / 1.17 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004916/0.6516, allocations: 1.397 MB / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.6517, allocations: 186.6 kB / 1.171 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6518, allocations: 8.516 kB / 1.171 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007495/0.6525, allocations: 160 kB / 1.172 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.6532, allocations: 169 kB / 1.172 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000931/0.6542, allocations: 0.7275 MB / 1.172 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6558, allocations: 176 kB / 1.173 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6559, allocations: 34.95 kB / 1.173 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.6559, allocations: 4 kB / 1.173 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004509/0.6604, allocations: 1.247 MB / 1.174 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6605, allocations: 4 kB / 1.174 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.6611, allocations: 161 kB / 1.174 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.6618, allocations: 164.2 kB / 1.174 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008301/0.6626, allocations: 0.7326 MB / 1.175 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.6641, allocations: 162.1 kB / 1.175 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.6642, allocations: 27.52 kB / 1.175 GB, free: 7.691 MB / 0.7448 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.0008729/0.6651, allocations: 423.1 kB / 1.175 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.6655, allocations: 139 kB / 1.176 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.6703, allocations: 1.383 MB / 1.177 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.6704, allocations: 4.609 kB / 1.177 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.6704, allocations: 4.562 kB / 1.177 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004225/0.6746, allocations: 1.228 MB / 1.178 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.68, allocations: 2.331 MB / 1.18 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.68, allocations: 4 kB / 1.18 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.6805, allocations: 128.6 kB / 1.181 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005942/0.6811, allocations: 155.3 kB / 1.181 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.6812, allocations: 18.44 kB / 1.181 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008508/0.6821, allocations: 0.7273 MB / 1.181 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6821, allocations: 4 kB / 1.181 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.685, allocations: 1.454 MB / 1.183 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/0.6859, allocations: 337.7 kB / 1.183 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/0.6862, allocations: 16.66 kB / 1.183 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6874, allocations: 95.78 kB / 1.183 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.6875, allocations: 48.64 kB / 1.183 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.6876, allocations: 37.48 kB / 1.183 GB, free: 232 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001547/0.6891, allocations: 0.8566 MB / 1.184 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6892, allocations: 0 / 1.184 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002331/0.6915, allocations: 0.7136 MB / 1.185 GB, free: 14.78 MB / 0.7605 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.001108/0.6926, allocations: 459.8 kB / 1.185 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.6954, allocations: 1.17 MB / 1.187 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6954, allocations: 4 kB / 1.187 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.6964, allocations: 407.3 kB / 1.187 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/0.7011, allocations: 0.814 MB / 1.188 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.7058, allocations: 2.815 MB / 1.19 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/0.7067, allocations: 1.177 MB / 1.192 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001458/0.7082, allocations: 307.1 kB / 1.192 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.7086, allocations: 111.4 kB / 1.192 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/0.7086, allocations: 0 / 1.192 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of Templates: time 0.05444/0.763, allocations: 32.06 MB / 1.223 GB, free: 7.832 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)