Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.001541/0.001541, allocations: 196.5 kB / 376.9 MB, free: 1.809 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.786/1.786, allocations: 205 MB / 0.6353 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 99.44 kB / 0.748 GB, free: 61.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 0.8703 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.311, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.7158/1.027, allocations: 74.69 MB / 1.055 GB, free: 67.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01716/1.044, allocations: 12.71 MB / 1.068 GB, free: 60.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/1.047, allocations: 58.12 kB / 1.068 GB, free: 60.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/1.049, allocations: 0.6751 MB / 1.068 GB, free: 60.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006342/1.055, allocations: 2.245 MB / 1.07 GB, free: 58.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/1.059, allocations: 1.276 MB / 1.072 GB, free: 57.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006682/1.066, allocations: 5.536 MB / 1.077 GB, free: 55.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/1.068, allocations: 1.175 MB / 1.078 GB, free: 55.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/1.071, allocations: 1.387 MB / 1.08 GB, free: 54.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/1.073, allocations: 1.17 MB / 1.081 GB, free: 54.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004493/1.074, allocations: 70.78 kB / 1.081 GB, free: 54.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/1.077, allocations: 1.267 MB / 1.082 GB, free: 53.83 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005912/1.078, allocations: 308.8 kB / 1.082 GB, free: 53.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/1.08, allocations: 0.8113 MB / 1.083 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004462/1.084, allocations: 2.774 MB / 1.086 GB, free: 52.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.084, allocations: 0 / 1.086 GB, free: 52.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/1.084, allocations: 3.094 kB / 1.086 GB, free: 52.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.916e-05/1.084, allocations: 0 / 1.086 GB, free: 52.16 MB / 0.7448 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.003671/1.088, allocations: 2.085 MB / 1.088 GB, free: 50.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.088, allocations: 9.188 kB / 1.088 GB, free: 50.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007422/1.089, allocations: 228.6 kB / 1.088 GB, free: 50.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/1.091, allocations: 1.477 MB / 1.09 GB, free: 49.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/1.091, allocations: 75.12 kB / 1.09 GB, free: 49.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/1.091, allocations: 101.9 kB / 1.09 GB, free: 49.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/1.093, allocations: 1.099 MB / 1.091 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.093, allocations: 7 kB / 1.091 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/1.093, allocations: 41.69 kB / 1.091 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/1.093, allocations: 23.59 kB / 1.091 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/1.095, allocations: 0.8905 MB / 1.092 GB, free: 48.89 MB / 0.7448 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.005193/1.1, allocations: 4.912 MB / 1.097 GB, free: 45.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/1.101, allocations: 0.6241 MB / 1.097 GB, free: 45.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/1.102, allocations: 344.9 kB / 1.098 GB, free: 45.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/1.103, allocations: 0.8242 MB / 1.098 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/1.103, allocations: 47 kB / 1.098 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 2.374e-06/1.103, allocations: 3.375 kB / 1.098 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.006872/1.109, allocations: 1.675 MB / 1.1 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/1.109, allocations: 58.06 kB / 1.1 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/1.111, allocations: 1.205 MB / 1.101 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-05/1.111, allocations: 44.42 kB / 1.101 GB, free: 43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/1.111, allocations: 0.5936 MB / 1.102 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/1.112, allocations: 220.5 kB / 1.102 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/1.112, allocations: 155.6 kB / 1.102 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/1.112, allocations: 335.6 kB / 1.103 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/1.112, allocations: 286.8 kB / 1.103 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/1.113, allocations: 0.4888 MB / 1.103 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.115, allocations: 0.7079 MB / 1.104 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.115, allocations: 7.375 kB / 1.104 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004414/1.119, allocations: 1.266 MB / 1.105 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.119, allocations: 6.781 kB / 1.105 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.119, allocations: 7.188 kB / 1.105 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/1.12, allocations: 135.6 kB / 1.105 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/1.12, allocations: 164.5 kB / 1.106 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007582/1.121, allocations: 0.6907 MB / 1.106 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.122, allocations: 168.6 kB / 1.106 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/1.122, allocations: 34.59 kB / 1.106 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001042/1.123, allocations: 0.5507 MB / 1.107 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000725/1.124, allocations: 0.4891 MB / 1.107 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001264/1.125, allocations: 0.7023 MB / 1.108 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.067e-06/1.125, allocations: 0.7812 kB / 1.108 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004414/1.13, allocations: 1.264 MB / 1.109 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.13, allocations: 13.53 kB / 1.109 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.13, allocations: 7.281 kB / 1.109 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/1.13, allocations: 138.5 kB / 1.109 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/1.131, allocations: 155.9 kB / 1.11 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007006/1.132, allocations: 0.6909 MB / 1.11 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.133, allocations: 150.3 kB / 1.11 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/1.133, allocations: 28.92 kB / 1.11 GB, free: 37.98 MB / 0.7448 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.0002863/1.133, allocations: 231.6 kB / 1.111 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/1.134, allocations: 135.2 kB / 1.111 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/1.138, allocations: 1.256 MB / 1.112 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.138, allocations: 6.312 kB / 1.112 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.138, allocations: 0 / 1.112 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003785/1.142, allocations: 1.106 MB / 1.113 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/1.148, allocations: 2.594 MB / 1.116 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.148, allocations: 4.188 kB / 1.116 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/1.149, allocations: 120.6 kB / 1.116 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/1.149, allocations: 124.5 kB / 1.116 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/1.149, allocations: 22.11 kB / 1.116 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/1.154, allocations: 2.343 MB / 1.118 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.154, allocations: 7.094 kB / 1.118 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03022/1.184, allocations: 10.64 MB / 1.129 GB, free: 28.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/1.185, allocations: 308.8 kB / 1.129 GB, free: 28.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.185, allocations: 18.97 kB / 1.129 GB, free: 28.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/1.186, allocations: 79.28 kB / 1.129 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.186, allocations: 64.66 kB / 1.129 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/1.186, allocations: 30.11 kB / 1.129 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001047/1.187, allocations: 0.8646 MB / 1.13 GB, free: 27.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.187, allocations: 3.031 kB / 1.13 GB, free: 27.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002776/1.19, allocations: 1.088 MB / 1.131 GB, free: 27.7 MB / 0.7448 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.0008619/1.19, allocations: 445.1 kB / 1.131 GB, free: 27.49 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.193, allocations: 1.109 MB / 1.132 GB, free: 27.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.193, allocations: 3.125 kB / 1.132 GB, free: 27.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/1.194, allocations: 0.5531 MB / 1.133 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/1.198, allocations: 0.7729 MB / 1.134 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/1.204, allocations: 3.483 MB / 1.137 GB, free: 24.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/1.204, allocations: 1.196 MB / 1.138 GB, free: 23.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001582/1.206, allocations: 312 kB / 1.139 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/1.206, allocations: 112.3 kB / 1.139 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/1.206, allocations: 0 / 1.139 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.06828/1.274, allocations: 33.58 MB / 1.172 GB, free: 16.6 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)