Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.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.804/1.804, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.001077/0.001078, allocations: 183.3 kB / 393.1 MB, free: 4.086 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.571/1.571, 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.0008701/0.0008701, allocations: 92.03 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 12 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7377, allocations: 121.3 MB / 1.041 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05843/0.7962, allocations: 74.75 MB / 1.114 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.8181, allocations: 17.76 MB / 1.131 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.8215, allocations: 54.59 kB / 1.131 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.8246, allocations: 0.6759 MB / 1.132 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008996/0.8337, allocations: 2.256 MB / 1.134 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.8383, allocations: 1.274 MB / 1.135 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00992/0.8482, allocations: 5.537 MB / 1.141 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.8509, allocations: 1.145 MB / 1.142 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.8549, allocations: 1.352 MB / 1.143 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.8577, allocations: 1.122 MB / 1.144 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.8581, allocations: 60.09 kB / 1.144 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.8621, allocations: 1.189 MB / 1.146 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.8625, allocations: 276.4 kB / 1.146 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.8642, allocations: 0.7995 MB / 1.147 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004687/0.8689, allocations: 2.719 MB / 1.149 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8689, allocations: 0 / 1.149 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8689, allocations: 0 / 1.149 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.344e-05/0.8689, allocations: 0 / 1.149 GB, free: 10.98 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.003968/0.8729, allocations: 1.782 MB / 1.151 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.873, allocations: 10.25 kB / 1.151 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/0.8738, allocations: 242.8 kB / 1.151 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.8767, allocations: 1.474 MB / 1.153 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.8768, allocations: 76.91 kB / 1.153 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.877, allocations: 104.8 kB / 1.153 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.8793, allocations: 1.112 MB / 1.154 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.8794, allocations: 1.688 kB / 1.154 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.8795, allocations: 41.17 kB / 1.154 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.8795, allocations: 23.41 kB / 1.154 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.8815, allocations: 0.9222 MB / 1.155 GB, free: 7.906 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.007271/0.8888, allocations: 4.928 MB / 1.16 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.8903, allocations: 0.6388 MB / 1.16 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007905/0.8911, allocations: 367.8 kB / 1.161 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/0.8919, allocations: 0.8274 MB / 1.161 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.8919, allocations: 39.7 kB / 1.162 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=61): time 2.816e-06/0.8919, allocations: 0 / 1.162 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=61): time 0.007701/0.8997, allocations: 1.877 MB / 1.163 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8997, allocations: 68.56 kB / 1.163 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.9019, allocations: 1.192 MB / 1.165 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.902, allocations: 37.7 kB / 1.165 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/0.9026, allocations: 0.596 MB / 1.165 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.9029, allocations: 215 kB / 1.165 GB, free: 424 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.9029, allocations: 16 kB / 1.165 GB, free: 408 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9031, allocations: 338.4 kB / 1.166 GB, free: 72 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/0.9039, allocations: 306.2 kB / 1.166 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/0.9049, allocations: 0.5035 MB / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.9064, allocations: 0.7486 MB / 1.167 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.9064, allocations: 4 kB / 1.167 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004888/0.9113, allocations: 1.401 MB / 1.169 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.9114, allocations: 200.1 kB / 1.169 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9115, allocations: 8 kB / 1.169 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.9121, allocations: 140 kB / 1.169 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.9128, allocations: 173.9 kB / 1.169 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008752/0.9137, allocations: 0.7032 MB / 1.17 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.9153, allocations: 169.7 kB / 1.17 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.9155, allocations: 35.52 kB / 1.17 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.9155, allocations: 4 kB / 1.17 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004584/0.9201, allocations: 1.246 MB / 1.171 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9201, allocations: 4 kB / 1.171 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.9207, allocations: 140.4 kB / 1.171 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.9214, allocations: 177.2 kB / 1.172 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008995/0.9223, allocations: 0.7053 MB / 1.172 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.9239, allocations: 165.6 kB / 1.172 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.924, allocations: 35.45 kB / 1.172 GB, free: 9.895 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0009628/0.925, allocations: 411.2 kB / 1.173 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.9254, allocations: 135 kB / 1.173 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/0.9305, allocations: 1.401 MB / 1.174 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-05/0.9306, allocations: 9.453 kB / 1.174 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.9306, allocations: 0 / 1.174 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004646/0.9353, allocations: 1.229 MB / 1.175 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/0.945, allocations: 2.741 MB / 1.178 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.9451, allocations: 4 kB / 1.178 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.9457, allocations: 116 kB / 1.178 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005553/0.9462, allocations: 143.8 kB / 1.178 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.9463, allocations: 22.38 kB / 1.178 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004957/0.9513, allocations: 2.429 MB / 1.181 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.9513, allocations: 7.938 kB / 1.181 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005833/0.9571, allocations: 1.846 MB / 1.183 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009894/0.9582, allocations: 332.7 kB / 1.183 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.9584, allocations: 13.12 kB / 1.183 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.9592, allocations: 95.86 kB / 1.183 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.9594, allocations: 62.5 kB / 1.183 GB, free: 312 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.9595, allocations: 29.11 kB / 1.183 GB, free: 288 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001417/0.9609, allocations: 0.8577 MB / 1.184 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9609, allocations: 0 / 1.184 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002199/0.9631, allocations: 0.7099 MB / 1.185 GB, free: 14.84 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.9642, allocations: 448.2 kB / 1.185 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.967, allocations: 1.175 MB / 1.186 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9671, allocations: 0 / 1.186 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.9686, allocations: 0.5941 MB / 1.187 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/0.9728, allocations: 0.805 MB / 1.188 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.9769, allocations: 2.801 MB / 1.19 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/0.9776, allocations: 1.169 MB / 1.191 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001282/0.9789, allocations: 303 kB / 1.192 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.9792, allocations: 115.4 kB / 1.192 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.9792, allocations: 0 / 1.192 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of Templates: time 0.05383/1.033, allocations: 32.08 MB / 1.223 GB, free: 7.898 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)