Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001306/0.001306, allocations: 180.5 kB / 376.9 MB, free: 1.793 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.526/1.526, allocations: 205.1 MB / 0.6354 GB, free: 9.758 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.001134/0.001134, allocations: 95.02 kB / 0.748 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 59.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2813, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.6072/0.8887, allocations: 60.88 MB / 1.042 GB, free: 74.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.9081, allocations: 11.98 MB / 1.053 GB, free: 69.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/0.911, allocations: 55.59 kB / 1.053 GB, free: 69.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.9131, allocations: 0.5495 MB / 1.054 GB, free: 69.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.9199, allocations: 1.785 MB / 1.056 GB, free: 68.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.9239, allocations: 1.092 MB / 1.057 GB, free: 68.65 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007172/0.9311, allocations: 3.918 MB / 1.061 GB, free: 67.42 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.9335, allocations: 0.9471 MB / 1.062 GB, free: 67.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.9369, allocations: 1.164 MB / 1.063 GB, free: 66.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.9392, allocations: 0.9126 MB / 1.064 GB, free: 66.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.9397, allocations: 64.06 kB / 1.064 GB, free: 66.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.944, allocations: 1.349 MB / 1.065 GB, free: 65.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.9446, allocations: 239.6 kB / 1.065 GB, free: 65.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.9463, allocations: 0.6427 MB / 1.066 GB, free: 65.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.9513, allocations: 2.267 MB / 1.068 GB, free: 64.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9513, allocations: 0 / 1.068 GB, free: 64.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.9513, allocations: 0 / 1.068 GB, free: 64.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.9513, allocations: 0 / 1.068 GB, free: 64.3 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003177/0.9545, allocations: 1.748 MB / 1.07 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9546, allocations: 13.88 kB / 1.07 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.9569, allocations: 455.5 kB / 1.07 GB, free: 63.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.9588, allocations: 1.139 MB / 1.071 GB, free: 62.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.9592, allocations: 120.7 kB / 1.071 GB, free: 62.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.9593, allocations: 78.34 kB / 1.071 GB, free: 62.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.9613, allocations: 1.007 MB / 1.072 GB, free: 61.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.9613, allocations: 0 / 1.072 GB, free: 61.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.9614, allocations: 33.66 kB / 1.072 GB, free: 61.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.9614, allocations: 19.06 kB / 1.072 GB, free: 61.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.9638, allocations: 0.9421 MB / 1.073 GB, free: 61.47 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.005461/0.9693, allocations: 4.67 MB / 1.078 GB, free: 58.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.9732, allocations: 1.007 MB / 1.079 GB, free: 57.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000986/0.9742, allocations: 413.8 kB / 1.079 GB, free: 57.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/0.975, allocations: 1.015 MB / 1.08 GB, free: 56.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.975, allocations: 42.28 kB / 1.08 GB, free: 56.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 2.434e-06/0.975, allocations: 0 / 1.08 GB, free: 56.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53): time 0.007495/0.9825, allocations: 1.948 MB / 1.082 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.9826, allocations: 61.94 kB / 1.082 GB, free: 55.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.9839, allocations: 0.9466 MB / 1.083 GB, free: 55.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/0.984, allocations: 36.77 kB / 1.083 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.9843, allocations: 0.5051 MB / 1.084 GB, free: 54.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.9844, allocations: 180.1 kB / 1.084 GB, free: 54.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.9846, allocations: 134.2 kB / 1.084 GB, free: 54.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.9847, allocations: 323.1 kB / 1.084 GB, free: 54.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009491/0.9857, allocations: 362.2 kB / 1.085 GB, free: 54.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.9867, allocations: 0.5101 MB / 1.085 GB, free: 54.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.9886, allocations: 0.7628 MB / 1.086 GB, free: 53.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.9887, allocations: 0 / 1.086 GB, free: 53.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002792/0.9915, allocations: 1.069 MB / 1.087 GB, free: 53.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9915, allocations: 10.09 kB / 1.087 GB, free: 53.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.9915, allocations: 4.188 kB / 1.087 GB, free: 53.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.9927, allocations: 309 kB / 1.087 GB, free: 53.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.9933, allocations: 136.9 kB / 1.087 GB, free: 53.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.9947, allocations: 0.9141 MB / 1.088 GB, free: 52.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.9959, allocations: 161.6 kB / 1.089 GB, free: 52.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.996, allocations: 33.8 kB / 1.089 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001259/0.9972, allocations: 0.5553 MB / 1.089 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001018/0.9983, allocations: 0.5087 MB / 1.09 GB, free: 51.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001831/1, allocations: 0.758 MB / 1.09 GB, free: 51.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/1, allocations: 0 / 1.09 GB, free: 51.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002779/1.003, allocations: 1.061 MB / 1.091 GB, free: 51.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.003, allocations: 5.844 kB / 1.091 GB, free: 51.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.003, allocations: 3.812 kB / 1.091 GB, free: 51.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.004, allocations: 297.8 kB / 1.092 GB, free: 51.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/1.005, allocations: 128.9 kB / 1.092 GB, free: 51.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/1.006, allocations: 0.9146 MB / 1.093 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.007, allocations: 144 kB / 1.093 GB, free: 50.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/1.007, allocations: 30.78 kB / 1.093 GB, free: 50.47 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0002288/1.007, allocations: 220.7 kB / 1.093 GB, free: 50.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.008, allocations: 108.5 kB / 1.093 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/1.01, allocations: 1.157 MB / 1.094 GB, free: 49.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.011, allocations: 10.53 kB / 1.094 GB, free: 49.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.011, allocations: 0.875 kB / 1.094 GB, free: 49.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.011, allocations: 3.375 kB / 1.094 GB, free: 49.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/1.015, allocations: 2.259 MB / 1.096 GB, free: 48.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.015, allocations: 0 / 1.096 GB, free: 48.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/1.015, allocations: 114.3 kB / 1.097 GB, free: 48.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.017, allocations: 304.6 kB / 1.097 GB, free: 48.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/1.017, allocations: 14.67 kB / 1.097 GB, free: 48.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/1.018, allocations: 0.9408 MB / 1.098 GB, free: 47.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.018, allocations: 3.922 kB / 1.098 GB, free: 47.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/1.023, allocations: 2.527 MB / 1.1 GB, free: 46.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/1.024, allocations: 279.8 kB / 1.101 GB, free: 46.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/1.024, allocations: 10.41 kB / 1.101 GB, free: 46.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.025, allocations: 118.5 kB / 1.101 GB, free: 46.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.025, allocations: 42.06 kB / 1.101 GB, free: 46.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/1.025, allocations: 26.47 kB / 1.101 GB, free: 46.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001031/1.026, allocations: 0.6646 MB / 1.101 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.026, allocations: 0 / 1.101 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002208/1.029, allocations: 0.5818 MB / 1.102 GB, free: 45.83 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009135/1.03, allocations: 384.4 kB / 1.102 GB, free: 45.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003652/1.033, allocations: 1.306 MB / 1.104 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.033, allocations: 0 / 1.104 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.034, allocations: 464.8 kB / 1.104 GB, free: 45.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.037, allocations: 0.502 MB / 1.105 GB, free: 45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/1.041, allocations: 2.659 MB / 1.107 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/1.041, allocations: 1.091 MB / 1.108 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001057/1.042, allocations: 241.9 kB / 1.108 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/1.043, allocations: 83.89 kB / 1.109 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/1.043, allocations: 4 kB / 1.109 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.04073/1.083, allocations: 24.6 MB / 1.133 GB, free: 40.49 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)