Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.23 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3347, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07239/0.4072, allocations: 74.54 MB / 1.14 GB, free: 0 / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.4259, allocations: 12.66 MB / 1.153 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.429, allocations: 59.62 kB / 1.153 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.4317, allocations: 0.7151 MB / 1.154 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007483/0.4393, allocations: 2.302 MB / 1.156 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.4431, allocations: 1.286 MB / 1.157 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006377/0.4495, allocations: 4.4 MB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.452, allocations: 1.437 MB / 1.163 GB, free: 9.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.4565, allocations: 1.641 MB / 1.164 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.4588, allocations: 1.237 MB / 1.166 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005457/0.4593, allocations: 160 kB / 1.166 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.4628, allocations: 1.419 MB / 1.167 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006321/0.4635, allocations: 398.6 kB / 1.168 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.4652, allocations: 0.9021 MB / 1.168 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.4701, allocations: 2.84 MB / 1.171 GB, free: 464 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4702, allocations: 3.984 kB / 1.171 GB, free: 460 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4702, allocations: 3.938 kB / 1.171 GB, free: 456 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.365e-05/0.4703, allocations: 0 / 1.171 GB, free: 456 kB / 0.92 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.005147/0.4754, allocations: 2.075 MB / 1.173 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4755, allocations: 12.03 kB / 1.173 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.4766, allocations: 234.8 kB / 1.173 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.4798, allocations: 1.485 MB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.4799, allocations: 78 kB / 1.175 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.4801, allocations: 104 kB / 1.175 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.4826, allocations: 1.096 MB / 1.176 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.4826, allocations: 3.938 kB / 1.176 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.4827, allocations: 40 kB / 1.176 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.4828, allocations: 28 kB / 1.176 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.4848, allocations: 0.89 MB / 1.177 GB, free: 10.25 MB / 0.9356 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.007233/0.4921, allocations: 4.9 MB / 1.182 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.4937, allocations: 0.6197 MB / 1.182 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.4944, allocations: 348.6 kB / 1.183 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.4951, allocations: 0.8238 MB / 1.184 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.4951, allocations: 39.12 kB / 1.184 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 4.288e-06/0.4952, allocations: 3.984 kB / 1.184 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007069/0.5022, allocations: 1.689 MB / 1.185 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.5023, allocations: 63.95 kB / 1.185 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.5044, allocations: 1.21 MB / 1.187 GB, free: 16 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.5046, allocations: 41.7 kB / 1.187 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.5052, allocations: 0.6026 MB / 1.187 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.5054, allocations: 209 kB / 1.187 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.5057, allocations: 150.6 kB / 1.188 GB, free: 15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5059, allocations: 341.9 kB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006965/0.5066, allocations: 292.7 kB / 1.188 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/0.5075, allocations: 491.8 kB / 1.189 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.5091, allocations: 0.7051 MB / 1.189 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5091, allocations: 8 kB / 1.189 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004816/0.514, allocations: 1.273 MB / 1.191 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.514, allocations: 8 kB / 1.191 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.514, allocations: 4 kB / 1.191 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.5147, allocations: 141.1 kB / 1.191 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.5153, allocations: 155.8 kB / 1.191 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008765/0.5162, allocations: 0.6927 MB / 1.191 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5175, allocations: 159 kB / 1.192 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/0.5176, allocations: 35.98 kB / 1.192 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001163/0.5188, allocations: 0.5526 MB / 1.192 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008598/0.5196, allocations: 495.8 kB / 1.193 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001397/0.5211, allocations: 0.7011 MB / 1.193 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.5211, allocations: 0 / 1.193 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004793/0.5259, allocations: 1.265 MB / 1.195 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5259, allocations: 11.98 kB / 1.195 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5259, allocations: 4 kB / 1.195 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.5264, allocations: 133.1 kB / 1.195 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.5271, allocations: 155.8 kB / 1.195 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008142/0.5279, allocations: 0.7083 MB / 1.196 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.5292, allocations: 127.5 kB / 1.196 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.5293, allocations: 31.98 kB / 1.196 GB, free: 6.215 MB / 0.9512 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.0002849/0.5296, allocations: 228.6 kB / 1.196 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.53, allocations: 138.3 kB / 1.196 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/0.5348, allocations: 1.267 MB / 1.197 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.5349, allocations: 4 kB / 1.197 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5349, allocations: 0 / 1.197 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004083/0.539, allocations: 1.103 MB / 1.198 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007453/0.5464, allocations: 2.613 MB / 1.201 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.5465, allocations: 4 kB / 1.201 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.547, allocations: 115.8 kB / 1.201 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.5475, allocations: 125.2 kB / 1.201 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.5476, allocations: 23.94 kB / 1.201 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.5526, allocations: 2.579 MB / 1.204 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.5526, allocations: 7.938 kB / 1.204 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.5581, allocations: 1.691 MB / 1.205 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/0.559, allocations: 307.3 kB / 1.206 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/0.5595, allocations: 16 kB / 1.206 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.5608, allocations: 83.75 kB / 1.206 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.561, allocations: 72.17 kB / 1.206 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/0.5611, allocations: 27.98 kB / 1.206 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00176/0.5629, allocations: 0.866 MB / 1.207 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5629, allocations: 0 / 1.207 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003539/0.5664, allocations: 0.7096 MB / 1.207 GB, free: 9.836 MB / 0.9669 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.001711/0.5681, allocations: 451.6 kB / 1.208 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.5718, allocations: 1.153 MB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.5718, allocations: 4 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.5735, allocations: 0.5643 MB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/0.5778, allocations: 0.803 MB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.5826, allocations: 2.748 MB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.5839, allocations: 1.172 MB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001776/0.5857, allocations: 307 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.5861, allocations: 103.4 kB / 1.215 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of SimCode: time 1.563e-06/0.5861, allocations: 0 / 1.215 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of Templates: time 0.05682/0.6429, allocations: 31.5 MB / 1.245 GB, free: 3.332 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)