Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 303.4 MB, free: 8.117 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.001019/0.001019, allocations: 180.5 kB / 372 MB, free: 10.26 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.779/1.779, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008521/0.0008522, allocations: 94.83 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 15.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05051/0.3236, allocations: 56.5 MB / 1.035 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.3421, allocations: 11.13 MB / 1.046 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003958/0.3462, allocations: 55.62 kB / 1.046 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.3489, allocations: 460.9 kB / 1.046 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008382/0.3573, allocations: 1.508 MB / 1.048 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.3609, allocations: 0.8823 MB / 1.048 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005294/0.3662, allocations: 3.382 MB / 1.052 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.3678, allocations: 0.7899 MB / 1.053 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.3704, allocations: 1.046 MB / 1.054 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.3717, allocations: 0.8127 MB / 1.054 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3718, allocations: 43.98 kB / 1.054 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.3746, allocations: 1.103 MB / 1.055 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.3749, allocations: 195 kB / 1.056 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.3754, allocations: 281 kB / 1.056 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.3778, allocations: 1.652 MB / 1.058 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3778, allocations: 3.938 kB / 1.058 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3778, allocations: 0 / 1.058 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.3778, allocations: 0 / 1.058 GB, free: 11.59 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00295/0.3808, allocations: 1.512 MB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3808, allocations: 8.031 kB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.383, allocations: 469.9 kB / 1.059 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.3856, allocations: 1.101 MB / 1.061 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.3861, allocations: 121.9 kB / 1.061 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.3862, allocations: 84 kB / 1.061 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.3884, allocations: 0.9956 MB / 1.062 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3885, allocations: 7.938 kB / 1.062 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.3886, allocations: 32 kB / 1.062 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.3886, allocations: 20 kB / 1.062 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.3911, allocations: 0.9095 MB / 1.063 GB, free: 6.191 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.007249/0.3984, allocations: 4.622 MB / 1.067 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/0.402, allocations: 0.9306 MB / 1.068 GB, free: 324 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5714/0.9734, allocations: 334.5 kB / 1.068 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.9742, allocations: 0.9007 MB / 1.069 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.9743, allocations: 38.52 kB / 1.069 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.138e-06/0.9743, allocations: 0.5625 kB / 1.069 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.00859/0.9829, allocations: 1.993 MB / 1.071 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.9829, allocations: 59.64 kB / 1.071 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.9849, allocations: 1.052 MB / 1.072 GB, free: 90 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/0.9849, allocations: 34.61 kB / 1.072 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.9854, allocations: 0.5233 MB / 1.073 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.9855, allocations: 161.4 kB / 1.073 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.9856, allocations: 12.31 kB / 1.073 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.9857, allocations: 330.4 kB / 1.073 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.9867, allocations: 336.3 kB / 1.074 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.9878, allocations: 0.5214 MB / 1.074 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.9889, allocations: 372.7 kB / 1.075 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.9889, allocations: 1 kB / 1.075 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004235/0.9932, allocations: 1.227 MB / 1.076 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.9933, allocations: 200.1 kB / 1.076 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.9934, allocations: 8.281 kB / 1.076 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.9948, allocations: 332 kB / 1.076 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.9954, allocations: 137.6 kB / 1.076 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.997, allocations: 0.9369 MB / 1.077 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.9985, allocations: 200.5 kB / 1.078 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.9986, allocations: 30.27 kB / 1.078 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.9987, allocations: 3.438 kB / 1.078 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003831/1.002, allocations: 1.09 MB / 1.079 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.003, allocations: 4.344 kB / 1.079 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/1.004, allocations: 321.7 kB / 1.079 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/1.004, allocations: 137.5 kB / 1.079 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/1.006, allocations: 0.9267 MB / 1.08 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.007, allocations: 181.6 kB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/1.008, allocations: 28.52 kB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006505/1.008, allocations: 349.2 kB / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.008, allocations: 116.4 kB / 1.081 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/1.011, allocations: 1.042 MB / 1.082 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/1.011, allocations: 6.812 kB / 1.082 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.011, allocations: 0 / 1.082 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.011, allocations: 3.766 kB / 1.082 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/1.018, allocations: 2.464 MB / 1.084 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.018, allocations: 2.375 kB / 1.084 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/1.019, allocations: 78.2 kB / 1.084 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/1.02, allocations: 326.2 kB / 1.084 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/1.02, allocations: 12.94 kB / 1.084 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/1.021, allocations: 0.9729 MB / 1.085 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.021, allocations: 3.219 kB / 1.085 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/1.025, allocations: 1.296 MB / 1.087 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/1.026, allocations: 286 kB / 1.087 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.026, allocations: 12.81 kB / 1.087 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009605/1.027, allocations: 122.6 kB / 1.087 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.027, allocations: 41.08 kB / 1.087 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/1.027, allocations: 28.14 kB / 1.087 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001433/1.029, allocations: 0.7371 MB / 1.088 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.029, allocations: 0 / 1.088 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00188/1.031, allocations: 0.5573 MB / 1.088 GB, free: 82.44 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008597/1.032, allocations: 363.8 kB / 1.089 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00372/1.035, allocations: 1.205 MB / 1.09 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.035, allocations: 1.219 kB / 1.09 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.036, allocations: 391.1 kB / 1.09 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/1.04, allocations: 0.5158 MB / 1.091 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/1.047, allocations: 2.52 MB / 1.093 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.049, allocations: 1.069 MB / 1.094 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001886/1.051, allocations: 229.1 kB / 1.095 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/1.051, allocations: 75.72 kB / 1.095 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/1.051, allocations: 0.9688 kB / 1.095 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of Templates: time 0.04914/1.1, allocations: 23.54 MB / 1.118 GB, free: 69 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)