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_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001619/0.001619, allocations: 179.7 kB / 371.8 MB, free: 10.3 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.985/1.985, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001178/0.001178, allocations: 94.86 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004483, allocations: 16.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04834/0.3259, allocations: 51.35 MB / 1.03 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.3424, allocations: 10.22 MB / 1.04 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.3451, allocations: 47.62 kB / 1.04 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.3477, allocations: 0.6258 MB / 1.04 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007117/0.3549, allocations: 1.903 MB / 1.042 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.3595, allocations: 1.322 MB / 1.043 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004379/0.3638, allocations: 1.861 MB / 1.045 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.3658, allocations: 0.8186 MB / 1.046 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.3685, allocations: 0.9847 MB / 1.047 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.3701, allocations: 0.6261 MB / 1.048 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003039/0.3704, allocations: 44 kB / 1.048 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.3735, allocations: 0.9985 MB / 1.049 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/0.374, allocations: 199.1 kB / 1.049 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000796/0.3748, allocations: 285 kB / 1.049 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.3779, allocations: 1.606 MB / 1.051 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3779, allocations: 0 / 1.051 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3779, allocations: 0 / 1.051 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.179e-05/0.378, allocations: 0 / 1.051 GB, free: 2.68 MB / 0.6667 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.004065/0.3821, allocations: 1.493 MB / 1.052 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3822, allocations: 12.03 kB / 1.052 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.3849, allocations: 0.5135 MB / 1.053 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.3876, allocations: 1.067 MB / 1.054 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.388, allocations: 129.9 kB / 1.054 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.3882, allocations: 80 kB / 1.054 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.3907, allocations: 1.025 MB / 1.055 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3907, allocations: 0 / 1.055 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.3908, allocations: 36 kB / 1.055 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3908, allocations: 16 kB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.3936, allocations: 0.9954 MB / 1.056 GB, free: 13.16 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.007737/0.4013, allocations: 4.723 MB / 1.06 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.4057, allocations: 1.133 MB / 1.062 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.4069, allocations: 1.033 MB / 1.063 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.4069, allocations: 46.98 kB / 1.063 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.126e-06/0.407, allocations: 0 / 1.063 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.008245/0.4152, allocations: 2.131 MB / 1.065 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4153, allocations: 59.8 kB / 1.065 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.4171, allocations: 0.9592 MB / 1.066 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.4172, allocations: 37.7 kB / 1.066 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.4178, allocations: 0.5003 MB / 1.066 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.418, allocations: 185.3 kB / 1.066 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.4181, allocations: 8 kB / 1.066 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4183, allocations: 334 kB / 1.067 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.4194, allocations: 368.9 kB / 1.067 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4207, allocations: 0.5381 MB / 1.068 GB, free: 416 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.4219, allocations: 393.9 kB / 1.068 GB, free: 24 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4219, allocations: 0 / 1.068 GB, free: 24 kB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.5305/0.9524, allocations: 1.284 MB / 1.069 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.9527, allocations: 0.9667 MB / 1.07 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9527, allocations: 6.062 kB / 1.07 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.9541, allocations: 330.3 kB / 1.07 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.9548, allocations: 148.2 kB / 1.071 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.9562, allocations: 0.9352 MB / 1.072 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.9575, allocations: 173.4 kB / 1.072 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.9576, allocations: 28.94 kB / 1.072 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.9576, allocations: 3.375 kB / 1.072 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003631/0.9613, allocations: 1.149 MB / 1.073 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9613, allocations: 3.094 kB / 1.073 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.9625, allocations: 328.1 kB / 1.073 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.9632, allocations: 146.9 kB / 1.073 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.9647, allocations: 0.9349 MB / 1.074 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.966, allocations: 167.7 kB / 1.074 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.9661, allocations: 28.17 kB / 1.074 GB, free: 88.03 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.0005994/0.9667, allocations: 348.7 kB / 1.075 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.9669, allocations: 117.6 kB / 1.075 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/0.9705, allocations: 1.22 MB / 1.076 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.9705, allocations: 9.438 kB / 1.076 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.9705, allocations: 0.5156 kB / 1.076 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.9706, allocations: 3.75 kB / 1.076 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/0.9758, allocations: 2.333 MB / 1.078 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.9759, allocations: 5.031 kB / 1.078 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.9765, allocations: 117.4 kB / 1.078 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.9777, allocations: 315.5 kB / 1.079 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.9778, allocations: 18.38 kB / 1.079 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.9794, allocations: 0.975 MB / 1.08 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9795, allocations: 1.281 kB / 1.08 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/0.9839, allocations: 1.474 MB / 1.081 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008109/0.9847, allocations: 295.3 kB / 1.081 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.9849, allocations: 14.27 kB / 1.081 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.9859, allocations: 129.4 kB / 1.082 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.986, allocations: 39.88 kB / 1.082 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.9861, allocations: 24.64 kB / 1.082 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001205/0.9873, allocations: 0.6706 MB / 1.082 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9873, allocations: 0 / 1.082 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001922/0.9893, allocations: 0.5762 MB / 1.083 GB, free: 84.15 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.0008496/0.9901, allocations: 381.6 kB / 1.083 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004307/0.9944, allocations: 1.382 MB / 1.085 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.9945, allocations: 0 / 1.085 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.996, allocations: 496.4 kB / 1.085 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.9988, allocations: 0.5023 MB / 1.086 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/1.003, allocations: 2.329 MB / 1.088 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/1.004, allocations: 1.092 MB / 1.089 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001219/1.005, allocations: 234 kB / 1.089 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/1.006, allocations: 85.3 kB / 1.089 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/1.006, allocations: 4.641 kB / 1.089 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.0519/1.058, allocations: 23.49 MB / 1.112 GB, free: 71.53 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)