Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 303.4 MB, free: 8.043 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.000946/0.0009458, allocations: 180.5 kB / 372 MB, free: 10.21 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.58/1.58, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0009026/0.000903, allocations: 98.3 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.000439, allocations: 15.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.07143/0.3773, allocations: 56.53 MB / 1.035 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.3991, allocations: 11.13 MB / 1.046 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.4023, allocations: 51.62 kB / 1.046 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.405, allocations: 460.9 kB / 1.046 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007443/0.4125, allocations: 1.515 MB / 1.048 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.417, allocations: 0.8767 MB / 1.048 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006597/0.4236, allocations: 3.39 MB / 1.052 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.426, allocations: 0.7937 MB / 1.053 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.4296, allocations: 1.046 MB / 1.054 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.4319, allocations: 0.8127 MB / 1.054 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003988/0.4323, allocations: 40 kB / 1.054 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.4364, allocations: 1.111 MB / 1.056 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.4369, allocations: 203 kB / 1.056 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008429/0.4378, allocations: 285 kB / 1.056 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.4414, allocations: 1.648 MB / 1.058 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.4414, allocations: 0 / 1.058 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4414, allocations: 4 kB / 1.058 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.418e-05/0.4415, allocations: 0 / 1.058 GB, free: 11.55 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.004722/0.4462, allocations: 1.512 MB / 1.059 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4463, allocations: 8.031 kB / 1.059 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.4488, allocations: 390 kB / 1.059 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.4521, allocations: 1.086 MB / 1.06 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000531/0.4526, allocations: 133.9 kB / 1.061 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.4529, allocations: 76 kB / 1.061 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.4559, allocations: 0.9683 MB / 1.062 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.456, allocations: 7.938 kB / 1.062 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.4561, allocations: 28 kB / 1.062 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.4561, allocations: 20 kB / 1.062 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.4594, allocations: 0.851 MB / 1.063 GB, free: 6.332 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.009741/0.4692, allocations: 4.528 MB / 1.067 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.4716, allocations: 0.6418 MB / 1.068 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/0.4726, allocations: 299.2 kB / 1.068 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6176/1.09, allocations: 1.386 MB / 1.069 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.09, allocations: 42.19 kB / 1.069 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.939e-06/1.09, allocations: 0 / 1.069 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01182/1.102, allocations: 1.885 MB / 1.071 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.102, allocations: 60.44 kB / 1.071 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/1.105, allocations: 1.051 MB / 1.072 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.105, allocations: 39.33 kB / 1.072 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/1.106, allocations: 0.5205 MB / 1.073 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/1.106, allocations: 164.2 kB / 1.073 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/1.106, allocations: 10.56 kB / 1.073 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.106, allocations: 331.2 kB / 1.073 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/1.108, allocations: 298.3 kB / 1.073 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/1.109, allocations: 493.2 kB / 1.074 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/1.111, allocations: 337 kB / 1.074 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/1.111, allocations: 3.688 kB / 1.074 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004371/1.115, allocations: 0.9978 MB / 1.075 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.115, allocations: 193 kB / 1.075 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.115, allocations: 8.047 kB / 1.075 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.117, allocations: 323.8 kB / 1.076 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/1.118, allocations: 126.8 kB / 1.076 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.12, allocations: 0.9429 MB / 1.077 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/1.123, allocations: 178 kB / 1.077 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.123, allocations: 33.55 kB / 1.077 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.123, allocations: 8.219 kB / 1.077 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003404/1.126, allocations: 0.864 MB / 1.078 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.126, allocations: 4.062 kB / 1.078 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/1.128, allocations: 325.2 kB / 1.078 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/1.129, allocations: 125.5 kB / 1.078 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.131, allocations: 0.9373 MB / 1.079 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.133, allocations: 160.2 kB / 1.079 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.133, allocations: 29 kB / 1.079 GB, free: 86.07 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 (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.0008861/1.134, allocations: 352.3 kB / 1.08 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/1.134, allocations: 116.8 kB / 1.08 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/1.14, allocations: 1.111 MB / 1.081 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/1.14, allocations: 12.31 kB / 1.081 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.14, allocations: 0 / 1.081 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.14, allocations: 2.672 kB / 1.081 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008604/1.148, allocations: 2.211 MB / 1.083 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.149, allocations: 2.344 kB / 1.083 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/1.149, allocations: 68.88 kB / 1.083 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/1.151, allocations: 329.5 kB / 1.083 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-05/1.151, allocations: 13.62 kB / 1.083 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/1.153, allocations: 0.9642 MB / 1.084 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/1.153, allocations: 11.27 kB / 1.084 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006302/1.16, allocations: 1.244 MB / 1.086 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.161, allocations: 283.6 kB / 1.086 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/1.162, allocations: 14.22 kB / 1.086 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.163, allocations: 98.84 kB / 1.086 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/1.163, allocations: 42.05 kB / 1.086 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.164, allocations: 28.14 kB / 1.086 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002943/1.167, allocations: 0.7319 MB / 1.087 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/1.167, allocations: 0 / 1.087 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004408/1.171, allocations: 0.5732 MB / 1.087 GB, free: 82.39 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.001968/1.173, allocations: 386.4 kB / 1.088 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005403/1.178, allocations: 1.097 MB / 1.089 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.178, allocations: 0.7656 kB / 1.089 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.18, allocations: 357.7 kB / 1.089 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.184, allocations: 0.5199 MB / 1.09 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/1.191, allocations: 2.231 MB / 1.092 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.192, allocations: 1.065 MB / 1.093 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002015/1.194, allocations: 236.8 kB / 1.093 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/1.194, allocations: 76.02 kB / 1.093 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of SimCode: time 1.863e-06/1.194, allocations: 0 / 1.093 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of Templates: time 0.05732/1.252, allocations: 23.76 MB / 1.116 GB, free: 69.14 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)