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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002159/0.002159, allocations: 191.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.2 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 64.44 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2763, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06944/0.3458, allocations: 74.7 MB / 0.8556 GB, free: 3.035 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.3641, allocations: 12.72 MB / 0.868 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003334/0.3675, allocations: 59.62 kB / 0.8681 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.3704, allocations: 0.676 MB / 0.8688 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007883/0.3783, allocations: 2.251 MB / 0.8709 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.3826, allocations: 1.269 MB / 0.8722 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007998/0.3906, allocations: 5.514 MB / 0.8776 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.3928, allocations: 1.182 MB / 0.8787 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.3968, allocations: 1.357 MB / 0.8801 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.3991, allocations: 1.174 MB / 0.8812 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.3994, allocations: 80 kB / 0.8813 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.403, allocations: 1.255 MB / 0.8825 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.4034, allocations: 314.6 kB / 0.8828 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.4047, allocations: 0.8122 MB / 0.8836 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.4089, allocations: 2.773 MB / 0.8863 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.409, allocations: 0 / 0.8863 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.202e-06/0.409, allocations: 0 / 0.8863 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.69e-05/0.409, allocations: 0 / 0.8863 GB, free: 3.5 MB / 0.7012 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.004042/0.413, allocations: 2.083 MB / 0.8883 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4131, allocations: 12.03 kB / 0.8884 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008125/0.4139, allocations: 226.8 kB / 0.8886 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.4165, allocations: 1.477 MB / 0.89 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.4166, allocations: 74 kB / 0.8901 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.4168, allocations: 107.9 kB / 0.8902 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.4188, allocations: 1.104 MB / 0.8913 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.4188, allocations: 3.938 kB / 0.8913 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/0.4189, allocations: 40 kB / 0.8913 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.419, allocations: 28 kB / 0.8913 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.4208, allocations: 0.8822 MB / 0.8922 GB, free: 13.31 MB / 0.7169 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.006044/0.4269, allocations: 4.926 MB / 0.897 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4282, allocations: 0.6117 MB / 0.8976 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/0.4289, allocations: 342.3 kB / 0.8979 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.4295, allocations: 0.8316 MB / 0.8987 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4296, allocations: 43.11 kB / 0.8988 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.146e-06/0.4296, allocations: 0 / 0.8988 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.008028/0.4376, allocations: 1.685 MB / 0.9004 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4377, allocations: 55.97 kB / 0.9005 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.4396, allocations: 1.202 MB / 0.9017 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.4397, allocations: 41.7 kB / 0.9017 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.4402, allocations: 0.6064 MB / 0.9023 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.4405, allocations: 212.9 kB / 0.9025 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.4407, allocations: 154.6 kB / 0.9026 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4408, allocations: 341.9 kB / 0.903 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/0.4415, allocations: 284.7 kB / 0.9032 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.4424, allocations: 499.8 kB / 0.9037 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.4438, allocations: 0.7089 MB / 0.9044 GB, free: 104 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4438, allocations: 7.938 kB / 0.9044 GB, free: 96 kB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004792/0.4486, allocations: 1.265 MB / 0.9056 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4487, allocations: 8 kB / 0.9057 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4487, allocations: 4 kB / 0.9057 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.4493, allocations: 136.9 kB / 0.9058 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.4499, allocations: 159.7 kB / 0.9059 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007854/0.4507, allocations: 0.6966 MB / 0.9066 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4522, allocations: 171 kB / 0.9068 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.4523, allocations: 31.98 kB / 0.9068 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00137/0.4537, allocations: 0.5488 MB / 0.9073 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008169/0.4545, allocations: 0.4913 MB / 0.9078 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001349/0.4559, allocations: 0.7012 MB / 0.9085 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.4559, allocations: 0 / 0.9085 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004728/0.4606, allocations: 1.269 MB / 0.9098 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4607, allocations: 6.5 kB / 0.9098 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4607, allocations: 4 kB / 0.9098 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.4612, allocations: 132.9 kB / 0.9099 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.4619, allocations: 159.8 kB / 0.91 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008168/0.4627, allocations: 0.6966 MB / 0.9107 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4641, allocations: 143.5 kB / 0.9109 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.4641, allocations: 35.98 kB / 0.9109 GB, free: 9.242 MB / 0.7325 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.0003402/0.4645, allocations: 216.1 kB / 0.9111 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.4648, allocations: 134.3 kB / 0.9112 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.4694, allocations: 1.271 MB / 0.9125 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4695, allocations: 4 kB / 0.9125 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4695, allocations: 0 / 0.9125 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003987/0.4735, allocations: 1.107 MB / 0.9136 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007039/0.4805, allocations: 2.598 MB / 0.9161 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.4806, allocations: 8.062 kB / 0.9161 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.4811, allocations: 115.8 kB / 0.9162 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.4816, allocations: 136.6 kB / 0.9163 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.4816, allocations: 23.92 kB / 0.9164 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004862/0.4865, allocations: 2.33 MB / 0.9186 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.4865, allocations: 4 kB / 0.9186 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5244/1.011, allocations: 1.694 MB / 0.9203 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008835/1.012, allocations: 303.8 kB / 0.9206 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.012, allocations: 15.62 kB / 0.9206 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009867/1.013, allocations: 81.27 kB / 0.9207 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/1.013, allocations: 64.78 kB / 0.9207 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/1.013, allocations: 30.06 kB / 0.9208 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001556/1.015, allocations: 0.8678 MB / 0.9216 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.015, allocations: 0 / 0.9216 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002406/1.017, allocations: 0.7081 MB / 0.9223 GB, free: 135.2 MB / 0.7325 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.001033/1.018, allocations: 447 kB / 0.9227 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002946/1.021, allocations: 1.112 MB / 0.9238 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.021, allocations: 4.406 kB / 0.9238 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.023, allocations: 0.5531 MB / 0.9244 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.026, allocations: 0.7633 MB / 0.9251 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/1.03, allocations: 2.744 MB / 0.9278 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/1.03, allocations: 1.165 MB / 0.9289 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00124/1.032, allocations: 309.4 kB / 0.9292 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/1.032, allocations: 103.5 kB / 0.9293 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.824e-06/1.032, allocations: 3.656 kB / 0.9293 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.05757/1.089, allocations: 30.62 MB / 0.9592 GB, free: 121.3 MB / 0.7325 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)