Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 180.4 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.5212/0.5212, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.544/1.544, allocations: 223.2 MB / 354.3 MB, free: 12.09 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.0009577/0.0009577, allocations: 103.1 kB / 427.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 16 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 72.32 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.25, allocations: 387.8 MB / 0.9476 GB, free: 79.38 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.25, allocations: 99.81 kB / 0.9477 GB, free: 79.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.354/3.604, allocations: 0.5647 GB / 1.512 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/3.604, allocations: 0 / 1.512 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003382/3.605, allocations: 49.7 kB / 1.512 GB, free: 69.43 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008893/3.613, allocations: 2.256 MB / 1.515 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/3.613, allocations: 9.344 kB / 1.515 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007826/3.614, allocations: 199.5 kB / 1.515 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005886/3.62, allocations: 0.6947 MB / 1.516 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/3.626, allocations: 1.878 MB / 1.517 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/3.626, allocations: 142 kB / 1.518 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003631/3.626, allocations: 133.4 kB / 1.518 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005141/3.631, allocations: 1.821 MB / 1.519 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/3.631, allocations: 1.703 kB / 1.519 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/3.632, allocations: 63.12 kB / 1.52 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-05/3.632, allocations: 58.19 kB / 1.52 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005341/3.637, allocations: 1.576 MB / 1.521 GB, free: 67.81 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.01381/3.651, allocations: 7.391 MB / 1.528 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/3.653, allocations: 0.8316 MB / 1.529 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/3.655, allocations: 1.274 MB / 1.53 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/3.655, allocations: 45.97 kB / 1.53 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=77): time 4.108e-06/3.655, allocations: 2.312 kB / 1.53 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77): time 0.02809/3.683, allocations: 3.666 MB / 1.534 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/3.683, allocations: 195.6 kB / 1.534 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/3.686, allocations: 1.327 MB / 1.535 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002872/3.686, allocations: 47.92 kB / 1.536 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/3.687, allocations: 0.7679 MB / 1.536 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/3.687, allocations: 264.7 kB / 1.537 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/3.687, allocations: 18.19 kB / 1.537 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/3.687, allocations: 339.4 kB / 1.537 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/3.689, allocations: 0.5319 MB / 1.537 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/3.692, allocations: 0.8338 MB / 1.538 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/3.694, allocations: 0.5712 MB / 1.539 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/3.694, allocations: 1.562 kB / 1.539 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007654/3.702, allocations: 1.699 MB / 1.54 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005598/3.702, allocations: 2.516 MB / 1.543 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/3.702, allocations: 7.125 kB / 1.543 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/3.704, allocations: 491.5 kB / 1.543 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/3.706, allocations: 275.9 kB / 1.544 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/3.708, allocations: 0.9987 MB / 1.545 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/3.711, allocations: 302.6 kB / 1.545 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/3.711, allocations: 61.23 kB / 1.545 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/3.711, allocations: 4.219 kB / 1.545 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007411/3.719, allocations: 1.531 MB / 1.546 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/3.719, allocations: 5.219 kB / 1.546 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/3.721, allocations: 492.9 kB / 1.547 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/3.722, allocations: 267.7 kB / 1.547 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/3.724, allocations: 0.9981 MB / 1.548 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/3.727, allocations: 267.9 kB / 1.548 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/3.727, allocations: 61.48 kB / 1.548 GB, free: 57.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.001608/3.729, allocations: 475.8 kB / 1.549 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/3.729, allocations: 161.1 kB / 1.549 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/3.736, allocations: 1.407 MB / 1.55 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/3.736, allocations: 11.48 kB / 1.55 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/3.736, allocations: 5.562 kB / 1.55 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005406/3.741, allocations: 1.266 MB / 1.552 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/3.752, allocations: 3.314 MB / 1.555 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/3.752, allocations: 3.719 kB / 1.555 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/3.753, allocations: 174.1 kB / 1.555 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/3.755, allocations: 469.7 kB / 1.556 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/3.755, allocations: 32.34 kB / 1.556 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/3.756, allocations: 0.9901 MB / 1.557 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/3.756, allocations: 11.25 kB / 1.557 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/3.771, allocations: 2.866 MB / 1.559 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/3.772, allocations: 421.5 kB / 1.56 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/3.773, allocations: 28.31 kB / 1.56 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/3.775, allocations: 167.9 kB / 1.56 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/3.775, allocations: 88.12 kB / 1.56 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/3.775, allocations: 53.92 kB / 1.56 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00173/3.777, allocations: 1.058 MB / 1.561 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/3.777, allocations: 0 / 1.561 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00349/3.78, allocations: 1.039 MB / 1.562 GB, free: 54.88 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01623/3.796, allocations: 5.117 MB / 1.567 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006587/3.803, allocations: 1.934 MB / 1.569 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/3.803, allocations: 3.969 kB / 1.569 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/3.805, allocations: 0.6184 MB / 1.57 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/3.809, allocations: 0.7927 MB / 1.57 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/3.834, allocations: 14.48 MB / 1.585 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/3.835, allocations: 1.295 MB / 1.586 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002189/3.837, allocations: 391.4 kB / 1.586 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008468/3.838, allocations: 0.6452 MB / 1.587 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of SimCode: time 1.814e-06/3.838, allocations: 0 / 1.587 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/3.925, allocations: 57.69 MB / 1.643 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/3.925, allocations: 274 kB / 1.643 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/7.894, allocations: 0 / 1.643 GB, free: 40.75 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)