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.884/2.884, allocations: 287.5 MB / 302.4 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.001366/0.001366, allocations: 182.4 kB / 371 MB, free: 10.86 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.212/2.212, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001007/0.001007, allocations: 95.3 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006648, allocations: 11.81 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2418, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.1213/0.3632, allocations: 56.54 MB / 1.034 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02429/0.3876, allocations: 11.14 MB / 1.044 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.3901, allocations: 51.62 kB / 1.044 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.3929, allocations: 464.9 kB / 1.045 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007357/0.4004, allocations: 1.513 MB / 1.046 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.4049, allocations: 0.8824 MB / 1.047 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007071/0.412, allocations: 3.386 MB / 1.051 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.4143, allocations: 0.8067 MB / 1.051 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.418, allocations: 1.05 MB / 1.052 GB, free: 360 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.4206, allocations: 0.8244 MB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.4211, allocations: 44 kB / 1.053 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004489/0.4256, allocations: 1.099 MB / 1.054 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005879/0.4262, allocations: 199 kB / 1.055 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007976/0.427, allocations: 293 kB / 1.055 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.4311, allocations: 1.652 MB / 1.056 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4312, allocations: 0 / 1.056 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.476e-06/0.4312, allocations: 0 / 1.056 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.31e-05/0.4313, allocations: 0 / 1.056 GB, free: 12.23 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.004734/0.436, allocations: 1.516 MB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.4361, allocations: 12.03 kB / 1.058 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.4407, allocations: 0.5174 MB / 1.058 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.4446, allocations: 1.097 MB / 1.059 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006635/0.4453, allocations: 129.9 kB / 1.06 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/0.4456, allocations: 84 kB / 1.06 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.4496, allocations: 1.025 MB / 1.061 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.4496, allocations: 3.984 kB / 1.061 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.4498, allocations: 32 kB / 1.061 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.4498, allocations: 20 kB / 1.061 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.4548, allocations: 0.9993 MB / 1.062 GB, free: 6.66 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.01109/0.466, allocations: 4.691 MB / 1.066 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/0.4738, allocations: 1.137 MB / 1.067 GB, free: 488 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/0.476, allocations: 437.9 kB / 1.068 GB, free: 44 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6274/1.103, allocations: 1.02 MB / 1.069 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.104, allocations: 40.25 kB / 1.069 GB, free: 90.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.426e-06/1.104, allocations: 0.875 kB / 1.069 GB, free: 90.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01561/1.119, allocations: 2.143 MB / 1.071 GB, free: 90.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/1.119, allocations: 61.53 kB / 1.071 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/1.121, allocations: 0.9285 MB / 1.072 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.122, allocations: 38.02 kB / 1.072 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006152/1.122, allocations: 0.5095 MB / 1.072 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/1.123, allocations: 184.2 kB / 1.073 GB, free: 89.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/1.123, allocations: 10.62 kB / 1.073 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/1.123, allocations: 329.4 kB / 1.073 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/1.125, allocations: 379.5 kB / 1.073 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/1.127, allocations: 0.534 MB / 1.074 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/1.129, allocations: 403.8 kB / 1.074 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.129, allocations: 1.219 kB / 1.074 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007572/1.137, allocations: 1.292 MB / 1.075 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.137, allocations: 165.4 kB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.137, allocations: 2.844 kB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/1.14, allocations: 335.1 kB / 1.076 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.141, allocations: 137.9 kB / 1.076 GB, free: 87.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/1.143, allocations: 0.9366 MB / 1.077 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.146, allocations: 165.8 kB / 1.077 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/1.146, allocations: 36.77 kB / 1.077 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.146, allocations: 3.906 kB / 1.077 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00694/1.153, allocations: 1.155 MB / 1.078 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.153, allocations: 2.375 kB / 1.078 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/1.155, allocations: 315.4 kB / 1.079 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.157, allocations: 145.7 kB / 1.079 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/1.159, allocations: 0.9297 MB / 1.08 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.161, allocations: 173.5 kB / 1.08 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.162, allocations: 28.2 kB / 1.08 GB, free: 85.93 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.0008626/1.162, allocations: 354.3 kB / 1.08 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/1.163, allocations: 108.2 kB / 1.08 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/1.169, allocations: 1.222 MB / 1.081 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/1.169, allocations: 6.516 kB / 1.082 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.169, allocations: 7.328 kB / 1.082 GB, free: 85.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/1.169, allocations: 3.281 kB / 1.082 GB, free: 85.15 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008606/1.178, allocations: 2.322 MB / 1.084 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.178, allocations: 2.453 kB / 1.084 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.179, allocations: 116.1 kB / 1.084 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.181, allocations: 328.3 kB / 1.084 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.181, allocations: 18.3 kB / 1.084 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/1.183, allocations: 0.9649 MB / 1.085 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.183, allocations: 1.969 kB / 1.085 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007037/1.19, allocations: 1.395 MB / 1.087 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009549/1.191, allocations: 294.1 kB / 1.087 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/1.192, allocations: 17.39 kB / 1.087 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.194, allocations: 120.5 kB / 1.087 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.194, allocations: 53.66 kB / 1.087 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.194, allocations: 21.8 kB / 1.087 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001599/1.196, allocations: 0.6544 MB / 1.088 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.196, allocations: 1.031 kB / 1.088 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002606/1.198, allocations: 0.5642 MB / 1.088 GB, free: 82.1 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.001146/1.2, allocations: 359 kB / 1.089 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007186/1.207, allocations: 1.391 MB / 1.09 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.207, allocations: 0 / 1.09 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/1.209, allocations: 487.7 kB / 1.09 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/1.214, allocations: 0.5127 MB / 1.091 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/1.222, allocations: 2.341 MB / 1.093 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/1.223, allocations: 1.072 MB / 1.094 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002106/1.225, allocations: 234.2 kB / 1.094 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/1.225, allocations: 82.05 kB / 1.095 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/1.225, allocations: 0 / 1.095 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of Templates: time 0.06723/1.293, allocations: 23.17 MB / 1.117 GB, free: 69.27 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)