Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.781/1.781, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.0009932/0.0009933, allocations: 171.5 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.473/1.473, 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.001036/0.001036, allocations: 93.75 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 11.98 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6436, allocations: 121.3 MB / 1.041 GB, free: 58.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05089/0.6945, allocations: 60.88 MB / 1.1 GB, free: 13.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.713, allocations: 16.66 MB / 1.117 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.7159, allocations: 52.06 kB / 1.117 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.7182, allocations: 0.5432 MB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00793/0.7262, allocations: 1.791 MB / 1.119 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.7306, allocations: 1.104 MB / 1.12 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007423/0.7381, allocations: 3.905 MB / 1.124 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.7403, allocations: 0.8942 MB / 1.125 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00365/0.744, allocations: 1.15 MB / 1.126 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.7465, allocations: 0.8502 MB / 1.127 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.7467, allocations: 40.78 kB / 1.127 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003878/0.7506, allocations: 1.28 MB / 1.128 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.751, allocations: 211.5 kB / 1.128 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.7523, allocations: 0.6311 MB / 1.129 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.7569, allocations: 2.199 MB / 1.131 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.757, allocations: 0 / 1.131 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.847e-06/0.757, allocations: 0 / 1.131 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.275e-05/0.757, allocations: 1 kB / 1.131 GB, free: 8.621 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003546/0.7606, allocations: 1.493 MB / 1.132 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.7606, allocations: 9.594 kB / 1.132 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.7629, allocations: 474.2 kB / 1.133 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.7653, allocations: 1.135 MB / 1.134 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.7657, allocations: 131.7 kB / 1.134 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.7659, allocations: 83.81 kB / 1.134 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.7681, allocations: 0.9982 MB / 1.135 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7681, allocations: 1.125 kB / 1.135 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.7682, allocations: 31.81 kB / 1.135 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.7683, allocations: 23.19 kB / 1.135 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.7706, allocations: 0.9093 MB / 1.136 GB, free: 5.949 MB / 0.7136 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.007465/0.7781, allocations: 4.888 MB / 1.141 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.7815, allocations: 0.8935 MB / 1.142 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.7823, allocations: 328.3 kB / 1.142 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/0.7831, allocations: 0.9031 MB / 1.143 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.7832, allocations: 36.94 kB / 1.143 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.617e-06/0.7832, allocations: 0 / 1.143 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.008036/0.7912, allocations: 1.951 MB / 1.145 GB, free: 352 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.7913, allocations: 55.09 kB / 1.145 GB, free: 288 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.7934, allocations: 1.057 MB / 1.146 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.7935, allocations: 34.17 kB / 1.146 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006117/0.7941, allocations: 0.5329 MB / 1.146 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.7944, allocations: 157.3 kB / 1.147 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.7944, allocations: 10.66 kB / 1.147 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.7946, allocations: 328.9 kB / 1.147 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.7955, allocations: 319.6 kB / 1.147 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.7966, allocations: 0.5299 MB / 1.148 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.7984, allocations: 0.7269 MB / 1.148 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.7985, allocations: 1.281 kB / 1.148 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004054/0.8025, allocations: 1.209 MB / 1.15 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.8027, allocations: 214.2 kB / 1.15 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.8027, allocations: 9.125 kB / 1.15 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.8041, allocations: 326.5 kB / 1.15 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.8047, allocations: 131.5 kB / 1.15 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.8065, allocations: 0.942 MB / 1.151 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.8082, allocations: 199 kB / 1.151 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.8084, allocations: 28.03 kB / 1.151 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8084, allocations: 4.406 kB / 1.151 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003613/0.812, allocations: 1.087 MB / 1.153 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.812, allocations: 4.328 kB / 1.153 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.8133, allocations: 324.1 kB / 1.153 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.8139, allocations: 126.7 kB / 1.153 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.8155, allocations: 0.9333 MB / 1.154 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.8171, allocations: 172.5 kB / 1.154 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.8173, allocations: 31.83 kB / 1.154 GB, free: 11.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000855/0.8181, allocations: 355 kB / 1.154 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.8185, allocations: 106.7 kB / 1.154 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.8214, allocations: 0.9738 MB / 1.155 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.8214, allocations: 9.359 kB / 1.155 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8214, allocations: 0 / 1.155 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.8214, allocations: 6 kB / 1.155 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006834/0.8283, allocations: 2.259 MB / 1.158 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.8283, allocations: 8 kB / 1.158 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.8287, allocations: 63.61 kB / 1.158 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.8299, allocations: 327.4 kB / 1.158 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.83, allocations: 14.67 kB / 1.158 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.8318, allocations: 0.9638 MB / 1.159 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.8318, allocations: 7.938 kB / 1.159 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.8361, allocations: 1.257 MB / 1.16 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.8372, allocations: 285.1 kB / 1.16 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.8377, allocations: 12.98 kB / 1.161 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.839, allocations: 111.8 kB / 1.161 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.8392, allocations: 36.08 kB / 1.161 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.8393, allocations: 27.5 kB / 1.161 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001928/0.8412, allocations: 0.7334 MB / 1.161 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.753e-06/0.8412, allocations: 0 / 1.161 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002856/0.8441, allocations: 0.5644 MB / 1.162 GB, free: 4.16 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/0.8455, allocations: 392.5 kB / 1.162 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003823/0.8493, allocations: 1.156 MB / 1.163 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8493, allocations: 4 kB / 1.163 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.8504, allocations: 370.2 kB / 1.164 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.8543, allocations: 0.5151 MB / 1.164 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006938/0.8612, allocations: 2.543 MB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.8623, allocations: 1.065 MB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001777/0.8641, allocations: 219.9 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.8645, allocations: 79.52 kB / 1.168 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of SimCode: time 2.524e-06/0.8645, allocations: 4 kB / 1.168 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.0481/0.9126, allocations: 24 MB / 1.192 GB, free: 8.645 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)