Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001431, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7451 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 61.09 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3429, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06293/0.4059, allocations: 61.23 MB / 1.128 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.4234, allocations: 12.01 MB / 1.14 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.4255, allocations: 59.62 kB / 1.14 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.4275, allocations: 0.6752 MB / 1.14 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.4336, allocations: 1.971 MB / 1.142 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.4389, allocations: 1.2 MB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005514/0.4444, allocations: 3.083 MB / 1.147 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.4464, allocations: 1.132 MB / 1.148 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.4503, allocations: 1.322 MB / 1.149 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.4523, allocations: 0.9178 MB / 1.15 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003828/0.4527, allocations: 116 kB / 1.15 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.4561, allocations: 1.454 MB / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.4565, allocations: 294.9 kB / 1.152 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.4577, allocations: 0.7075 MB / 1.152 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.4618, allocations: 2.291 MB / 1.155 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4619, allocations: 0 / 1.155 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4619, allocations: 0 / 1.155 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.591e-05/0.4619, allocations: 0 / 1.155 GB, free: 1.719 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003875/0.4658, allocations: 1.74 MB / 1.156 GB, free: 15.92 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4659, allocations: 12.03 kB / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.4685, allocations: 454.8 kB / 1.157 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.4708, allocations: 1.124 MB / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.4712, allocations: 117.9 kB / 1.158 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.4713, allocations: 84 kB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.4736, allocations: 0.9978 MB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4736, allocations: 0 / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.4737, allocations: 36 kB / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.4737, allocations: 20 kB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.4764, allocations: 0.9407 MB / 1.16 GB, free: 12.06 MB / 0.92 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.006644/0.4831, allocations: 4.707 MB / 1.165 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.4874, allocations: 1.001 MB / 1.165 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4885, allocations: 413.8 kB / 1.166 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.4896, allocations: 1.021 MB / 1.167 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4897, allocations: 35 kB / 1.167 GB, free: 4.305 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.4897, allocations: 0 / 1.167 GB, free: 4.305 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.008598/0.4983, allocations: 1.943 MB / 1.169 GB, free: 2.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4984, allocations: 67.72 kB / 1.169 GB, free: 2.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.5001, allocations: 0.9475 MB / 1.17 GB, free: 1.285 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.5002, allocations: 41.7 kB / 1.17 GB, free: 1.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.5007, allocations: 0.504 MB / 1.17 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.501, allocations: 181.4 kB / 1.171 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.5012, allocations: 130.1 kB / 1.171 GB, free: 428 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5013, allocations: 326 kB / 1.171 GB, free: 96 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.5024, allocations: 362.8 kB / 1.171 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.5037, allocations: 0.5029 MB / 1.172 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.5061, allocations: 0.7619 MB / 1.173 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5061, allocations: 7.938 kB / 1.173 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003292/0.5094, allocations: 1.068 MB / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5095, allocations: 7.938 kB / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5095, allocations: 4 kB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.5109, allocations: 316.7 kB / 1.174 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.5115, allocations: 135.8 kB / 1.174 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.5132, allocations: 0.9052 MB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.5143, allocations: 123.4 kB / 1.175 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.5144, allocations: 35.97 kB / 1.175 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/0.5158, allocations: 0.5518 MB / 1.176 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001203/0.5171, allocations: 0.503 MB / 1.176 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002066/0.5191, allocations: 0.7617 MB / 1.177 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.538e-06/0.5192, allocations: 3.938 kB / 1.177 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003147/0.5223, allocations: 1.053 MB / 1.178 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5223, allocations: 9.25 kB / 1.178 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5224, allocations: 4 kB / 1.178 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.5235, allocations: 300.5 kB / 1.178 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.5241, allocations: 139.8 kB / 1.178 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.5256, allocations: 0.9052 MB / 1.179 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5266, allocations: 116.2 kB / 1.179 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.5267, allocations: 31.98 kB / 1.179 GB, free: 7.25 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.000243/0.527, allocations: 216.1 kB / 1.18 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.5272, allocations: 110.7 kB / 1.18 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.5304, allocations: 1.165 MB / 1.181 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5304, allocations: 8 kB / 1.181 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5304, allocations: 0 / 1.181 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5304, allocations: 3.984 kB / 1.181 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/0.535, allocations: 2.26 MB / 1.183 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.5351, allocations: 4.188 kB / 1.183 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.5356, allocations: 103.8 kB / 1.183 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.5367, allocations: 308.4 kB / 1.183 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.5368, allocations: 15.98 kB / 1.183 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.5384, allocations: 0.9363 MB / 1.184 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.5384, allocations: 7.969 kB / 1.184 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.5426, allocations: 1.312 MB / 1.186 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.5431, allocations: 275.5 kB / 1.186 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.5433, allocations: 19.84 kB / 1.186 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.5441, allocations: 79.91 kB / 1.186 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5443, allocations: 48.25 kB / 1.186 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.5443, allocations: 27.97 kB / 1.186 GB, free: 192 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001126/0.5455, allocations: 0.6715 MB / 1.187 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5455, allocations: 0 / 1.187 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001623/0.5471, allocations: 0.5614 MB / 1.187 GB, free: 14.95 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008014/0.5479, allocations: 391.7 kB / 1.188 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004492/0.5524, allocations: 1.338 MB / 1.189 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.5525, allocations: 0 / 1.189 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.5539, allocations: 460.8 kB / 1.189 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.5568, allocations: 499.6 kB / 1.19 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.5613, allocations: 1.925 MB / 1.192 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.562, allocations: 1.07 MB / 1.193 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001048/0.563, allocations: 228.4 kB / 1.193 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.5633, allocations: 83.41 kB / 1.193 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of SimCode: time 1.001e-06/0.5633, allocations: 0 / 1.193 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of Templates: time 0.04335/0.6066, allocations: 24.69 MB / 1.217 GB, free: 0.5078 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)