Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.622/1.622, allocations: 287.5 MB / 302.6 MB, free: 8.289 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.001106/0.001106, allocations: 185 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.643/1.643, allocations: 205.4 MB / 0.6299 GB, free: 10.55 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.0008307/0.0008307, allocations: 96.41 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005429/0.0005429, allocations: 12.17 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2945, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04732/0.3419, allocations: 56.54 MB / 1.034 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.3573, allocations: 11.13 MB / 1.045 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.3593, allocations: 51.62 kB / 1.045 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.3608, allocations: 472.8 kB / 1.045 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.3652, allocations: 1.509 MB / 1.047 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.3678, allocations: 0.8879 MB / 1.048 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004074/0.3719, allocations: 3.429 MB / 1.051 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.3733, allocations: 0.9071 MB / 1.052 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.3756, allocations: 1.046 MB / 1.053 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.3768, allocations: 0.8127 MB / 1.054 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3769, allocations: 44 kB / 1.054 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.3794, allocations: 1.099 MB / 1.055 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.3796, allocations: 202.9 kB / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.38, allocations: 289 kB / 1.055 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.382, allocations: 1.652 MB / 1.057 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.382, allocations: 0 / 1.057 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.382, allocations: 0 / 1.057 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.382, allocations: 0 / 1.057 GB, free: 11.89 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002843/0.3849, allocations: 1.505 MB / 1.058 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3849, allocations: 16.03 kB / 1.058 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.3873, allocations: 0.5105 MB / 1.059 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.3894, allocations: 1.147 MB / 1.06 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.3898, allocations: 133.9 kB / 1.06 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.3899, allocations: 80 kB / 1.06 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.3921, allocations: 1.025 MB / 1.061 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3922, allocations: 0 / 1.061 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.3923, allocations: 32 kB / 1.061 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.3923, allocations: 20 kB / 1.061 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.3949, allocations: 1.003 MB / 1.062 GB, free: 6.277 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.006468/0.4014, allocations: 4.699 MB / 1.067 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/0.4055, allocations: 1.133 MB / 1.068 GB, free: 92 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4497/0.8552, allocations: 433.6 kB / 1.068 GB, free: 91.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008756/0.8561, allocations: 1.028 MB / 1.069 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.8562, allocations: 38.33 kB / 1.069 GB, free: 90 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.706e-06/0.8562, allocations: 0.7812 kB / 1.069 GB, free: 90 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.009036/0.8652, allocations: 2.148 MB / 1.071 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.8653, allocations: 57.56 kB / 1.071 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.867, allocations: 0.9341 MB / 1.072 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.867, allocations: 37.92 kB / 1.072 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.8675, allocations: 0.5017 MB / 1.073 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.8677, allocations: 188.6 kB / 1.073 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.8677, allocations: 13.97 kB / 1.073 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.8678, allocations: 328.3 kB / 1.073 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.8691, allocations: 374.8 kB / 1.074 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.8704, allocations: 0.5347 MB / 1.074 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.8726, allocations: 0.81 MB / 1.075 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.8726, allocations: 4.281 kB / 1.075 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004319/0.877, allocations: 1.289 MB / 1.076 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-05/0.8771, allocations: 169.1 kB / 1.077 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8771, allocations: 2.25 kB / 1.077 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.8785, allocations: 327.6 kB / 1.077 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.8792, allocations: 141.8 kB / 1.077 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.8808, allocations: 0.9466 MB / 1.078 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.8821, allocations: 165.9 kB / 1.078 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.8822, allocations: 28.59 kB / 1.078 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.8823, allocations: 4.219 kB / 1.078 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003789/0.8861, allocations: 1.146 MB / 1.079 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8861, allocations: 6.812 kB / 1.079 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.8872, allocations: 325.8 kB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.8879, allocations: 145.8 kB / 1.08 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.8893, allocations: 0.9272 MB / 1.081 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.8906, allocations: 176.5 kB / 1.081 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.8907, allocations: 28.42 kB / 1.081 GB, free: 85.45 MB / 0.6823 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 (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.0005928/0.8913, allocations: 352.4 kB / 1.081 GB, free: 85.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.8915, allocations: 106.5 kB / 1.081 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/0.8948, allocations: 1.223 MB / 1.082 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.8948, allocations: 7.984 kB / 1.082 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.8948, allocations: 4.969 kB / 1.082 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.8948, allocations: 2.156 kB / 1.082 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.8995, allocations: 2.321 MB / 1.085 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.8995, allocations: 1.375 kB / 1.085 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.9001, allocations: 121 kB / 1.085 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.9011, allocations: 321.7 kB / 1.085 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.9012, allocations: 17.66 kB / 1.085 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.9026, allocations: 0.9658 MB / 1.086 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.9026, allocations: 6.219 kB / 1.086 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/0.9062, allocations: 1.395 MB / 1.087 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.9067, allocations: 292.7 kB / 1.088 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.9069, allocations: 17.47 kB / 1.088 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/0.9078, allocations: 124.7 kB / 1.088 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.9079, allocations: 39.33 kB / 1.088 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/0.908, allocations: 25.83 kB / 1.088 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009902/0.909, allocations: 0.6579 MB / 1.089 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-07/0.909, allocations: 4 kB / 1.089 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001595/0.9106, allocations: 0.565 MB / 1.089 GB, free: 81.62 MB / 0.6823 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 (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.0007208/0.9114, allocations: 365.8 kB / 1.089 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004446/0.9158, allocations: 1.386 MB / 1.091 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9158, allocations: 0 / 1.091 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.9172, allocations: 489.4 kB / 1.091 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.9202, allocations: 0.5033 MB / 1.092 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.9245, allocations: 2.346 MB / 1.094 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.9251, allocations: 1.068 MB / 1.095 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001226/0.9264, allocations: 233 kB / 1.095 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.9266, allocations: 80.58 kB / 1.095 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.333e-06/0.9266, allocations: 0 / 1.095 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.0465/0.9731, allocations: 23.2 MB / 1.118 GB, free: 68.43 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)