Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001168/0.001168, allocations: 105.9 kB / 16.27 MB, free: 5.988 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.001274/0.001274, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 286.7 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 91.39 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1794, allocations: 86.98 MB / 0.6808 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.3484/0.5279, allocations: 75.13 MB / 0.7542 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.5465, allocations: 12.75 MB / 0.7666 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.5489, allocations: 65.91 kB / 0.7667 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.5513, allocations: 0.8318 MB / 0.7675 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.5578, allocations: 2.462 MB / 0.7699 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.5612, allocations: 1.379 MB / 0.7713 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005426/0.5666, allocations: 4.388 MB / 0.7756 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.5688, allocations: 1.438 MB / 0.777 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.5723, allocations: 1.614 MB / 0.7785 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.5745, allocations: 1.194 MB / 0.7797 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004201/0.5749, allocations: 164 kB / 0.7799 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.5782, allocations: 1.408 MB / 0.7812 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.5787, allocations: 398.6 kB / 0.7816 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.5802, allocations: 0.8982 MB / 0.7825 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.5848, allocations: 2.847 MB / 0.7853 GB, free: 4.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5848, allocations: 0 / 0.7853 GB, free: 4.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5849, allocations: 0 / 0.7853 GB, free: 4.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.408e-05/0.5849, allocations: 0 / 0.7853 GB, free: 4.387 MB / 0.545 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.004409/0.5893, allocations: 2.084 MB / 0.7873 GB, free: 2.238 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5894, allocations: 8.031 kB / 0.7873 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/0.5903, allocations: 230.8 kB / 0.7875 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.593, allocations: 1.451 MB / 0.7889 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.593, allocations: 78 kB / 0.789 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.5932, allocations: 99.91 kB / 0.7891 GB, free: 332 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.5953, allocations: 1.104 MB / 0.7902 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.5954, allocations: 0 / 0.7902 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.5955, allocations: 43.94 kB / 0.7902 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.5955, allocations: 24 kB / 0.7903 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.5975, allocations: 0.89 MB / 0.7911 GB, free: 14.23 MB / 0.5606 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.006291/0.6038, allocations: 4.95 MB / 0.796 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.6053, allocations: 0.6167 MB / 0.7966 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/0.606, allocations: 355.7 kB / 0.7969 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/0.6067, allocations: 0.8316 MB / 0.7977 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6067, allocations: 39.12 kB / 0.7978 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.875e-06/0.6067, allocations: 0 / 0.7978 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.007279/0.614, allocations: 1.678 MB / 0.7994 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.6141, allocations: 59.97 kB / 0.7994 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.6158, allocations: 1.222 MB / 0.8006 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.6158, allocations: 41.7 kB / 0.8007 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.6164, allocations: 0.5987 MB / 0.8013 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.6166, allocations: 220.9 kB / 0.8015 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.6168, allocations: 154.5 kB / 0.8016 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6169, allocations: 334 kB / 0.8019 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007084/0.6177, allocations: 292.7 kB / 0.8022 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/0.6185, allocations: 499.8 kB / 0.8027 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.62, allocations: 0.7051 MB / 0.8034 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.62, allocations: 7.938 kB / 0.8034 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004899/0.6249, allocations: 1.269 MB / 0.8046 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6249, allocations: 8 kB / 0.8046 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.625, allocations: 4 kB / 0.8046 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.6256, allocations: 137.1 kB / 0.8048 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.6262, allocations: 159.8 kB / 0.8049 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/0.6271, allocations: 0.6927 MB / 0.8056 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/0.6281, allocations: 119 kB / 0.8057 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.6282, allocations: 35.94 kB / 0.8058 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001069/0.6292, allocations: 0.5527 MB / 0.8063 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008408/0.6301, allocations: 499.8 kB / 0.8068 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/0.6315, allocations: 0.6934 MB / 0.8074 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.6315, allocations: 0 / 0.8074 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004716/0.6363, allocations: 1.265 MB / 0.8087 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6363, allocations: 11.94 kB / 0.8087 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6363, allocations: 7.938 kB / 0.8087 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.6368, allocations: 137.1 kB / 0.8088 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.6374, allocations: 159.8 kB / 0.809 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007853/0.6382, allocations: 0.6966 MB / 0.8097 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009749/0.6392, allocations: 103.5 kB / 0.8098 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.6392, allocations: 32.17 kB / 0.8098 GB, free: 10.2 MB / 0.5762 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.000229/0.6395, allocations: 232 kB / 0.81 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.6397, allocations: 138.2 kB / 0.8101 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.6445, allocations: 1.263 MB / 0.8114 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.6445, allocations: 7.938 kB / 0.8114 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6445, allocations: 0 / 0.8114 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00428/0.6488, allocations: 1.099 MB / 0.8125 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006786/0.6556, allocations: 2.614 MB / 0.815 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6556, allocations: 4 kB / 0.815 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.6561, allocations: 115.8 kB / 0.8151 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/0.6566, allocations: 129.1 kB / 0.8153 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.6567, allocations: 19.98 kB / 0.8153 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005095/0.6618, allocations: 2.583 MB / 0.8178 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.6618, allocations: 7.984 kB / 0.8178 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005552/0.6674, allocations: 1.691 MB / 0.8195 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.6681, allocations: 323.2 kB / 0.8198 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.6684, allocations: 12 kB / 0.8198 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/0.6694, allocations: 51.94 kB / 0.8198 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.6695, allocations: 64.23 kB / 0.8199 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/0.6696, allocations: 35.92 kB / 0.8199 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0015/0.6711, allocations: 0.8816 MB / 0.8208 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6711, allocations: 0 / 0.8208 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002189/0.6733, allocations: 0.7174 MB / 0.8215 GB, free: 13.82 MB / 0.5919 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.0009506/0.6743, allocations: 462.7 kB / 0.8219 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002885/0.6772, allocations: 1.16 MB / 0.8231 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6772, allocations: 0 / 0.8231 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.6787, allocations: 0.5643 MB / 0.8236 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/0.6824, allocations: 0.7999 MB / 0.8244 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.6864, allocations: 2.319 MB / 0.8267 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.6872, allocations: 1.168 MB / 0.8278 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.6876, allocations: 115.4 kB / 0.8279 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.6876, allocations: 0 / 0.8279 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.0415/0.7291, allocations: 31.12 MB / 0.8583 GB, free: 8.23 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)