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.5472/0.5472, allocations: 94.78 MB / 102.3 MB, free: 10.12 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.001127/0.001127, allocations: 178 kB / 125.6 MB, free: 11.86 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.739/1.739, allocations: 170.6 MB / 319.4 MB, free: 9.324 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.001635/0.001635, allocations: 107.1 kB / 381.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.612e-05, allocations: 4 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1614, allocations: 61.53 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.672/1.833, allocations: 421.4 MB / 0.9102 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/1.834, allocations: 89 kB / 0.9102 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.224/3.058, allocations: 358.5 MB / 1.26 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.004e-06/3.058, allocations: 0 / 1.26 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002978/3.058, allocations: 39.77 kB / 1.26 GB, free: 61.35 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.007602/3.066, allocations: 1.59 MB / 1.262 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/3.066, allocations: 8.031 kB / 1.262 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/3.067, allocations: 178.2 kB / 1.262 GB, free: 59.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00517/3.073, allocations: 1.371 MB / 1.263 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/3.073, allocations: 32 kB / 1.263 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/3.073, allocations: 55.91 kB / 1.264 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002411/3.075, allocations: 0.6793 MB / 1.264 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/3.078, allocations: 0.9277 MB / 1.265 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/3.078, allocations: 0 / 1.265 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/3.078, allocations: 5.203 kB / 1.265 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/3.079, allocations: 27.94 kB / 1.265 GB, free: 56.36 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.009076/3.088, allocations: 4.705 MB / 1.27 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/3.089, allocations: 415.5 kB / 1.27 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/3.089, allocations: 202.5 kB / 1.27 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003571/3.093, allocations: 1.731 MB / 1.272 GB, free: 48.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/3.093, allocations: 46.58 kB / 1.272 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 3.576e-06/3.093, allocations: 0 / 1.272 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.004459/3.097, allocations: 1.281 MB / 1.273 GB, free: 47.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/3.097, allocations: 170.6 kB / 1.273 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/3.099, allocations: 0.7826 MB / 1.274 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/3.099, allocations: 29.7 kB / 1.274 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/3.099, allocations: 0.6614 MB / 1.275 GB, free: 45.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/3.099, allocations: 165.7 kB / 1.275 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/3.099, allocations: 0 / 1.275 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001121/3.1, allocations: 341.9 kB / 1.275 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/3.1, allocations: 194.6 kB / 1.276 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/3.101, allocations: 0.5732 MB / 1.276 GB, free: 44.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/3.102, allocations: 339.8 kB / 1.276 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/3.102, allocations: 4 kB / 1.276 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002383/3.104, allocations: 0.8217 MB / 1.277 GB, free: 43.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001046/3.106, allocations: 3.929 MB / 1.281 GB, free: 39.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/3.106, allocations: 11.95 kB / 1.281 GB, free: 39.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.069e-05/3.106, allocations: 16 kB / 1.281 GB, free: 38.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/3.107, allocations: 227.6 kB / 1.281 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/3.107, allocations: 23.92 kB / 1.281 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/3.109, allocations: 91.77 kB / 1.281 GB, free: 38.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/3.109, allocations: 40 kB / 1.281 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/3.109, allocations: 7.938 kB / 1.281 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001741/3.111, allocations: 0.6304 MB / 1.282 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/3.111, allocations: 12 kB / 1.282 GB, free: 37.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/3.111, allocations: 16 kB / 1.282 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/3.112, allocations: 227.6 kB / 1.282 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/3.112, allocations: 16.19 kB / 1.282 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/3.113, allocations: 79.78 kB / 1.282 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/3.113, allocations: 40 kB / 1.282 GB, free: 37.6 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.0003139/3.114, allocations: 140.6 kB / 1.283 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/3.114, allocations: 110.7 kB / 1.283 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/3.116, allocations: 0.491 MB / 1.283 GB, free: 36.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/3.116, allocations: 4 kB / 1.283 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/3.116, allocations: 0 / 1.283 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/3.116, allocations: 3.984 kB / 1.283 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/3.119, allocations: 1.363 MB / 1.285 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/3.119, allocations: 0 / 1.285 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/3.12, allocations: 127.4 kB / 1.285 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/3.12, allocations: 4 kB / 1.285 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/3.12, allocations: 7.984 kB / 1.285 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/3.12, allocations: 4.125 kB / 1.285 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/3.12, allocations: 4 kB / 1.285 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/3.122, allocations: 0.8651 MB / 1.286 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/3.122, allocations: 187.7 kB / 1.286 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/3.123, allocations: 8 kB / 1.286 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/3.124, allocations: 51.86 kB / 1.286 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/3.124, allocations: 32.39 kB / 1.286 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/3.124, allocations: 31.97 kB / 1.286 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001287/3.126, allocations: 0.5783 MB / 1.286 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/3.126, allocations: 0 / 1.286 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003918/3.13, allocations: 0.6403 MB / 1.287 GB, free: 32.82 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.00209/3.132, allocations: 0.6446 MB / 1.288 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002085/3.134, allocations: 0.8748 MB / 1.289 GB, free: 31.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/3.134, allocations: 4 kB / 1.289 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004216/3.134, allocations: 193.5 kB / 1.289 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/3.139, allocations: 0.572 MB / 1.289 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/3.145, allocations: 1.808 MB / 1.291 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000962/3.146, allocations: 1.136 MB / 1.292 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003274/3.149, allocations: 378.3 kB / 1.292 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/3.15, allocations: 75.42 kB / 1.293 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of SimCode: time 9.61e-07/3.15, allocations: 0 / 1.293 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.05423/3.204, allocations: 23.8 MB / 1.316 GB, free: 3.648 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)