Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot") translateModel(Buildings.Fluid.Chillers.Examples.Carnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5593/0.5593, allocations: 94.69 MB / 107.2 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001224/0.001223, allocations: 172.4 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.633/1.633, allocations: 170.5 MB / 324.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001642/0.001642, allocations: 111.8 kB / 386.6 MB, free: 16.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.036e-05/5.038e-05, allocations: 4 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.478, allocations: 61.52 MB / 0.5054 GB, free: 49.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.798, allocations: 422 MB / 0.9175 GB, free: 145 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/1.798, allocations: 87.27 kB / 0.9176 GB, free: 145 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.074/2.873, allocations: 360.8 MB / 1.27 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.52e-07/2.873, allocations: 0 / 1.27 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000115/2.873, allocations: 35.88 kB / 1.27 GB, free: 31.21 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003293/2.876, allocations: 1.592 MB / 1.272 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/2.876, allocations: 8.031 kB / 1.272 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006022/2.877, allocations: 185.6 kB / 1.272 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/2.879, allocations: 1.37 MB / 1.273 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/2.879, allocations: 78 kB / 1.273 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/2.88, allocations: 95.91 kB / 1.273 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/2.881, allocations: 1.061 MB / 1.274 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/2.881, allocations: 4 kB / 1.274 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/2.881, allocations: 44 kB / 1.274 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/2.881, allocations: 23.95 kB / 1.274 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/2.882, allocations: 0.7457 MB / 1.275 GB, free: 25.84 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005096/2.888, allocations: 4.905 MB / 1.28 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/2.888, allocations: 414.2 kB / 1.28 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/2.888, allocations: 214.5 kB / 1.28 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002071/2.891, allocations: 1.787 MB / 1.282 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/2.891, allocations: 42.5 kB / 1.282 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/2.891, allocations: 0 / 1.282 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.002576/2.893, allocations: 1.353 MB / 1.284 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/2.893, allocations: 162.7 kB / 1.284 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/2.894, allocations: 0.9585 MB / 1.285 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/2.894, allocations: 37.7 kB / 1.285 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/2.895, allocations: 0.6544 MB / 1.285 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/2.895, allocations: 173.6 kB / 1.285 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/2.895, allocations: 16 kB / 1.285 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/2.895, allocations: 349.9 kB / 1.286 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/2.895, allocations: 206 kB / 1.286 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/2.896, allocations: 0.5883 MB / 1.287 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/2.896, allocations: 320.9 kB / 1.287 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.896, allocations: 0 / 1.287 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001086/2.897, allocations: 0.8651 MB / 1.288 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006864/2.898, allocations: 3.95 MB / 1.292 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.898, allocations: 8 kB / 1.292 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/2.898, allocations: 16 kB / 1.292 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/2.899, allocations: 235.6 kB / 1.292 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/2.899, allocations: 23.84 kB / 1.292 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009463/2.9, allocations: 111.7 kB / 1.292 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/2.9, allocations: 43.98 kB / 1.292 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/2.9, allocations: 4 kB / 1.292 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009224/2.901, allocations: 0.7234 MB / 1.293 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/2.901, allocations: 8 kB / 1.293 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/2.901, allocations: 20.8 kB / 1.293 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/2.901, allocations: 223.6 kB / 1.293 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/2.901, allocations: 23.92 kB / 1.293 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/2.902, allocations: 87.88 kB / 1.293 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/2.902, allocations: 44 kB / 1.293 GB, free: 6.285 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/2.902, allocations: 164.6 kB / 1.293 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/2.903, allocations: 130.5 kB / 1.293 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008755/2.903, allocations: 0.5118 MB / 1.294 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/2.903, allocations: 7.953 kB / 1.294 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.903, allocations: 0 / 1.294 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/2.903, allocations: 3.984 kB / 1.294 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/2.905, allocations: 1.483 MB / 1.295 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/2.905, allocations: 7.984 kB / 1.295 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/2.906, allocations: 135.9 kB / 1.296 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/2.906, allocations: 7.953 kB / 1.296 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/2.906, allocations: 16 kB / 1.296 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/2.906, allocations: 0 / 1.296 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.906, allocations: 4 kB / 1.296 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/2.907, allocations: 0.8999 MB / 1.296 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/2.907, allocations: 203.6 kB / 1.297 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/2.907, allocations: 11.98 kB / 1.297 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/2.908, allocations: 52.03 kB / 1.297 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/2.908, allocations: 44.33 kB / 1.297 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/2.908, allocations: 31.97 kB / 1.297 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009019/2.909, allocations: 0.7318 MB / 1.297 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/2.909, allocations: 0 / 1.297 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002164/2.911, allocations: 0.695 MB / 1.298 GB, free: 1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (chi.vol1.dynBal.medium.T,chi.vol2.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/2.912, allocations: 0.6276 MB / 1.299 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3398/3.252, allocations: 0.9559 MB / 1.3 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/3.252, allocations: 0 / 1.3 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/3.253, allocations: 214 kB / 1.3 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/3.256, allocations: 0.6684 MB / 1.301 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/3.26, allocations: 1.863 MB / 1.302 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/3.261, allocations: 1.132 MB / 1.303 GB, free: 67.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00192/3.263, allocations: 412.5 kB / 1.304 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/3.263, allocations: 86.72 kB / 1.304 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/3.263, allocations: 0.5625 kB / 1.304 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.04726/3.311, allocations: 29.59 MB / 1.333 GB, free: 67.12 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot.pipe 2>&1)