Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.501/0.501, allocations: 92 MB / 108.5 MB, free: 13.05 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.69/1.69, allocations: 223.2 MB / 354.3 MB, free: 10.49 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.0008829/0.0008828, allocations: 103.1 kB / 427.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.000461, allocations: 8 kB / 0.4982 GB, free: 42.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1539, allocations: 72.31 MB / 0.5689 GB, free: 1.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.227, allocations: 382.7 MB / 0.9426 GB, free: 84.46 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/1.227, allocations: 92.83 kB / 0.9427 GB, free: 84.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.514/3.742, allocations: 0.5683 GB / 1.511 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.619e-06/3.742, allocations: 1 kB / 1.511 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001946/3.742, allocations: 41.25 kB / 1.511 GB, free: 67.83 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00662/3.749, allocations: 2.016 MB / 1.513 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/3.749, allocations: 9.031 kB / 1.513 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/3.75, allocations: 242.4 kB / 1.513 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005859/3.756, allocations: 1.721 MB / 1.515 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/3.756, allocations: 77.81 kB / 1.515 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/3.756, allocations: 100 kB / 1.515 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/3.759, allocations: 1.095 MB / 1.516 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/3.759, allocations: 2.125 kB / 1.516 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/3.759, allocations: 44.7 kB / 1.516 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.291e-05/3.759, allocations: 47.52 kB / 1.516 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/3.761, allocations: 0.9051 MB / 1.517 GB, free: 66.61 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.00747/3.769, allocations: 4.722 MB / 1.522 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/3.77, allocations: 0.6116 MB / 1.522 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/3.771, allocations: 0.8272 MB / 1.523 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/3.771, allocations: 47.11 kB / 1.523 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 3.506e-06/3.771, allocations: 0.75 kB / 1.523 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.007647/3.779, allocations: 1.84 MB / 1.525 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/3.779, allocations: 59.44 kB / 1.525 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/3.781, allocations: 1.114 MB / 1.526 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/3.781, allocations: 42.2 kB / 1.526 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/3.781, allocations: 0.6237 MB / 1.527 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/3.782, allocations: 208.9 kB / 1.527 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/3.782, allocations: 14.22 kB / 1.527 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/3.782, allocations: 334.2 kB / 1.527 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006625/3.782, allocations: 279 kB / 1.528 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/3.783, allocations: 0.5019 MB / 1.528 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/3.784, allocations: 334.9 kB / 1.528 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/3.784, allocations: 1.844 kB / 1.528 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004961/3.789, allocations: 1.345 MB / 1.53 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003634/3.789, allocations: 1.422 MB / 1.531 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/3.789, allocations: 11.8 kB / 1.531 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/3.79, allocations: 146.1 kB / 1.531 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/3.791, allocations: 157.4 kB / 1.531 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008049/3.791, allocations: 0.7126 MB / 1.532 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/3.793, allocations: 161.2 kB / 1.532 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/3.793, allocations: 32.97 kB / 1.532 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/3.793, allocations: 7.719 kB / 1.532 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005034/3.799, allocations: 1.193 MB / 1.533 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/3.799, allocations: 3.281 kB / 1.533 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/3.799, allocations: 146.8 kB / 1.534 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/3.8, allocations: 159 kB / 1.534 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008324/3.801, allocations: 0.72 MB / 1.534 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/3.803, allocations: 148.1 kB / 1.535 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/3.803, allocations: 30.5 kB / 1.535 GB, free: 59.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001112/3.804, allocations: 423 kB / 1.535 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/3.804, allocations: 140.1 kB / 1.535 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/3.81, allocations: 1.323 MB / 1.536 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/3.81, allocations: 11.14 kB / 1.536 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/3.81, allocations: 0 / 1.536 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004745/3.815, allocations: 1.217 MB / 1.538 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008737/3.823, allocations: 2.663 MB / 1.54 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/3.823, allocations: 5.438 kB / 1.54 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/3.824, allocations: 128.9 kB / 1.54 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/3.825, allocations: 135.5 kB / 1.54 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/3.825, allocations: 17.8 kB / 1.54 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/3.83, allocations: 2.547 MB / 1.543 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/3.83, allocations: 6.031 kB / 1.543 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/3.836, allocations: 1.995 MB / 1.545 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/3.838, allocations: 331.7 kB / 1.545 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/3.838, allocations: 16.56 kB / 1.545 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009268/3.839, allocations: 81.95 kB / 1.545 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/3.839, allocations: 62.67 kB / 1.545 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/3.839, allocations: 32.05 kB / 1.545 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001697/3.841, allocations: 0.8942 MB / 1.546 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/3.841, allocations: 5.562 kB / 1.546 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003163/3.844, allocations: 0.7982 MB / 1.547 GB, free: 56.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/3.846, allocations: 0.7808 MB / 1.548 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002591/3.848, allocations: 1.086 MB / 1.549 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/3.848, allocations: 3.438 kB / 1.549 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/3.85, allocations: 0.5878 MB / 1.549 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/3.853, allocations: 0.7668 MB / 1.55 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/3.858, allocations: 2.751 MB / 1.553 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/3.859, allocations: 1.208 MB / 1.554 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001414/3.86, allocations: 299.8 kB / 1.554 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/3.86, allocations: 108.2 kB / 1.555 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.765e-06/3.86, allocations: 0 / 1.555 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.05225/3.913, allocations: 33.39 MB / 1.587 GB, free: 52.08 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)