Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.288/2.288, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 198.2 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 109.5 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 50.77 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3137, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04117/0.3549, allocations: 60.84 MB / 1.277 GB, free: 56.21 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.3679, allocations: 12.07 MB / 1.289 GB, free: 44.12 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.3704, allocations: 51.69 kB / 1.289 GB, free: 44.07 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.3723, allocations: 0.5593 MB / 1.29 GB, free: 43.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.3773, allocations: 1.8 MB / 1.292 GB, free: 41.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.38, allocations: 1.073 MB / 1.293 GB, free: 40.63 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00474/0.3847, allocations: 3.929 MB / 1.297 GB, free: 36.69 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.3862, allocations: 0.9256 MB / 1.297 GB, free: 35.73 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.3888, allocations: 1.163 MB / 1.299 GB, free: 34.57 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.39, allocations: 0.8983 MB / 1.299 GB, free: 33.66 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.3901, allocations: 56 kB / 1.299 GB, free: 33.61 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.3926, allocations: 1.349 MB / 1.301 GB, free: 32.26 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.3928, allocations: 230.9 kB / 1.301 GB, free: 32.03 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006918/0.3935, allocations: 0.6372 MB / 1.302 GB, free: 31.39 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.3965, allocations: 2.24 MB / 1.304 GB, free: 29.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3965, allocations: 0 / 1.304 GB, free: 29.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.61e-07/0.3965, allocations: 0 / 1.304 GB, free: 29.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.3966, allocations: 0 / 1.304 GB, free: 29.14 MB / 0.823 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.002577/0.3991, allocations: 1.715 MB / 1.306 GB, free: 27.37 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3992, allocations: 19.97 kB / 1.306 GB, free: 27.35 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.4011, allocations: 410.8 kB / 1.306 GB, free: 26.95 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.4029, allocations: 1.132 MB / 1.307 GB, free: 25.76 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.4032, allocations: 117.9 kB / 1.307 GB, free: 25.64 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.4033, allocations: 80 kB / 1.307 GB, free: 25.56 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.4049, allocations: 0.9778 MB / 1.308 GB, free: 24.54 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.405, allocations: 7.938 kB / 1.308 GB, free: 24.54 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.405, allocations: 32 kB / 1.308 GB, free: 24.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4051, allocations: 20 kB / 1.308 GB, free: 24.48 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.4071, allocations: 0.8547 MB / 1.309 GB, free: 23.62 MB / 0.823 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.004956/0.412, allocations: 4.823 MB / 1.314 GB, free: 18.45 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.4151, allocations: 0.7882 MB / 1.315 GB, free: 17.65 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.4158, allocations: 301.7 kB / 1.315 GB, free: 17.36 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003969/0.4162, allocations: 0.9142 MB / 1.316 GB, free: 16.24 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4162, allocations: 46.44 kB / 1.316 GB, free: 16.18 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 2.265e-06/0.4162, allocations: 0 / 1.316 GB, free: 16.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.006357/0.4226, allocations: 1.755 MB / 1.317 GB, free: 14.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4226, allocations: 59.41 kB / 1.318 GB, free: 14.33 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4238, allocations: 1.055 MB / 1.319 GB, free: 13.26 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.4239, allocations: 37.7 kB / 1.319 GB, free: 13.21 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.4242, allocations: 0.5157 MB / 1.319 GB, free: 12.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.4243, allocations: 153.8 kB / 1.319 GB, free: 12.54 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.4245, allocations: 130 kB / 1.319 GB, free: 12.41 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.4246, allocations: 326 kB / 1.32 GB, free: 12.09 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007717/0.4253, allocations: 306.9 kB / 1.32 GB, free: 11.78 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.4262, allocations: 0.509 MB / 1.32 GB, free: 11.19 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4276, allocations: 0.6778 MB / 1.321 GB, free: 10.46 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4276, allocations: 4 kB / 1.321 GB, free: 10.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003106/0.4308, allocations: 1.125 MB / 1.322 GB, free: 9.316 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4308, allocations: 8 kB / 1.322 GB, free: 9.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4308, allocations: 4 kB / 1.322 GB, free: 9.305 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4319, allocations: 317.1 kB / 1.323 GB, free: 8.992 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.4324, allocations: 123.8 kB / 1.323 GB, free: 8.871 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.4337, allocations: 0.9135 MB / 1.324 GB, free: 7.934 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4353, allocations: 171.2 kB / 1.324 GB, free: 7.766 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.4354, allocations: 31.98 kB / 1.324 GB, free: 7.734 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001337/0.4368, allocations: 0.5027 MB / 1.324 GB, free: 7.227 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008799/0.4377, allocations: 0.4981 MB / 1.325 GB, free: 6.648 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001484/0.4392, allocations: 0.6719 MB / 1.325 GB, free: 5.918 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.4392, allocations: 0 / 1.325 GB, free: 5.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003352/0.4426, allocations: 1.117 MB / 1.326 GB, free: 4.789 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4426, allocations: 8 kB / 1.326 GB, free: 4.781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4426, allocations: 7.938 kB / 1.327 GB, free: 4.773 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.4436, allocations: 309 kB / 1.327 GB, free: 4.469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.4441, allocations: 119.8 kB / 1.327 GB, free: 4.352 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.4454, allocations: 0.9019 MB / 1.328 GB, free: 3.426 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4467, allocations: 163.5 kB / 1.328 GB, free: 3.266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.4468, allocations: 27.98 kB / 1.328 GB, free: 3.238 MB / 0.823 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.0002196/0.447, allocations: 208.2 kB / 1.328 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.4472, allocations: 114.6 kB / 1.328 GB, free: 2.914 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.4494, allocations: 0.9299 MB / 1.329 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4495, allocations: 11.92 kB / 1.329 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4495, allocations: 0 / 1.329 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4495, allocations: 0 / 1.329 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.4544, allocations: 2.155 MB / 1.331 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.4544, allocations: 4 kB / 1.331 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.4547, allocations: 59.89 kB / 1.331 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.4557, allocations: 313.7 kB / 1.332 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.4558, allocations: 12 kB / 1.332 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.4574, allocations: 0.9451 MB / 1.333 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4574, allocations: 4 kB / 1.333 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/0.4624, allocations: 2.252 MB / 1.335 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.463, allocations: 259.5 kB / 1.335 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.4632, allocations: 16 kB / 1.335 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.4642, allocations: 95.8 kB / 1.335 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4644, allocations: 39.89 kB / 1.335 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.4644, allocations: 23.98 kB / 1.335 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001431/0.4659, allocations: 0.7391 MB / 1.336 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4659, allocations: 0 / 1.336 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002145/0.468, allocations: 0.5692 MB / 1.336 GB, free: 10.25 MB / 0.8386 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.001019/0.4691, allocations: 391 kB / 1.337 GB, free: 9.863 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.4724, allocations: 1.093 MB / 1.338 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.4724, allocations: 4 kB / 1.338 GB, free: 8.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009337/0.4733, allocations: 340.4 kB / 1.338 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.476, allocations: 0.4959 MB / 1.339 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/0.4821, allocations: 2.745 MB / 1.341 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.483, allocations: 1.077 MB / 1.342 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001062/0.4841, allocations: 216.7 kB / 1.343 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.4843, allocations: 71.42 kB / 1.343 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of SimCode: time 9.72e-07/0.4843, allocations: 0 / 1.343 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of Templates: time 0.04528/0.5296, allocations: 24.35 MB / 1.367 GB, free: 11.63 MB / 0.8698 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)