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.001055/0.001055, allocations: 178.9 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.478/0.478, allocations: 90.8 MB / 104.5 MB, free: 9.793 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.353/1.353, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000816/0.0008163, allocations: 102.1 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.196e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4452, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.609, allocations: 387.7 MB / 0.939 GB, free: 230.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/1.609, allocations: 94.73 kB / 0.939 GB, free: 230.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.889/3.499, allocations: 0.563 GB / 1.502 GB, free: 84.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/3.499, allocations: 0 / 1.502 GB, free: 84.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000239/3.499, allocations: 41.77 kB / 1.502 GB, free: 84.95 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.004965/3.504, allocations: 1.984 MB / 1.504 GB, free: 84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/3.504, allocations: 14.36 kB / 1.504 GB, free: 83.99 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/3.504, allocations: 199.8 kB / 1.504 GB, free: 83.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004706/3.509, allocations: 0.6832 MB / 1.505 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/3.513, allocations: 1.87 MB / 1.507 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/3.513, allocations: 141.6 kB / 1.507 GB, free: 83.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/3.513, allocations: 135.6 kB / 1.507 GB, free: 83.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/3.515, allocations: 1.63 MB / 1.509 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/3.515, allocations: 1.781 kB / 1.509 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/3.516, allocations: 66 kB / 1.509 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/3.516, allocations: 58.23 kB / 1.509 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/3.518, allocations: 1.23 MB / 1.51 GB, free: 83.12 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.008968/3.527, allocations: 7.376 MB / 1.517 GB, free: 80.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/3.528, allocations: 0.6953 MB / 1.518 GB, free: 80.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/3.528, allocations: 398.4 kB / 1.518 GB, free: 80.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/3.529, allocations: 1.28 MB / 1.519 GB, free: 78.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/3.529, allocations: 42.81 kB / 1.519 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=77): time 3.046e-06/3.529, allocations: 2.469 kB / 1.519 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77): time 0.00324/3.532, allocations: 1.013 MB / 1.52 GB, free: 78.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/3.532, allocations: 191.6 kB / 1.521 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/3.534, allocations: 1.291 MB / 1.522 GB, free: 78.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/3.534, allocations: 50.23 kB / 1.522 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/3.535, allocations: 0.7645 MB / 1.523 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/3.535, allocations: 271.6 kB / 1.523 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/3.535, allocations: 19.5 kB / 1.523 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/3.535, allocations: 338.5 kB / 1.523 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/3.536, allocations: 374 kB / 1.524 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/3.536, allocations: 0.6778 MB / 1.524 GB, free: 76.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/3.537, allocations: 419.3 kB / 1.525 GB, free: 76.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/3.537, allocations: 0 / 1.525 GB, free: 76.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00346/3.54, allocations: 1.327 MB / 1.526 GB, free: 76.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004744/3.541, allocations: 2.511 MB / 1.528 GB, free: 74.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/3.541, allocations: 3.875 kB / 1.528 GB, free: 74.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/3.542, allocations: 419.6 kB / 1.529 GB, free: 74.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/3.543, allocations: 269.3 kB / 1.529 GB, free: 74.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008019/3.544, allocations: 0.9136 MB / 1.53 GB, free: 73.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/3.547, allocations: 298 kB / 1.53 GB, free: 73.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/3.547, allocations: 56.86 kB / 1.53 GB, free: 73.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/3.547, allocations: 3.562 kB / 1.53 GB, free: 73.51 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003209/3.55, allocations: 1.162 MB / 1.531 GB, free: 73.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/3.55, allocations: 7.469 kB / 1.532 GB, free: 73.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/3.551, allocations: 419.9 kB / 1.532 GB, free: 73.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/3.552, allocations: 271.5 kB / 1.532 GB, free: 73.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007603/3.553, allocations: 0.9026 MB / 1.533 GB, free: 72.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/3.555, allocations: 273.3 kB / 1.533 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/3.555, allocations: 56.58 kB / 1.533 GB, free: 72.48 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 () * 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.0002862/3.556, allocations: 176.5 kB / 1.534 GB, free: 72.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/3.556, allocations: 157.2 kB / 1.534 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/3.559, allocations: 1.113 MB / 1.535 GB, free: 71.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/3.559, allocations: 7.906 kB / 1.535 GB, free: 71.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/3.559, allocations: 0 / 1.535 GB, free: 71.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002666/3.562, allocations: 0.9681 MB / 1.536 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/3.568, allocations: 3.007 MB / 1.539 GB, free: 69.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/3.568, allocations: 3.781 kB / 1.539 GB, free: 69.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/3.569, allocations: 183.7 kB / 1.539 GB, free: 69.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/3.57, allocations: 403.9 kB / 1.539 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/3.57, allocations: 35.47 kB / 1.539 GB, free: 69.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007476/3.571, allocations: 0.8906 MB / 1.54 GB, free: 69.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/3.571, allocations: 11.86 kB / 1.54 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00964/3.581, allocations: 2.431 MB / 1.543 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/3.582, allocations: 423.9 kB / 1.543 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/3.582, allocations: 23.62 kB / 1.543 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/3.583, allocations: 177 kB / 1.543 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/3.584, allocations: 82.92 kB / 1.543 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-05/3.584, allocations: 49.81 kB / 1.543 GB, free: 67.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001326/3.585, allocations: 1.015 MB / 1.544 GB, free: 67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/3.585, allocations: 0 / 1.544 GB, free: 67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002851/3.588, allocations: 1.028 MB / 1.545 GB, free: 66.75 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) * 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.0118/3.6, allocations: 4.686 MB / 1.55 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00265/3.602, allocations: 1.515 MB / 1.551 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/3.602, allocations: 7.781 kB / 1.551 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/3.603, allocations: 496.3 kB / 1.552 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/3.607, allocations: 0.7907 MB / 1.553 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/3.613, allocations: 2.543 MB / 1.555 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/3.614, allocations: 1.303 MB / 1.556 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002238/3.616, allocations: 485.5 kB / 1.557 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/3.617, allocations: 0.6193 MB / 1.557 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/3.617, allocations: 3.781 kB / 1.557 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08509/3.702, allocations: 60.09 MB / 1.616 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/3.702, allocations: 246.6 kB / 1.616 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/7.578, allocations: 0.7812 kB / 1.616 GB, free: 7.082 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)