Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.985/1.985, allocations: 287.5 MB / 302.6 MB, free: 8.195 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.001161/0.001162, allocations: 194.6 kB / 371.2 MB, free: 10.82 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.71/1.71, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007366/0.000737, allocations: 97.66 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004034, allocations: 11.3 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05873/0.2938, allocations: 69.41 MB / 1.046 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.3108, allocations: 11.84 MB / 1.058 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.3136, allocations: 51.62 kB / 1.058 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.3161, allocations: 0.5627 MB / 1.059 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.3227, allocations: 1.878 MB / 1.06 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.3264, allocations: 0.9786 MB / 1.061 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009026/0.3354, allocations: 4.797 MB / 1.066 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.3382, allocations: 1.124 MB / 1.067 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.3422, allocations: 1.272 MB / 1.068 GB, free: 16 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5224/0.8646, allocations: 1.056 MB / 1.069 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004922/0.8652, allocations: 56.42 kB / 1.07 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.8687, allocations: 0.924 MB / 1.07 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005537/0.8693, allocations: 268.3 kB / 1.071 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.8703, allocations: 354.6 kB / 1.071 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.8749, allocations: 2.078 MB / 1.073 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8749, allocations: 1.516 kB / 1.073 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8749, allocations: 0 / 1.073 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.86e-05/0.875, allocations: 3.438 kB / 1.073 GB, free: 34.23 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.005002/0.88, allocations: 1.786 MB / 1.075 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.8801, allocations: 10.14 kB / 1.075 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.8811, allocations: 235.8 kB / 1.075 GB, free: 33.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.8843, allocations: 1.477 MB / 1.076 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.8844, allocations: 74.86 kB / 1.077 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.8846, allocations: 104.8 kB / 1.077 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.8872, allocations: 1.114 MB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.8872, allocations: 0.8438 kB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.8873, allocations: 43.12 kB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.8874, allocations: 25.89 kB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.8898, allocations: 0.9219 MB / 1.079 GB, free: 32.62 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.008387/0.8982, allocations: 4.919 MB / 1.083 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.8997, allocations: 0.6361 MB / 1.084 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007683/0.9005, allocations: 366.1 kB / 1.084 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.901, allocations: 0.8323 MB / 1.085 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.901, allocations: 40.95 kB / 1.085 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.005e-06/0.901, allocations: 0.75 kB / 1.085 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007454/0.9085, allocations: 1.882 MB / 1.087 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.9086, allocations: 58.84 kB / 1.087 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.9106, allocations: 1.194 MB / 1.088 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.9108, allocations: 40.48 kB / 1.088 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.9115, allocations: 0.6094 MB / 1.089 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.9118, allocations: 212.1 kB / 1.089 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.9118, allocations: 13.25 kB / 1.089 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.9119, allocations: 329 kB / 1.09 GB, free: 28.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/0.9127, allocations: 300.1 kB / 1.09 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.9136, allocations: 0.4977 MB / 1.09 GB, free: 28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.9154, allocations: 0.7401 MB / 1.091 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.9154, allocations: 1.688 kB / 1.091 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005222/0.9206, allocations: 1.393 MB / 1.092 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.9207, allocations: 201 kB / 1.093 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.9208, allocations: 4.375 kB / 1.093 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/0.9214, allocations: 150.1 kB / 1.093 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.9221, allocations: 167.9 kB / 1.093 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007608/0.9228, allocations: 0.7033 MB / 1.094 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.9245, allocations: 175.5 kB / 1.094 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.9246, allocations: 32.75 kB / 1.094 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.9246, allocations: 3.906 kB / 1.094 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004639/0.9292, allocations: 1.252 MB / 1.095 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9293, allocations: 3.406 kB / 1.095 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/0.9298, allocations: 147.4 kB / 1.095 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.9305, allocations: 166.7 kB / 1.095 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007285/0.9312, allocations: 0.7016 MB / 1.096 GB, free: 26.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.9328, allocations: 159.9 kB / 1.096 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.9329, allocations: 34.73 kB / 1.096 GB, free: 26.25 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.0009192/0.9338, allocations: 421.8 kB / 1.097 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.9341, allocations: 135.3 kB / 1.097 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/0.9391, allocations: 1.396 MB / 1.098 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.9392, allocations: 7.609 kB / 1.098 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.9392, allocations: 7.938 kB / 1.098 GB, free: 25.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004234/0.9434, allocations: 1.231 MB / 1.099 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007917/0.9514, allocations: 2.729 MB / 1.102 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.9514, allocations: 3.156 kB / 1.102 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.952, allocations: 124.1 kB / 1.102 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/0.9526, allocations: 136.2 kB / 1.102 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.9527, allocations: 24.3 kB / 1.102 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/0.9575, allocations: 2.437 MB / 1.105 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.861e-05/0.9576, allocations: 7.344 kB / 1.105 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/0.9637, allocations: 1.848 MB / 1.106 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.9649, allocations: 335.5 kB / 1.107 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.965, allocations: 20.33 kB / 1.107 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/0.966, allocations: 100.7 kB / 1.107 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.9661, allocations: 59.12 kB / 1.107 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.9662, allocations: 33.03 kB / 1.107 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001353/0.9676, allocations: 0.8557 MB / 1.108 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9676, allocations: 0 / 1.108 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002361/0.97, allocations: 0.7061 MB / 1.108 GB, free: 22.85 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.0008883/0.9709, allocations: 427.2 kB / 1.109 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002787/0.9737, allocations: 1.153 MB / 1.11 GB, free: 22.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9737, allocations: 5.25 kB / 1.11 GB, free: 22.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.9752, allocations: 0.5948 MB / 1.111 GB, free: 22.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/0.9801, allocations: 0.789 MB / 1.111 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.9854, allocations: 2.749 MB / 1.114 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.9862, allocations: 1.178 MB / 1.115 GB, free: 20.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00162/0.9878, allocations: 310.5 kB / 1.115 GB, free: 20.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.9882, allocations: 110.2 kB / 1.116 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.9882, allocations: 1.062 kB / 1.116 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of Templates: time 0.05272/1.041, allocations: 31.27 MB / 1.146 GB, free: 3.902 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)