Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.4 MB / 303.4 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002048/0.002048, allocations: 185.6 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008395/0.0008396, allocations: 94.92 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003896, allocations: 19.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07164/0.3295, allocations: 69.41 MB / 1.047 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01987/0.3494, allocations: 11.83 MB / 1.059 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.3527, allocations: 51.62 kB / 1.059 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.3557, allocations: 0.5589 MB / 1.06 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.3668, allocations: 1.886 MB / 1.061 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.372, allocations: 0.9815 MB / 1.062 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009007/0.3811, allocations: 4.76 MB / 1.067 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.3839, allocations: 1.001 MB / 1.068 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5139/0.8979, allocations: 1.265 MB / 1.069 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004081/0.902, allocations: 1.064 MB / 1.07 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004573/0.9025, allocations: 56.09 kB / 1.07 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.9066, allocations: 0.9193 MB / 1.071 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005339/0.9071, allocations: 271.3 kB / 1.071 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.9082, allocations: 359.2 kB / 1.072 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.9128, allocations: 2.081 MB / 1.074 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.9128, allocations: 0.7969 kB / 1.074 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9128, allocations: 1.031 kB / 1.074 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.673e-05/0.9129, allocations: 0 / 1.074 GB, free: 34.21 MB / 0.6823 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.005333/0.9182, allocations: 1.791 MB / 1.076 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.9183, allocations: 9.312 kB / 1.076 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.9195, allocations: 236.8 kB / 1.076 GB, free: 33.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.9232, allocations: 1.43 MB / 1.077 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/0.9233, allocations: 79.59 kB / 1.077 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.9236, allocations: 103.4 kB / 1.077 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.9265, allocations: 1.111 MB / 1.078 GB, free: 32.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.9265, allocations: 8.062 kB / 1.078 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.9266, allocations: 40.59 kB / 1.078 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.9267, allocations: 25.69 kB / 1.079 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.9293, allocations: 0.9228 MB / 1.079 GB, free: 32.65 MB / 0.6823 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.009752/0.9391, allocations: 4.92 MB / 1.084 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.9409, allocations: 0.6367 MB / 1.085 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/0.9418, allocations: 375.9 kB / 1.085 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/0.9424, allocations: 0.8244 MB / 1.086 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.9424, allocations: 42.3 kB / 1.086 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.096e-06/0.9424, allocations: 0 / 1.086 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.008024/0.9504, allocations: 1.875 MB / 1.088 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.9505, allocations: 58.88 kB / 1.088 GB, free: 29.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.9527, allocations: 1.197 MB / 1.089 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.9529, allocations: 40.55 kB / 1.089 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.9534, allocations: 0.6046 MB / 1.09 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.9537, allocations: 211.1 kB / 1.09 GB, free: 28.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.9537, allocations: 13.84 kB / 1.09 GB, free: 28.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.9538, allocations: 332.4 kB / 1.09 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.9545, allocations: 297.3 kB / 1.091 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008438/0.9554, allocations: 0.5042 MB / 1.091 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.9562, allocations: 359.3 kB / 1.091 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.9562, allocations: 1.25 kB / 1.091 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005005/0.9612, allocations: 1.396 MB / 1.093 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.9614, allocations: 202 kB / 1.093 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.9614, allocations: 4.25 kB / 1.093 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000647/0.962, allocations: 146.4 kB / 1.093 GB, free: 27.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.9627, allocations: 172 kB / 1.093 GB, free: 27.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007542/0.9635, allocations: 0.7002 MB / 1.094 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.9652, allocations: 177.3 kB / 1.094 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.9653, allocations: 35.19 kB / 1.094 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.9654, allocations: 8.391 kB / 1.094 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005338/0.9707, allocations: 1.241 MB / 1.095 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.9707, allocations: 5.297 kB / 1.095 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/0.9714, allocations: 150.1 kB / 1.095 GB, free: 27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008491/0.9723, allocations: 171.2 kB / 1.096 GB, free: 27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000891/0.9732, allocations: 0.7012 MB / 1.096 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.9752, allocations: 163.2 kB / 1.097 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.9753, allocations: 30.78 kB / 1.097 GB, free: 26.43 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001087/0.9764, allocations: 421.9 kB / 1.097 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/0.977, allocations: 134.4 kB / 1.097 GB, free: 26.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.9828, allocations: 1.397 MB / 1.098 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.9829, allocations: 7.578 kB / 1.098 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.9829, allocations: 1.469 kB / 1.098 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004607/0.9875, allocations: 1.231 MB / 1.1 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008847/0.9963, allocations: 2.728 MB / 1.102 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.9964, allocations: 3.75 kB / 1.102 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.9969, allocations: 123.5 kB / 1.102 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/0.9975, allocations: 134.2 kB / 1.103 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.9975, allocations: 18.31 kB / 1.103 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/1.002, allocations: 2.447 MB / 1.105 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.002, allocations: 8.062 kB / 1.105 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005736/1.008, allocations: 1.841 MB / 1.107 GB, free: 23.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.009, allocations: 338.3 kB / 1.107 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005372/1.01, allocations: 21.94 kB / 1.107 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.011, allocations: 88.98 kB / 1.107 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.011, allocations: 67.09 kB / 1.107 GB, free: 23.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/1.011, allocations: 33.31 kB / 1.107 GB, free: 23.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002027/1.013, allocations: 0.8536 MB / 1.108 GB, free: 23.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.4e-07/1.013, allocations: 0 / 1.108 GB, free: 23.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003373/1.017, allocations: 0.7129 MB / 1.109 GB, free: 23.04 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/1.018, allocations: 412.2 kB / 1.109 GB, free: 22.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003092/1.021, allocations: 1.158 MB / 1.11 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.021, allocations: 1.406 kB / 1.11 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/1.023, allocations: 0.5951 MB / 1.111 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005144/1.028, allocations: 0.7722 MB / 1.112 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/1.033, allocations: 2.752 MB / 1.114 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009829/1.034, allocations: 1.17 MB / 1.116 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001963/1.036, allocations: 310.8 kB / 1.116 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/1.037, allocations: 105.2 kB / 1.116 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of SimCode: time 7.32e-07/1.037, allocations: 5.312 kB / 1.116 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.04651/1.083, allocations: 29.54 MB / 1.145 GB, free: 4.949 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)