Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, 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.001626/0.001626, allocations: 194.2 kB / 376.9 MB, free: 1.812 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.824/1.824, allocations: 205.1 MB / 0.6354 GB, free: 9.777 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.001199/0.001199, allocations: 98.3 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3013, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.662/0.9634, allocations: 60.84 MB / 1.042 GB, free: 74.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.9883, allocations: 11.99 MB / 1.053 GB, free: 69.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.9915, allocations: 52.06 kB / 1.053 GB, free: 69.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.9937, allocations: 0.5492 MB / 1.054 GB, free: 69.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007413/1.001, allocations: 1.787 MB / 1.056 GB, free: 68.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/1.006, allocations: 1.093 MB / 1.057 GB, free: 68.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007087/1.013, allocations: 3.898 MB / 1.061 GB, free: 67.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/1.015, allocations: 0.9241 MB / 1.061 GB, free: 67.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/1.018, allocations: 1.173 MB / 1.063 GB, free: 66.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/1.021, allocations: 0.8999 MB / 1.063 GB, free: 66.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003908/1.021, allocations: 58.38 kB / 1.064 GB, free: 66.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004285/1.025, allocations: 1.35 MB / 1.065 GB, free: 65.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0007739/1.026, allocations: 240.1 kB / 1.065 GB, free: 65.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002316/1.028, allocations: 0.6341 MB / 1.066 GB, free: 65.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006964/1.035, allocations: 2.263 MB / 1.068 GB, free: 64.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/1.035, allocations: 2.25 kB / 1.068 GB, free: 64.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/1.035, allocations: 0 / 1.068 GB, free: 64.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001199/1.036, allocations: 0 / 1.068 GB, free: 64.38 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005037/1.041, allocations: 1.73 MB / 1.07 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.041, allocations: 9.781 kB / 1.07 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/1.043, allocations: 413.1 kB / 1.07 GB, free: 63.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/1.045, allocations: 1.133 MB / 1.071 GB, free: 62.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/1.045, allocations: 121.5 kB / 1.071 GB, free: 62.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/1.045, allocations: 78.16 kB / 1.071 GB, free: 62.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.047, allocations: 0.9738 MB / 1.072 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/1.047, allocations: 0 / 1.072 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/1.047, allocations: 34.28 kB / 1.072 GB, free: 61.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/1.047, allocations: 19.5 kB / 1.072 GB, free: 61.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/1.05, allocations: 0.8699 MB / 1.073 GB, free: 61.6 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.005521/1.055, allocations: 4.57 MB / 1.078 GB, free: 58.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/1.058, allocations: 0.8388 MB / 1.078 GB, free: 58.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/1.059, allocations: 316.4 kB / 1.079 GB, free: 57.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/1.06, allocations: 0.9085 MB / 1.08 GB, free: 56.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/1.06, allocations: 38.72 kB / 1.08 GB, free: 56.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/1.06, allocations: 0 / 1.08 GB, free: 56.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.007081/1.067, allocations: 1.818 MB / 1.081 GB, free: 56.35 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/1.067, allocations: 62.12 kB / 1.081 GB, free: 56.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.068, allocations: 1.044 MB / 1.082 GB, free: 55.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/1.068, allocations: 43.61 kB / 1.083 GB, free: 55.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000344/1.069, allocations: 0.5316 MB / 1.083 GB, free: 55.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.069, allocations: 157.3 kB / 1.083 GB, free: 55.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/1.069, allocations: 136.7 kB / 1.083 GB, free: 55.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/1.069, allocations: 326.8 kB / 1.084 GB, free: 54.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/1.07, allocations: 313.9 kB / 1.084 GB, free: 54.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000959/1.071, allocations: 0.5058 MB / 1.084 GB, free: 54.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.073, allocations: 0.6881 MB / 1.085 GB, free: 54.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.073, allocations: 6.594 kB / 1.085 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00267/1.075, allocations: 1.016 MB / 1.086 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.075, allocations: 6.688 kB / 1.086 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.075, allocations: 5.938 kB / 1.086 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/1.076, allocations: 309.1 kB / 1.086 GB, free: 53.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/1.077, allocations: 128.8 kB / 1.087 GB, free: 53.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/1.078, allocations: 0.9149 MB / 1.087 GB, free: 52.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.08, allocations: 175.7 kB / 1.088 GB, free: 52.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/1.08, allocations: 33.27 kB / 1.088 GB, free: 52.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/1.081, allocations: 0.5165 MB / 1.088 GB, free: 52.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009711/1.082, allocations: 0.5007 MB / 1.089 GB, free: 52.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001567/1.084, allocations: 0.6825 MB / 1.089 GB, free: 52.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/1.084, allocations: 3.938 kB / 1.089 GB, free: 52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002468/1.086, allocations: 1.003 MB / 1.09 GB, free: 51.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.086, allocations: 6.656 kB / 1.09 GB, free: 51.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.086, allocations: 11.81 kB / 1.09 GB, free: 51.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.087, allocations: 300.9 kB / 1.091 GB, free: 51.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/1.088, allocations: 131 kB / 1.091 GB, free: 51.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/1.089, allocations: 0.9119 MB / 1.092 GB, free: 50.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.09, allocations: 153.8 kB / 1.092 GB, free: 50.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/1.09, allocations: 30.41 kB / 1.092 GB, free: 50.84 MB / 0.7448 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/1.09, allocations: 221.2 kB / 1.092 GB, free: 50.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/1.091, allocations: 110.6 kB / 1.092 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/1.093, allocations: 0.9911 MB / 1.093 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/1.093, allocations: 10.09 kB / 1.093 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.093, allocations: 1.125 kB / 1.093 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.093, allocations: 7.5 kB / 1.093 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/1.099, allocations: 2.356 MB / 1.095 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.099, allocations: 3.375 kB / 1.095 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/1.099, allocations: 75.5 kB / 1.095 GB, free: 49.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009477/1.1, allocations: 302.6 kB / 1.096 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/1.1, allocations: 17.92 kB / 1.096 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/1.102, allocations: 0.9388 MB / 1.097 GB, free: 48.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.102, allocations: 8.641 kB / 1.097 GB, free: 48.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/1.106, allocations: 2.305 MB / 1.099 GB, free: 47.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/1.107, allocations: 270.5 kB / 1.099 GB, free: 46.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.107, allocations: 14.31 kB / 1.099 GB, free: 46.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/1.108, allocations: 98.97 kB / 1.099 GB, free: 46.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/1.108, allocations: 37.55 kB / 1.099 GB, free: 46.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/1.108, allocations: 24.44 kB / 1.099 GB, free: 46.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001029/1.109, allocations: 0.7419 MB / 1.1 GB, free: 46.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/1.109, allocations: 0 / 1.1 GB, free: 46.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001752/1.111, allocations: 0.5735 MB / 1.101 GB, free: 46.37 MB / 0.7448 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008005/1.112, allocations: 390.6 kB / 1.101 GB, free: 46.17 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003213/1.115, allocations: 1.137 MB / 1.102 GB, free: 45.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.115, allocations: 0 / 1.102 GB, free: 45.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/1.116, allocations: 378.8 kB / 1.102 GB, free: 45.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.119, allocations: 0.5161 MB / 1.103 GB, free: 45.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/1.124, allocations: 2.782 MB / 1.106 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/1.125, allocations: 1.078 MB / 1.107 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001127/1.126, allocations: 237.2 kB / 1.107 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.126, allocations: 78.98 kB / 1.107 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of SimCode: time 1.393e-06/1.126, allocations: 0 / 1.107 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.04102/1.167, allocations: 24.97 MB / 1.131 GB, free: 41.15 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)