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.673/1.673, allocations: 288.4 MB / 303.4 MB, free: 8.121 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.0009493/0.0009494, allocations: 184.5 kB / 372 MB, free: 10.27 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.619/1.619, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.000813/0.0008132, allocations: 98.34 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.000457, allocations: 16.42 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04785/0.2966, allocations: 56.54 MB / 1.035 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.313, allocations: 11.14 MB / 1.046 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.3156, allocations: 55.62 kB / 1.046 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.3175, allocations: 460.9 kB / 1.046 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.3232, allocations: 1.513 MB / 1.048 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.3264, allocations: 0.884 MB / 1.049 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005387/0.3318, allocations: 3.39 MB / 1.052 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.3339, allocations: 0.8067 MB / 1.053 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.3373, allocations: 1.046 MB / 1.054 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.3396, allocations: 0.8166 MB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004284/0.34, allocations: 44 kB / 1.054 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.3443, allocations: 1.099 MB / 1.056 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006443/0.3449, allocations: 203 kB / 1.056 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.346, allocations: 293 kB / 1.056 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00358/0.3496, allocations: 1.648 MB / 1.058 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3497, allocations: 3.938 kB / 1.058 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3497, allocations: 0 / 1.058 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.796e-05/0.3498, allocations: 0 / 1.058 GB, free: 11.52 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.004227/0.354, allocations: 1.508 MB / 1.059 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.354, allocations: 12.03 kB / 1.059 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.3571, allocations: 0.5135 MB / 1.06 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.3604, allocations: 1.102 MB / 1.061 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/0.3608, allocations: 129.9 kB / 1.061 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.3611, allocations: 91.97 kB / 1.061 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.3638, allocations: 1.029 MB / 1.062 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.3639, allocations: 0 / 1.062 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.364, allocations: 35.94 kB / 1.062 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.364, allocations: 20 kB / 1.062 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002826/0.3669, allocations: 0.9954 MB / 1.063 GB, free: 5.941 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.006993/0.3739, allocations: 4.688 MB / 1.068 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5916/0.9655, allocations: 1.117 MB / 1.069 GB, free: 91.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.9671, allocations: 443.9 kB / 1.069 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009104/0.9681, allocations: 1.03 MB / 1.07 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.9681, allocations: 39.38 kB / 1.07 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/0.9681, allocations: 0 / 1.07 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.008893/0.977, allocations: 2.142 MB / 1.072 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.9771, allocations: 60.45 kB / 1.072 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.9791, allocations: 0.935 MB / 1.073 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.9792, allocations: 40.36 kB / 1.073 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.9797, allocations: 0.5104 MB / 1.074 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.98, allocations: 183.6 kB / 1.074 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.98, allocations: 9.875 kB / 1.074 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.9801, allocations: 326.5 kB / 1.074 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.9814, allocations: 377.4 kB / 1.075 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.9828, allocations: 0.5358 MB / 1.075 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.9841, allocations: 401.2 kB / 1.075 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.9841, allocations: 1 kB / 1.075 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00454/0.9886, allocations: 1.287 MB / 1.077 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.9888, allocations: 163.2 kB / 1.077 GB, free: 87.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.9888, allocations: 6.766 kB / 1.077 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.9903, allocations: 328.3 kB / 1.077 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.9911, allocations: 142.7 kB / 1.077 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.9928, allocations: 0.9375 MB / 1.078 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.9943, allocations: 176.9 kB / 1.078 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.9944, allocations: 28.11 kB / 1.078 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.9945, allocations: 5.953 kB / 1.078 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004232/0.9987, allocations: 1.154 MB / 1.08 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.9987, allocations: 2.219 kB / 1.08 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/1, allocations: 325.4 kB / 1.08 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/1.001, allocations: 145.8 kB / 1.08 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/1.002, allocations: 0.9291 MB / 1.081 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.004, allocations: 170.3 kB / 1.081 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.004, allocations: 30.09 kB / 1.081 GB, free: 85.53 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.0007081/1.005, allocations: 348.4 kB / 1.081 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/1.005, allocations: 106.7 kB / 1.082 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/1.009, allocations: 1.223 MB / 1.083 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.009, allocations: 11.64 kB / 1.083 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.009, allocations: 0 / 1.083 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.009, allocations: 8.328 kB / 1.083 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/1.015, allocations: 2.324 MB / 1.085 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.015, allocations: 5.719 kB / 1.085 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/1.016, allocations: 113.9 kB / 1.085 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/1.017, allocations: 322.5 kB / 1.085 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/1.017, allocations: 19.34 kB / 1.085 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/1.019, allocations: 0.9745 MB / 1.086 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.019, allocations: 2.094 kB / 1.086 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/1.023, allocations: 1.393 MB / 1.088 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000716/1.024, allocations: 290.2 kB / 1.088 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/1.024, allocations: 16.83 kB / 1.088 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.026, allocations: 129.2 kB / 1.088 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.026, allocations: 39.08 kB / 1.088 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/1.026, allocations: 25.48 kB / 1.088 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001314/1.027, allocations: 0.6541 MB / 1.089 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.11e-07/1.027, allocations: 0 / 1.089 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002673/1.03, allocations: 0.5695 MB / 1.089 GB, free: 81.7 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.0009905/1.031, allocations: 369.7 kB / 1.09 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004576/1.035, allocations: 1.389 MB / 1.091 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.035, allocations: 0 / 1.091 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/1.037, allocations: 495 kB / 1.092 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/1.04, allocations: 0.5066 MB / 1.092 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/1.046, allocations: 2.343 MB / 1.094 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009381/1.047, allocations: 1.069 MB / 1.095 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001577/1.048, allocations: 235.8 kB / 1.096 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/1.049, allocations: 80.88 kB / 1.096 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/1.049, allocations: 1 kB / 1.096 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of Templates: time 0.04822/1.097, allocations: 23.19 MB / 1.118 GB, free: 67.91 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)