Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 391.2 MB / 407 MB, free: 10.85 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.00122/0.00122, allocations: 195.4 kB / 499.1 MB, free: 4.676 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.442/1.442, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001466/0.001466, allocations: 115.6 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 49.81 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2918, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.0498/0.3417, allocations: 74.71 MB / 1.291 GB, free: 42.23 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.3564, allocations: 12.82 MB / 1.304 GB, free: 29.38 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/0.3595, allocations: 59.62 kB / 1.304 GB, free: 29.32 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.3621, allocations: 0.6721 MB / 1.304 GB, free: 28.64 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.3692, allocations: 2.275 MB / 1.307 GB, free: 26.36 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.3733, allocations: 1.266 MB / 1.308 GB, free: 25.11 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006407/0.3798, allocations: 5.57 MB / 1.313 GB, free: 19.52 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.3821, allocations: 1.192 MB / 1.314 GB, free: 18.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.3853, allocations: 1.369 MB / 1.316 GB, free: 16.93 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.3879, allocations: 1.178 MB / 1.317 GB, free: 15.74 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000602/0.3885, allocations: 72 kB / 1.317 GB, free: 15.67 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.3921, allocations: 1.259 MB / 1.318 GB, free: 14.41 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006521/0.3928, allocations: 318.6 kB / 1.318 GB, free: 14.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.3946, allocations: 0.8044 MB / 1.319 GB, free: 13.29 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.3996, allocations: 2.781 MB / 1.322 GB, free: 10.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.3997, allocations: 0 / 1.322 GB, free: 10.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3997, allocations: 0 / 1.322 GB, free: 10.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.053e-05/0.3998, allocations: 0 / 1.322 GB, free: 10.5 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005022/0.4048, allocations: 2.075 MB / 1.324 GB, free: 8.355 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4049, allocations: 15.98 kB / 1.324 GB, free: 8.34 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4059, allocations: 226.8 kB / 1.324 GB, free: 8.117 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.4085, allocations: 1.497 MB / 1.326 GB, free: 6.566 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.4086, allocations: 78 kB / 1.326 GB, free: 6.488 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.4088, allocations: 100 kB / 1.326 GB, free: 6.391 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.4107, allocations: 1.1 MB / 1.327 GB, free: 5.258 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.4108, allocations: 3.906 kB / 1.327 GB, free: 5.254 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.4109, allocations: 43.98 kB / 1.327 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.4109, allocations: 28 kB / 1.327 GB, free: 5.184 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4126, allocations: 0.8861 MB / 1.328 GB, free: 4.293 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.005959/0.4186, allocations: 4.911 MB / 1.333 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.42, allocations: 0.6154 MB / 1.333 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/0.4207, allocations: 343.8 kB / 1.334 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.4214, allocations: 0.8277 MB / 1.334 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.4215, allocations: 43.12 kB / 1.334 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=61): time 2.895e-06/0.4215, allocations: 3.938 kB / 1.334 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=61): time 0.007299/0.4288, allocations: 1.681 MB / 1.336 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.4289, allocations: 59.95 kB / 1.336 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.4312, allocations: 1.206 MB / 1.337 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.4313, allocations: 41.7 kB / 1.337 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.4319, allocations: 0.5986 MB / 1.338 GB, free: 9.414 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.4322, allocations: 216.9 kB / 1.338 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.4325, allocations: 154.6 kB / 1.338 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4326, allocations: 341.9 kB / 1.339 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.4333, allocations: 288.7 kB / 1.339 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/0.4342, allocations: 491.8 kB / 1.339 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.4357, allocations: 0.7129 MB / 1.34 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.4358, allocations: 4 kB / 1.34 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00489/0.4407, allocations: 1.269 MB / 1.341 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.4407, allocations: 12.03 kB / 1.341 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4408, allocations: 4 kB / 1.341 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.4414, allocations: 132.7 kB / 1.341 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.4421, allocations: 167.7 kB / 1.342 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009027/0.443, allocations: 0.6927 MB / 1.342 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.4445, allocations: 159.1 kB / 1.342 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.4447, allocations: 35.98 kB / 1.342 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001415/0.4461, allocations: 0.5504 MB / 1.343 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009091/0.447, allocations: 495.8 kB / 1.343 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001458/0.4485, allocations: 0.6973 MB / 1.344 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.4485, allocations: 0 / 1.344 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00484/0.4534, allocations: 1.265 MB / 1.345 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4534, allocations: 8 kB / 1.345 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4534, allocations: 4.375 kB / 1.345 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005412/0.454, allocations: 140.7 kB / 1.346 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.4546, allocations: 155.7 kB / 1.346 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/0.4555, allocations: 0.7005 MB / 1.346 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.4568, allocations: 137 kB / 1.346 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.457, allocations: 35.98 kB / 1.347 GB, free: 260 kB / 0.8386 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.0002928/0.4573, allocations: 225.4 kB / 1.347 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/0.4577, allocations: 134.5 kB / 1.347 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.4626, allocations: 1.267 MB / 1.348 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.4626, allocations: 4 kB / 1.348 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4627, allocations: 0 / 1.348 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004103/0.4668, allocations: 1.103 MB / 1.349 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/0.4738, allocations: 2.598 MB / 1.352 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4738, allocations: 4 kB / 1.352 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.4743, allocations: 116.2 kB / 1.352 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/0.4749, allocations: 136.7 kB / 1.352 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.4749, allocations: 19.94 kB / 1.352 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004771/0.4797, allocations: 2.334 MB / 1.354 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4797, allocations: 4 kB / 1.354 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03513/0.5149, allocations: 10.65 MB / 1.365 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.5161, allocations: 307.2 kB / 1.365 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/0.5167, allocations: 12 kB / 1.365 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.518, allocations: 95.8 kB / 1.365 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.5183, allocations: 60.3 kB / 1.365 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.617e-05/0.5184, allocations: 27.98 kB / 1.365 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001642/0.52, allocations: 0.8699 MB / 1.366 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.52, allocations: 0 / 1.366 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003964/0.524, allocations: 1.088 MB / 1.367 GB, free: 10.5 MB / 0.8698 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.001133/0.5252, allocations: 448.3 kB / 1.367 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002892/0.5281, allocations: 1.101 MB / 1.369 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.5281, allocations: 5.062 kB / 1.369 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.5298, allocations: 0.564 MB / 1.369 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005243/0.5351, allocations: 0.7653 MB / 1.37 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/0.5423, allocations: 3.478 MB / 1.373 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.5435, allocations: 1.199 MB / 1.374 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001585/0.5451, allocations: 315 kB / 1.375 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.5454, allocations: 103.4 kB / 1.375 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/0.5454, allocations: 0 / 1.375 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of Templates: time 0.0552/0.6006, allocations: 33.33 MB / 1.407 GB, free: 1.398 MB / 0.9011 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)