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.5245/0.5245, allocations: 95.61 MB / 110.6 MB, free: 9.371 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.00107/0.00107, allocations: 175.1 kB / 134.2 MB, free: 2.266 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.516/1.516, allocations: 170.7 MB / 328.4 MB, free: 12.27 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.001752/0.001752, allocations: 108.5 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.302, allocations: 422.1 MB / 0.9242 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004005/1.303, allocations: 87.95 kB / 0.9243 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.414/2.717, allocations: 361.9 MB / 1.278 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/2.717, allocations: 0 / 1.278 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001232/2.717, allocations: 36 kB / 1.278 GB, free: 71.05 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.004329/2.721, allocations: 1.805 MB / 1.279 GB, free: 69.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/2.721, allocations: 11.98 kB / 1.28 GB, free: 69.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/2.722, allocations: 183.7 kB / 1.28 GB, free: 69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/2.725, allocations: 1.395 MB / 1.281 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/2.725, allocations: 77.44 kB / 1.281 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/2.725, allocations: 92 kB / 1.281 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/2.727, allocations: 1.127 MB / 1.282 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/2.727, allocations: 0 / 1.282 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/2.727, allocations: 44 kB / 1.282 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/2.727, allocations: 30.61 kB / 1.282 GB, free: 66.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/2.729, allocations: 0.8625 MB / 1.283 GB, free: 65.29 MB / 0.5261 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.006123/2.735, allocations: 4.912 MB / 1.288 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/2.736, allocations: 478.8 kB / 1.288 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/2.738, allocations: 1.764 MB / 1.29 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/2.738, allocations: 42.56 kB / 1.29 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/2.738, allocations: 0 / 1.29 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.003944/2.742, allocations: 1.733 MB / 1.292 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/2.742, allocations: 162.7 kB / 1.292 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/2.743, allocations: 0.9763 MB / 1.293 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/2.743, allocations: 41.7 kB / 1.293 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/2.744, allocations: 0.6468 MB / 1.294 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/2.744, allocations: 173.6 kB / 1.294 GB, free: 53.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/2.744, allocations: 16 kB / 1.294 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/2.744, allocations: 342 kB / 1.294 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/2.744, allocations: 265.8 kB / 1.294 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/2.745, allocations: 0.6546 MB / 1.295 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/2.746, allocations: 373.9 kB / 1.295 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/2.746, allocations: 4 kB / 1.295 GB, free: 52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001483/2.747, allocations: 0.9938 MB / 1.296 GB, free: 51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007578/2.748, allocations: 3.95 MB / 1.3 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/2.748, allocations: 11.95 kB / 1.3 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/2.748, allocations: 16 kB / 1.3 GB, free: 46.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/2.749, allocations: 227.6 kB / 1.301 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/2.749, allocations: 23.92 kB / 1.301 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/2.75, allocations: 99.78 kB / 1.301 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/2.75, allocations: 47.98 kB / 1.301 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/2.75, allocations: 4 kB / 1.301 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/2.751, allocations: 0.8296 MB / 1.302 GB, free: 45.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.751, allocations: 23.91 kB / 1.302 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/2.751, allocations: 16 kB / 1.302 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/2.752, allocations: 230.2 kB / 1.302 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/2.752, allocations: 19.92 kB / 1.302 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/2.753, allocations: 87.8 kB / 1.302 GB, free: 45.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/2.753, allocations: 47.98 kB / 1.302 GB, free: 45.11 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 () * Number of clocked 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.0006748/2.753, allocations: 397.1 kB / 1.302 GB, free: 44.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/2.754, allocations: 126.5 kB / 1.302 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/2.755, allocations: 0.6135 MB / 1.303 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/2.755, allocations: 8 kB / 1.303 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/2.755, allocations: 0 / 1.303 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/2.755, allocations: 3.984 kB / 1.303 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/2.757, allocations: 1.592 MB / 1.305 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.757, allocations: 0 / 1.305 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/2.757, allocations: 135.9 kB / 1.305 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/2.757, allocations: 4 kB / 1.305 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/2.757, allocations: 8 kB / 1.305 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/2.758, allocations: 4 kB / 1.305 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.758, allocations: 0 / 1.305 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/2.759, allocations: 1.064 MB / 1.306 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/2.759, allocations: 203.6 kB / 1.306 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/2.759, allocations: 16.06 kB / 1.306 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/2.76, allocations: 59.48 kB / 1.306 GB, free: 40.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/2.76, allocations: 44.38 kB / 1.306 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/2.76, allocations: 27.97 kB / 1.306 GB, free: 40.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008517/2.761, allocations: 0.7419 MB / 1.307 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.761, allocations: 0 / 1.307 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002207/2.763, allocations: 0.6911 MB / 1.308 GB, free: 39.23 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 () * Number of clocked 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.001312/2.765, allocations: 0.6414 MB / 1.308 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001957/2.767, allocations: 1.079 MB / 1.309 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/2.767, allocations: 12.12 kB / 1.309 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/2.767, allocations: 262.3 kB / 1.309 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/2.77, allocations: 0.6905 MB / 1.31 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/2.774, allocations: 2.721 MB / 1.313 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/2.774, allocations: 1.129 MB / 1.314 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00139/2.776, allocations: 336.1 kB / 1.314 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/2.776, allocations: 103.4 kB / 1.314 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.001e-06/2.776, allocations: 0 / 1.314 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.04005/2.816, allocations: 26.79 MB / 1.34 GB, free: 5.82 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)