Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001284, allocations: 171.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4929/0.4929, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 348.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008702, allocations: 99.83 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 71.01 MB / 0.5594 GB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9234/1.255, allocations: 384.8 MB / 0.9352 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.255, allocations: 90.66 kB / 0.9353 GB, free: 232.8 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Validation/Carnot_TEva_reverseFlow.mo:21:3-36:70:writable] Error: Variable chi: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_TEva$chi: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 1.774/3.029, allocations: 0.6468 GB / 1.582 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/3.029, allocations: 0 / 1.582 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001708/3.029, allocations: 31.98 kB / 1.582 GB, free: 58.5 MB / 0.6042 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.004368/3.034, allocations: 1.702 MB / 1.584 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/3.034, allocations: 12.03 kB / 1.584 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/3.036, allocations: 0.4949 MB / 1.584 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/3.039, allocations: 1.361 MB / 1.586 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/3.04, allocations: 134.7 kB / 1.586 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/3.04, allocations: 91.12 kB / 1.586 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/3.042, allocations: 1.018 MB / 1.587 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/3.042, allocations: 0 / 1.587 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/3.042, allocations: 40 kB / 1.587 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/3.042, allocations: 20 kB / 1.587 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/3.045, allocations: 0.9798 MB / 1.588 GB, free: 52.51 MB / 0.6042 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.005869/3.05, allocations: 4.509 MB / 1.592 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/3.054, allocations: 1.117 MB / 1.593 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000912/3.055, allocations: 433.9 kB / 1.594 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/3.055, allocations: 1.017 MB / 1.595 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/3.055, allocations: 54.62 kB / 1.595 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/3.055, allocations: 0 / 1.595 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54): time 0.008949/3.064, allocations: 2.61 MB / 1.597 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/3.064, allocations: 55.84 kB / 1.597 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/3.066, allocations: 0.9434 MB / 1.598 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/3.066, allocations: 41.7 kB / 1.598 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/3.066, allocations: 0.4964 MB / 1.599 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/3.067, allocations: 196.8 kB / 1.599 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/3.067, allocations: 8 kB / 1.599 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/3.067, allocations: 330 kB / 1.599 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/3.068, allocations: 356.9 kB / 1.6 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009571/3.069, allocations: 0.5592 MB / 1.6 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/3.07, allocations: 0.7747 MB / 1.601 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/3.07, allocations: 0 / 1.601 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002637/3.073, allocations: 1.112 MB / 1.602 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/3.073, allocations: 168 kB / 1.602 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/3.073, allocations: 4 kB / 1.602 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/3.075, allocations: 460.1 kB / 1.603 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/3.075, allocations: 123.8 kB / 1.603 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/3.077, allocations: 1.09 MB / 1.604 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/3.078, allocations: 163.5 kB / 1.604 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/3.078, allocations: 35.92 kB / 1.604 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/3.078, allocations: 4 kB / 1.604 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00231/3.08, allocations: 0.9829 MB / 1.605 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/3.08, allocations: 4.312 kB / 1.605 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/3.082, allocations: 463.3 kB / 1.605 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/3.082, allocations: 119.8 kB / 1.606 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/3.084, allocations: 1.084 MB / 1.607 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/3.085, allocations: 167.4 kB / 1.607 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/3.085, allocations: 35.86 kB / 1.607 GB, free: 32.23 MB / 0.6042 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 (46): * Single equations (assignments): 45 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006146/3.086, allocations: 345 kB / 1.607 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/3.086, allocations: 110.7 kB / 1.607 GB, free: 31.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004314/3.09, allocations: 1.497 MB / 1.609 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/3.09, allocations: 8 kB / 1.609 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/3.09, allocations: 7.984 kB / 1.609 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/3.09, allocations: 0 / 1.609 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/3.096, allocations: 2.515 MB / 1.611 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/3.096, allocations: 0 / 1.611 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/3.097, allocations: 99.86 kB / 1.611 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/3.098, allocations: 466.8 kB / 1.612 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/3.098, allocations: 23.86 kB / 1.612 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/3.1, allocations: 1.122 MB / 1.613 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/3.1, allocations: 4.031 kB / 1.613 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/3.104, allocations: 1.615 MB / 1.614 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/3.105, allocations: 283.4 kB / 1.615 GB, free: 24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/3.105, allocations: 16 kB / 1.615 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/3.106, allocations: 127.8 kB / 1.615 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/3.106, allocations: 40.33 kB / 1.615 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/3.106, allocations: 27.97 kB / 1.615 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009358/3.107, allocations: 0.6521 MB / 1.616 GB, free: 23.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/3.107, allocations: 0 / 1.616 GB, free: 23.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00193/3.109, allocations: 0.6083 MB / 1.616 GB, free: 22.52 MB / 0.6042 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 (39): * Single equations (assignments): 35 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/3.11, allocations: 0.6368 MB / 1.617 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003257/3.113, allocations: 1.349 MB / 1.618 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/3.114, allocations: 0 / 1.618 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/3.115, allocations: 497.4 kB / 1.619 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/3.117, allocations: 0.5189 MB / 1.619 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/3.121, allocations: 2.343 MB / 1.621 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/3.121, allocations: 1.07 MB / 1.622 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001015/3.122, allocations: 222.5 kB / 1.623 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/3.123, allocations: 75.42 kB / 1.623 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/3.123, allocations: 0 / 1.623 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.3344/3.457, allocations: 27.89 MB / 1.65 GB, free: 72.54 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)