Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.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.001053/0.001053, allocations: 185.5 kB / 382.3 MB, free: 14.84 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.347/1.347, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009003, allocations: 95.47 kB / 0.7789 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 8 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6419, allocations: 119.2 MB / 1.022 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05733/0.6993, allocations: 74.78 MB / 1.095 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.7208, allocations: 20.4 MB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.7231, allocations: 56.53 kB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.725, allocations: 0.6816 MB / 1.116 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00751/0.7326, allocations: 2.354 MB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.736, allocations: 1.28 MB / 1.119 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005779/0.7418, allocations: 5.531 MB / 1.125 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.7436, allocations: 1.144 MB / 1.126 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.7466, allocations: 1.354 MB / 1.127 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.7486, allocations: 1.154 MB / 1.128 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.7489, allocations: 55.91 kB / 1.129 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.7518, allocations: 1.186 MB / 1.13 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.7522, allocations: 279.3 kB / 1.13 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.7534, allocations: 0.7955 MB / 1.131 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.7572, allocations: 2.726 MB / 1.133 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7573, allocations: 4 kB / 1.133 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7573, allocations: 0 / 1.133 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.49e-05/0.7573, allocations: 1.125 kB / 1.133 GB, free: 9.258 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.003816/0.7611, allocations: 1.78 MB / 1.135 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.7612, allocations: 8.812 kB / 1.135 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/0.762, allocations: 244.3 kB / 1.135 GB, free: 8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.7645, allocations: 1.476 MB / 1.137 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.7646, allocations: 76.78 kB / 1.137 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.7648, allocations: 109.6 kB / 1.137 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.7668, allocations: 1.112 MB / 1.138 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.7669, allocations: 8.609 kB / 1.138 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.767, allocations: 41.28 kB / 1.138 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.767, allocations: 29.09 kB / 1.138 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.769, allocations: 0.9205 MB / 1.139 GB, free: 6.176 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.006044/0.775, allocations: 4.929 MB / 1.144 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.7764, allocations: 0.6439 MB / 1.144 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.7772, allocations: 367.5 kB / 1.145 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.7778, allocations: 0.8242 MB / 1.146 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.7779, allocations: 42.47 kB / 1.146 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=61): time 4.649e-06/0.7779, allocations: 4 kB / 1.146 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of matching and sorting (n=61): time 0.007209/0.7851, allocations: 1.893 MB / 1.148 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.7852, allocations: 56.94 kB / 1.148 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.787, allocations: 1.196 MB / 1.149 GB, free: 308 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.7872, allocations: 43.61 kB / 1.149 GB, free: 264 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/0.7877, allocations: 0.6056 MB / 1.149 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.7879, allocations: 221.1 kB / 1.15 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.788, allocations: 14.91 kB / 1.15 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7881, allocations: 330.9 kB / 1.15 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006853/0.7888, allocations: 299.1 kB / 1.15 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/0.7896, allocations: 0.5103 MB / 1.151 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.7911, allocations: 0.7473 MB / 1.151 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7911, allocations: 1.344 kB / 1.151 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004811/0.7959, allocations: 1.404 MB / 1.153 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.7961, allocations: 200.5 kB / 1.153 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7961, allocations: 3.375 kB / 1.153 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.7967, allocations: 146.9 kB / 1.153 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.7973, allocations: 169.6 kB / 1.153 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000861/0.7982, allocations: 0.7124 MB / 1.154 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.7997, allocations: 173.8 kB / 1.154 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.7998, allocations: 35.02 kB / 1.154 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.7998, allocations: 4.125 kB / 1.154 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004253/0.8041, allocations: 1.25 MB / 1.155 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8041, allocations: 3.5 kB / 1.155 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005195/0.8046, allocations: 146.7 kB / 1.156 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.8052, allocations: 165.5 kB / 1.156 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008276/0.8061, allocations: 0.7164 MB / 1.156 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.8075, allocations: 167.6 kB / 1.157 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.8076, allocations: 31.11 kB / 1.157 GB, free: 12.05 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.0007705/0.8083, allocations: 429.1 kB / 1.157 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.8087, allocations: 136.1 kB / 1.157 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/0.8135, allocations: 1.39 MB / 1.159 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.8136, allocations: 12.42 kB / 1.159 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.8136, allocations: 1.375 kB / 1.159 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004066/0.8176, allocations: 1.231 MB / 1.16 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007704/0.8254, allocations: 2.74 MB / 1.162 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.8254, allocations: 2.719 kB / 1.162 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.8259, allocations: 122.1 kB / 1.163 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.8264, allocations: 140.2 kB / 1.163 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.8265, allocations: 18.98 kB / 1.163 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004989/0.8315, allocations: 2.479 MB / 1.165 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.8316, allocations: 4.125 kB / 1.165 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/0.8371, allocations: 1.845 MB / 1.167 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009371/0.838, allocations: 343 kB / 1.167 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004202/0.8385, allocations: 16.19 kB / 1.167 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.8397, allocations: 97.03 kB / 1.167 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.8398, allocations: 59.62 kB / 1.167 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.3e-05/0.8399, allocations: 34.56 kB / 1.167 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001787/0.8417, allocations: 0.8548 MB / 1.168 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8417, allocations: 0 / 1.168 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002896/0.8446, allocations: 0.7098 MB / 1.169 GB, free: 5.965 MB / 0.7448 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.0011/0.8458, allocations: 465.5 kB / 1.169 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002871/0.8487, allocations: 1.164 MB / 1.171 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.8487, allocations: 0 / 1.171 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.8502, allocations: 0.5998 MB / 1.171 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/0.8553, allocations: 0.7913 MB / 1.172 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.8608, allocations: 2.824 MB / 1.175 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.8619, allocations: 1.167 MB / 1.176 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00174/0.8637, allocations: 311.9 kB / 1.176 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.8641, allocations: 111.2 kB / 1.176 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of SimCode: time 1.012e-06/0.8641, allocations: 4 kB / 1.176 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of Templates: time 0.05469/0.9188, allocations: 32.19 MB / 1.208 GB, free: 0.9805 MB / 0.7761 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)