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.001199/0.001198, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4693/0.4693, allocations: 90.8 MB / 104.5 MB, free: 9.797 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.333/1.333, allocations: 221.3 MB / 348.3 MB, free: 0.5117 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.0009011/0.000901, allocations: 89.72 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.334e-05, allocations: 4 kB / 0.4896 GB, free: 5.387 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3682, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6994/1.068, allocations: 382.6 MB / 0.9339 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.068, allocations: 85.39 kB / 0.934 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.038/3.106, allocations: 0.5665 GB / 1.501 GB, free: 88.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.032e-06/3.106, allocations: 0 / 1.501 GB, free: 88.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001698/3.107, allocations: 46.73 kB / 1.501 GB, free: 88.57 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.003711/3.11, allocations: 1.727 MB / 1.502 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/3.11, allocations: 11.42 kB / 1.502 GB, free: 87.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009636/3.111, allocations: 234.3 kB / 1.502 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/3.114, allocations: 1.719 MB / 1.504 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/3.115, allocations: 76.28 kB / 1.504 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/3.115, allocations: 99.22 kB / 1.504 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/3.116, allocations: 1.018 MB / 1.505 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/3.116, allocations: 3.75 kB / 1.505 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/3.117, allocations: 42.16 kB / 1.505 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/3.117, allocations: 38.75 kB / 1.505 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/3.118, allocations: 0.7541 MB / 1.506 GB, free: 87.17 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.005117/3.123, allocations: 4.719 MB / 1.511 GB, free: 85.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/3.124, allocations: 0.5215 MB / 1.511 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/3.124, allocations: 261.4 kB / 1.512 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004278/3.124, allocations: 0.8298 MB / 1.512 GB, free: 84.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/3.125, allocations: 42.81 kB / 1.512 GB, free: 84.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.545e-06/3.125, allocations: 3.5 kB / 1.512 GB, free: 84.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.003578/3.128, allocations: 1.03 MB / 1.513 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/3.128, allocations: 59.78 kB / 1.513 GB, free: 84.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/3.129, allocations: 1.095 MB / 1.514 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/3.13, allocations: 44.67 kB / 1.515 GB, free: 83.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/3.13, allocations: 0.6288 MB / 1.515 GB, free: 83.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/3.13, allocations: 207.5 kB / 1.515 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/3.13, allocations: 14.62 kB / 1.515 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/3.13, allocations: 335.6 kB / 1.516 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/3.13, allocations: 198.6 kB / 1.516 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/3.131, allocations: 442.5 kB / 1.516 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/3.131, allocations: 269.3 kB / 1.517 GB, free: 82.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/3.131, allocations: 0 / 1.517 GB, free: 82.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003687/3.135, allocations: 1.179 MB / 1.518 GB, free: 82.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002965/3.135, allocations: 1.424 MB / 1.519 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/3.135, allocations: 3.219 kB / 1.519 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/3.136, allocations: 120.3 kB / 1.519 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/3.136, allocations: 158.5 kB / 1.519 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/3.137, allocations: 0.6645 MB / 1.52 GB, free: 80.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/3.138, allocations: 166.7 kB / 1.52 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/3.138, allocations: 35.14 kB / 1.52 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/3.138, allocations: 4.5 kB / 1.52 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003535/3.142, allocations: 1.036 MB / 1.521 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/3.142, allocations: 3.094 kB / 1.521 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/3.142, allocations: 104.8 kB / 1.521 GB, free: 80.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/3.143, allocations: 160.5 kB / 1.521 GB, free: 80.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004135/3.143, allocations: 0.6615 MB / 1.522 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/3.144, allocations: 147.3 kB / 1.522 GB, free: 80.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/3.144, allocations: 34.19 kB / 1.522 GB, free: 80.19 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 () * 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.0002195/3.145, allocations: 150.9 kB / 1.522 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/3.145, allocations: 140 kB / 1.523 GB, free: 80.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/3.149, allocations: 1.174 MB / 1.524 GB, free: 79.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/3.15, allocations: 7.75 kB / 1.524 GB, free: 79.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/3.15, allocations: 2.812 kB / 1.524 GB, free: 79.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00404/3.154, allocations: 1.056 MB / 1.525 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/3.159, allocations: 2.511 MB / 1.527 GB, free: 79.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/3.159, allocations: 0 / 1.527 GB, free: 79.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/3.16, allocations: 129.2 kB / 1.527 GB, free: 79.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/3.16, allocations: 105.4 kB / 1.527 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/3.16, allocations: 17.81 kB / 1.527 GB, free: 79.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/3.163, allocations: 2.239 MB / 1.53 GB, free: 77.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/3.163, allocations: 7.5 kB / 1.53 GB, free: 77.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/3.168, allocations: 1.764 MB / 1.531 GB, free: 77.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006048/3.168, allocations: 329 kB / 1.532 GB, free: 77.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/3.168, allocations: 16.44 kB / 1.532 GB, free: 77.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/3.169, allocations: 85.11 kB / 1.532 GB, free: 77.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/3.169, allocations: 63.33 kB / 1.532 GB, free: 77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/3.169, allocations: 28.23 kB / 1.532 GB, free: 77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001062/3.171, allocations: 0.8833 MB / 1.533 GB, free: 76.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/3.171, allocations: 0 / 1.533 GB, free: 76.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001835/3.172, allocations: 0.795 MB / 1.533 GB, free: 76.42 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 () * 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.001093/3.173, allocations: 0.7913 MB / 1.534 GB, free: 76.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001392/3.175, allocations: 0.9246 MB / 1.535 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/3.175, allocations: 0 / 1.535 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/3.176, allocations: 0.5137 MB / 1.536 GB, free: 75.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/3.179, allocations: 0.7548 MB / 1.536 GB, free: 75.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/3.182, allocations: 1.784 MB / 1.538 GB, free: 74.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/3.183, allocations: 1.209 MB / 1.539 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001559/3.184, allocations: 390.5 kB / 1.54 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/3.184, allocations: 79.81 kB / 1.54 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/3.184, allocations: 0 / 1.54 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.04491/3.229, allocations: 36.48 MB / 1.575 GB, free: 50.84 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)