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 2.893/2.893, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001488/0.001488, allocations: 175.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00113/0.00113, allocations: 84.84 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 12.77 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07163/0.285, allocations: 51.34 MB / 1.028 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.3077, allocations: 10.23 MB / 1.038 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.31, allocations: 47.62 kB / 1.038 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.3135, allocations: 0.6258 MB / 1.039 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008694/0.3222, allocations: 1.902 MB / 1.041 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006144/0.3284, allocations: 1.328 MB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005238/0.3336, allocations: 1.856 MB / 1.044 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.3357, allocations: 0.8225 MB / 1.045 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.3389, allocations: 0.9847 MB / 1.046 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.3405, allocations: 0.6222 MB / 1.046 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.3408, allocations: 44 kB / 1.046 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.3444, allocations: 0.9946 MB / 1.047 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.3449, allocations: 199.1 kB / 1.048 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.3456, allocations: 281.1 kB / 1.048 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.3493, allocations: 1.613 MB / 1.049 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3493, allocations: 0 / 1.049 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3493, allocations: 0 / 1.049 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.965e-05/0.3494, allocations: 0 / 1.049 GB, free: 3.355 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.004504/0.3539, allocations: 1.493 MB / 1.051 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.354, allocations: 12.03 kB / 1.051 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.3585, allocations: 0.5135 MB / 1.051 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.3618, allocations: 1.067 MB / 1.052 GB, free: 156 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006891/0.3625, allocations: 133.9 kB / 1.052 GB, free: 24 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.3629, allocations: 88.02 kB / 1.053 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.3668, allocations: 1.017 MB / 1.054 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.3669, allocations: 7.938 kB / 1.054 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.367, allocations: 32 kB / 1.054 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.3671, allocations: 16 kB / 1.054 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/0.372, allocations: 0.9915 MB / 1.055 GB, free: 13.84 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.01073/0.3828, allocations: 4.723 MB / 1.059 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/0.3906, allocations: 1.137 MB / 1.06 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.3922, allocations: 1.021 MB / 1.061 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.3923, allocations: 39 kB / 1.061 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.447e-06/0.3923, allocations: 0 / 1.061 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01503/0.4073, allocations: 2.147 MB / 1.063 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.4074, allocations: 55.84 kB / 1.063 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.4096, allocations: 0.9553 MB / 1.064 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.4098, allocations: 41.64 kB / 1.064 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006438/0.4105, allocations: 0.5041 MB / 1.065 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.4108, allocations: 185.3 kB / 1.065 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.4109, allocations: 8 kB / 1.065 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4111, allocations: 330 kB / 1.065 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.4132, allocations: 376.9 kB / 1.066 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.4154, allocations: 0.5303 MB / 1.066 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.4175, allocations: 398 kB / 1.067 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.4176, allocations: 0 / 1.067 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.6416/1.059, allocations: 1.287 MB / 1.068 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002793/1.06, allocations: 0.9644 MB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.06, allocations: 3.688 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/1.062, allocations: 334.7 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.063, allocations: 140.3 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/1.066, allocations: 0.942 MB / 1.07 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.068, allocations: 178.9 kB / 1.07 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/1.069, allocations: 30.77 kB / 1.07 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.069, allocations: 3.812 kB / 1.07 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007004/1.076, allocations: 1.149 MB / 1.072 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.076, allocations: 2.812 kB / 1.072 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/1.078, allocations: 323.4 kB / 1.072 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.079, allocations: 145.5 kB / 1.072 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/1.082, allocations: 0.9319 MB / 1.073 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1.084, allocations: 175.7 kB / 1.073 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/1.084, allocations: 28.09 kB / 1.073 GB, free: 88.02 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.0008064/1.085, allocations: 350.6 kB / 1.074 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/1.085, allocations: 109.9 kB / 1.074 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006017/1.091, allocations: 1.226 MB / 1.075 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/1.091, allocations: 10.66 kB / 1.075 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.091, allocations: 4.547 kB / 1.075 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.092, allocations: 3.609 kB / 1.075 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009277/1.101, allocations: 2.327 MB / 1.077 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.101, allocations: 1.75 kB / 1.077 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.102, allocations: 114.1 kB / 1.077 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/1.104, allocations: 331.9 kB / 1.078 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/1.104, allocations: 18.02 kB / 1.078 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/1.107, allocations: 0.9613 MB / 1.078 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.107, allocations: 1.656 kB / 1.078 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007351/1.114, allocations: 1.48 MB / 1.08 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009771/1.115, allocations: 301.6 kB / 1.08 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/1.116, allocations: 12.44 kB / 1.08 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.118, allocations: 127.9 kB / 1.08 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.118, allocations: 39.73 kB / 1.08 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.118, allocations: 24.66 kB / 1.08 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001695/1.12, allocations: 0.6699 MB / 1.081 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.763e-06/1.12, allocations: 0 / 1.081 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00285/1.123, allocations: 0.5841 MB / 1.082 GB, free: 84.2 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.001233/1.124, allocations: 371.7 kB / 1.082 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007306/1.131, allocations: 1.384 MB / 1.083 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.131, allocations: 1.375 kB / 1.083 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002509/1.134, allocations: 484.2 kB / 1.084 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/1.139, allocations: 0.4998 MB / 1.084 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/1.146, allocations: 2.331 MB / 1.087 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008973/1.147, allocations: 1.092 MB / 1.088 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002069/1.149, allocations: 232.8 kB / 1.088 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/1.149, allocations: 87.81 kB / 1.088 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/1.149, allocations: 4 kB / 1.088 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.06786/1.217, allocations: 23.46 MB / 1.111 GB, free: 72.28 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)