Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.728/1.728, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.0009704/0.0009701, allocations: 179.5 kB / 393.1 MB, free: 4.039 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.344/1.344, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0007616/0.0007617, allocations: 101.4 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 12 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4962, allocations: 121.3 MB / 1.041 GB, free: 58.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05114/0.5475, allocations: 74.78 MB / 1.114 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.57, allocations: 20.48 MB / 1.134 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.5724, allocations: 55.34 kB / 1.134 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.5744, allocations: 0.6762 MB / 1.135 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006445/0.5809, allocations: 2.368 MB / 1.137 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.5843, allocations: 1.28 MB / 1.138 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007199/0.5916, allocations: 5.553 MB / 1.144 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.5935, allocations: 1.156 MB / 1.145 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.5965, allocations: 1.362 MB / 1.146 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.5984, allocations: 1.145 MB / 1.147 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.5986, allocations: 56.06 kB / 1.147 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.6015, allocations: 1.189 MB / 1.148 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.6018, allocations: 276.5 kB / 1.149 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.6029, allocations: 0.7974 MB / 1.149 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003529/0.6064, allocations: 2.724 MB / 1.152 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6064, allocations: 1.312 kB / 1.152 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6064, allocations: 0 / 1.152 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.797e-05/0.6065, allocations: 0 / 1.152 GB, free: 9.277 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.003438/0.6099, allocations: 1.785 MB / 1.154 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.61, allocations: 9.5 kB / 1.154 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007592/0.6107, allocations: 237.4 kB / 1.154 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.6132, allocations: 1.502 MB / 1.156 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.6133, allocations: 76.53 kB / 1.156 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.6135, allocations: 101.5 kB / 1.156 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.6155, allocations: 1.108 MB / 1.157 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.6156, allocations: 5.375 kB / 1.157 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.6157, allocations: 42.42 kB / 1.157 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.6157, allocations: 25.55 kB / 1.157 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.6177, allocations: 0.9268 MB / 1.158 GB, free: 6.188 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.006427/0.6242, allocations: 4.927 MB / 1.163 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.6257, allocations: 0.6433 MB / 1.163 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.6265, allocations: 363.6 kB / 1.164 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.6271, allocations: 0.8284 MB / 1.164 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.6271, allocations: 43.67 kB / 1.164 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.6271, allocations: 0 / 1.164 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of matching and sorting (n=61): time 0.007321/0.6344, allocations: 1.894 MB / 1.166 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.6345, allocations: 59.97 kB / 1.166 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.6363, allocations: 1.197 MB / 1.167 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.6364, allocations: 37.7 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.6369, allocations: 0.6039 MB / 1.168 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.6372, allocations: 215 kB / 1.168 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.6372, allocations: 12 kB / 1.168 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6373, allocations: 343 kB / 1.169 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.638, allocations: 293.4 kB / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/0.6389, allocations: 0.5192 MB / 1.169 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.6404, allocations: 0.7448 MB / 1.17 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6404, allocations: 0 / 1.17 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004778/0.6452, allocations: 1.401 MB / 1.172 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.6453, allocations: 196 kB / 1.172 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6453, allocations: 8 kB / 1.172 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.6459, allocations: 152.2 kB / 1.172 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.6465, allocations: 164.9 kB / 1.172 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/0.6474, allocations: 0.7168 MB / 1.173 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.6488, allocations: 173.5 kB / 1.173 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.6489, allocations: 31.75 kB / 1.173 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.6489, allocations: 4 kB / 1.173 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004254/0.6531, allocations: 1.246 MB / 1.174 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6531, allocations: 8.031 kB / 1.174 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.6536, allocations: 147.7 kB / 1.174 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.6542, allocations: 173.2 kB / 1.174 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007459/0.655, allocations: 0.7133 MB / 1.175 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.6562, allocations: 164.3 kB / 1.175 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.6563, allocations: 35.42 kB / 1.175 GB, free: 7.141 MB / 0.7448 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.0006502/0.657, allocations: 423.2 kB / 1.176 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.6572, allocations: 134.4 kB / 1.176 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.6617, allocations: 1.39 MB / 1.177 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.6618, allocations: 5.312 kB / 1.177 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6618, allocations: 0 / 1.177 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004077/0.6659, allocations: 1.237 MB / 1.178 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007265/0.6731, allocations: 2.733 MB / 1.181 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.6732, allocations: 8.031 kB / 1.181 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.6736, allocations: 119.3 kB / 1.181 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.6741, allocations: 143.4 kB / 1.181 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.6742, allocations: 26.56 kB / 1.181 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004552/0.6788, allocations: 2.472 MB / 1.184 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6788, allocations: 8 kB / 1.184 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/0.684, allocations: 1.85 MB / 1.186 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/0.6848, allocations: 333.2 kB / 1.186 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.685, allocations: 20.8 kB / 1.186 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/0.6858, allocations: 91.45 kB / 1.186 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.686, allocations: 63.11 kB / 1.186 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.6861, allocations: 31.97 kB / 1.186 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001188/0.6873, allocations: 0.8582 MB / 1.187 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6873, allocations: 0 / 1.187 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001958/0.6892, allocations: 0.7135 MB / 1.188 GB, free: 11.88 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008678/0.6901, allocations: 451.4 kB / 1.188 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.6926, allocations: 1.168 MB / 1.189 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6926, allocations: 0 / 1.189 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.694, allocations: 0.5956 MB / 1.19 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/0.6979, allocations: 0.7951 MB / 1.191 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.7019, allocations: 2.823 MB / 1.193 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.7026, allocations: 1.169 MB / 1.195 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001222/0.7038, allocations: 307 kB / 1.195 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.7041, allocations: 111.4 kB / 1.195 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of SimCode: time 8.91e-07/0.7041, allocations: 0 / 1.195 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of Templates: time 0.05154/0.7557, allocations: 32.19 MB / 1.226 GB, free: 4.578 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)