Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5149/0.5149, allocations: 91.99 MB / 108.5 MB, free: 13.04 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.51/1.51, allocations: 223.2 MB / 354.3 MB, free: 10.45 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.001133/0.001133, allocations: 100.2 kB / 427.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 12 kB / 0.4982 GB, free: 42.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1703, allocations: 72.32 MB / 0.5689 GB, free: 1.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.341, allocations: 386.9 MB / 0.9467 GB, free: 80.19 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.342, allocations: 92.08 kB / 0.9468 GB, free: 80.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.235/5.577, allocations: 1.071 GB / 2.018 GB, free: 93.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.554e-06/5.577, allocations: 3.781 kB / 2.018 GB, free: 93.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003218/5.577, allocations: 35.61 kB / 2.018 GB, free: 93.73 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007478/5.584, allocations: 1.719 MB / 2.02 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/5.585, allocations: 11.31 kB / 2.02 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/5.587, allocations: 348.4 kB / 2.02 GB, free: 93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/5.592, allocations: 1.276 MB / 2.021 GB, free: 92.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/5.593, allocations: 133 kB / 2.021 GB, free: 92.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/5.593, allocations: 78.03 kB / 2.021 GB, free: 92.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/5.596, allocations: 0.966 MB / 2.022 GB, free: 92.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/5.596, allocations: 1.406 kB / 2.022 GB, free: 92.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/5.596, allocations: 36.59 kB / 2.022 GB, free: 92.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/5.596, allocations: 24.78 kB / 2.022 GB, free: 92.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/5.6, allocations: 0.834 MB / 2.023 GB, free: 92.52 MB / 0.6198 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.008992/5.609, allocations: 4.63 MB / 2.028 GB, free: 90.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/5.611, allocations: 0.5791 MB / 2.028 GB, free: 90.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/5.613, allocations: 1.368 MB / 2.03 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/5.613, allocations: 36.53 kB / 2.03 GB, free: 88.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 4.569e-06/5.613, allocations: 3.281 kB / 2.03 GB, free: 88.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.01378/5.627, allocations: 1.906 MB / 2.032 GB, free: 88.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/5.627, allocations: 62.11 kB / 2.032 GB, free: 88.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/5.629, allocations: 0.9469 MB / 2.033 GB, free: 88.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/5.629, allocations: 41.11 kB / 2.033 GB, free: 88.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005758/5.63, allocations: 0.539 MB / 2.033 GB, free: 87.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/5.63, allocations: 138.6 kB / 2.033 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/5.63, allocations: 11.5 kB / 2.033 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/5.63, allocations: 327.4 kB / 2.034 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/5.632, allocations: 266.6 kB / 2.034 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/5.633, allocations: 0.4984 MB / 2.034 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/5.634, allocations: 318 kB / 2.035 GB, free: 87.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/5.634, allocations: 0 / 2.035 GB, free: 87.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003547/5.637, allocations: 1.156 MB / 2.036 GB, free: 87.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003182/5.638, allocations: 1.578 MB / 2.037 GB, free: 85.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/5.638, allocations: 4.719 kB / 2.037 GB, free: 85.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/5.639, allocations: 359.6 kB / 2.038 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/5.639, allocations: 108.4 kB / 2.038 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/5.641, allocations: 0.9724 MB / 2.039 GB, free: 84.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/5.642, allocations: 186.1 kB / 2.039 GB, free: 84.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/5.642, allocations: 36.81 kB / 2.039 GB, free: 84.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/5.642, allocations: 3.75 kB / 2.039 GB, free: 84.94 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00316/5.645, allocations: 1.03 MB / 2.04 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/5.645, allocations: 3.438 kB / 2.04 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/5.646, allocations: 351.9 kB / 2.04 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/5.647, allocations: 110 kB / 2.04 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/5.648, allocations: 0.9553 MB / 2.041 GB, free: 84.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/5.649, allocations: 158.1 kB / 2.041 GB, free: 84.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/5.649, allocations: 31.14 kB / 2.042 GB, free: 84.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0006262/5.65, allocations: 353.5 kB / 2.042 GB, free: 84.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/5.65, allocations: 116.2 kB / 2.042 GB, free: 84.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/5.653, allocations: 1.132 MB / 2.043 GB, free: 84.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/5.653, allocations: 3.719 kB / 2.043 GB, free: 84.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/5.653, allocations: 5.516 kB / 2.043 GB, free: 84.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/5.653, allocations: 7.469 kB / 2.043 GB, free: 84.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/5.658, allocations: 2.112 MB / 2.045 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/5.658, allocations: 4.531 kB / 2.045 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/5.658, allocations: 51.94 kB / 2.045 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/5.659, allocations: 361 kB / 2.046 GB, free: 83.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/5.659, allocations: 15.44 kB / 2.046 GB, free: 83.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/5.66, allocations: 1.002 MB / 2.047 GB, free: 83.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/5.66, allocations: 0 / 2.047 GB, free: 83.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/5.663, allocations: 1.274 MB / 2.048 GB, free: 82.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/5.664, allocations: 273.9 kB / 2.048 GB, free: 82.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/5.664, allocations: 19.17 kB / 2.048 GB, free: 82.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/5.665, allocations: 97.7 kB / 2.048 GB, free: 82.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/5.665, allocations: 41.38 kB / 2.048 GB, free: 82.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/5.665, allocations: 24.28 kB / 2.048 GB, free: 82.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001035/5.666, allocations: 0.7453 MB / 2.049 GB, free: 82.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.71e-07/5.666, allocations: 0 / 2.049 GB, free: 82.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001817/5.668, allocations: 0.6314 MB / 2.05 GB, free: 82.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001118/5.669, allocations: 0.7005 MB / 2.05 GB, free: 82.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002548/5.672, allocations: 1.051 MB / 2.051 GB, free: 82.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/5.672, allocations: 0 / 2.051 GB, free: 82.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007336/5.672, allocations: 334.8 kB / 2.052 GB, free: 82.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/5.674, allocations: 0.4949 MB / 2.052 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/5.677, allocations: 2.191 MB / 2.054 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/5.678, allocations: 1.086 MB / 2.055 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007903/5.679, allocations: 205.8 kB / 2.055 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/5.679, allocations: 76.03 kB / 2.056 GB, free: 80.32 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/5.679, allocations: 1.75 kB / 2.056 GB, free: 80.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.04375/5.722, allocations: 26.87 MB / 2.082 GB, free: 78.8 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)