Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 143.3 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 181 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 92.33 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 276.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.00046, allocations: 13.83 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1863, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.375, allocations: 394.9 MB / 1.159 GB, free: 266.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.375, allocations: 95.41 kB / 1.16 GB, free: 266.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.516/2.891, allocations: 0.5624 GB / 1.722 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/2.891, allocations: 0 / 1.722 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002689/2.891, allocations: 40 kB / 1.722 GB, free: 4.082 MB / 0.7136 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.006628/2.898, allocations: 2.257 MB / 1.724 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/2.898, allocations: 12.03 kB / 1.724 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000642/2.899, allocations: 202.4 kB / 1.724 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/2.904, allocations: 0.6961 MB / 1.725 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4148/3.319, allocations: 1.86 MB / 1.727 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/3.319, allocations: 140.5 kB / 1.727 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/3.319, allocations: 133.6 kB / 1.727 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/3.324, allocations: 1.815 MB / 1.729 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/3.324, allocations: 7.531 kB / 1.729 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/3.324, allocations: 60.64 kB / 1.729 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/3.324, allocations: 52.27 kB / 1.729 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004974/3.329, allocations: 1.585 MB / 1.731 GB, free: 103.1 MB / 0.7136 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.01348/3.342, allocations: 7.382 MB / 1.738 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/3.345, allocations: 0.8334 MB / 1.739 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/3.346, allocations: 1.272 MB / 1.74 GB, free: 98.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/3.346, allocations: 46.97 kB / 1.74 GB, free: 98.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=77): time 2.755e-06/3.346, allocations: 2.469 kB / 1.74 GB, free: 98.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77): time 0.02447/3.37, allocations: 3.668 MB / 1.743 GB, free: 98.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/3.37, allocations: 196.4 kB / 1.744 GB, free: 98.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/3.373, allocations: 1.329 MB / 1.745 GB, free: 98.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/3.373, allocations: 49.7 kB / 1.745 GB, free: 98.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/3.374, allocations: 0.7556 MB / 1.746 GB, free: 97.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/3.375, allocations: 269.2 kB / 1.746 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/3.375, allocations: 19.22 kB / 1.746 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/3.375, allocations: 343.5 kB / 1.746 GB, free: 97.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/3.377, allocations: 0.5245 MB / 1.747 GB, free: 97.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/3.379, allocations: 0.8353 MB / 1.748 GB, free: 97.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/3.381, allocations: 0.5748 MB / 1.748 GB, free: 97.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/3.381, allocations: 1.531 kB / 1.748 GB, free: 97.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007209/3.389, allocations: 1.698 MB / 1.75 GB, free: 96.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004694/3.389, allocations: 2.507 MB / 1.752 GB, free: 94.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/3.389, allocations: 6.125 kB / 1.752 GB, free: 94.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/3.391, allocations: 493.7 kB / 1.753 GB, free: 94.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/3.393, allocations: 281.3 kB / 1.753 GB, free: 94.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/3.394, allocations: 0.992 MB / 1.754 GB, free: 93.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/3.397, allocations: 304.4 kB / 1.754 GB, free: 93.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/3.398, allocations: 55.38 kB / 1.754 GB, free: 93.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/3.398, allocations: 3.188 kB / 1.754 GB, free: 93.76 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006985/3.405, allocations: 1.536 MB / 1.756 GB, free: 93.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/3.405, allocations: 9.969 kB / 1.756 GB, free: 93.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/3.406, allocations: 481.8 kB / 1.756 GB, free: 93.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/3.408, allocations: 276.1 kB / 1.757 GB, free: 93.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/3.409, allocations: 0.9956 MB / 1.758 GB, free: 93.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/3.412, allocations: 274.8 kB / 1.758 GB, free: 93.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/3.412, allocations: 51.55 kB / 1.758 GB, free: 93.16 MB / 0.7136 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.001119/3.413, allocations: 490.4 kB / 1.758 GB, free: 92.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/3.414, allocations: 158.2 kB / 1.759 GB, free: 92.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/3.42, allocations: 1.419 MB / 1.76 GB, free: 92.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/3.42, allocations: 7.219 kB / 1.76 GB, free: 92.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/3.42, allocations: 0 / 1.76 GB, free: 92.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005468/3.426, allocations: 1.262 MB / 1.761 GB, free: 92.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/3.436, allocations: 3.317 MB / 1.764 GB, free: 92.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/3.436, allocations: 3.969 kB / 1.764 GB, free: 92.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/3.437, allocations: 170.2 kB / 1.765 GB, free: 92.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/3.439, allocations: 476.2 kB / 1.765 GB, free: 92.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/3.439, allocations: 33.91 kB / 1.765 GB, free: 92.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/3.44, allocations: 0.9834 MB / 1.766 GB, free: 91.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/3.44, allocations: 11.38 kB / 1.766 GB, free: 91.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/3.454, allocations: 2.871 MB / 1.769 GB, free: 90.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/3.455, allocations: 416.2 kB / 1.769 GB, free: 90.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/3.456, allocations: 28.45 kB / 1.769 GB, free: 90.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/3.458, allocations: 169.9 kB / 1.769 GB, free: 90.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/3.458, allocations: 85.28 kB / 1.769 GB, free: 90.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/3.458, allocations: 53.48 kB / 1.77 GB, free: 90.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001618/3.46, allocations: 1.049 MB / 1.771 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/3.46, allocations: 0 / 1.771 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003432/3.463, allocations: 1.037 MB / 1.772 GB, free: 90.57 MB / 0.7136 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.01544/3.479, allocations: 5.118 MB / 1.777 GB, free: 88.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006442/3.485, allocations: 1.939 MB / 1.778 GB, free: 88.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/3.485, allocations: 2.625 kB / 1.778 GB, free: 88.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/3.487, allocations: 0.6172 MB / 1.779 GB, free: 88.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/3.491, allocations: 0.7989 MB / 1.78 GB, free: 88.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/3.516, allocations: 14.45 MB / 1.794 GB, free: 81.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009103/3.517, allocations: 1.297 MB / 1.795 GB, free: 80.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002293/3.519, allocations: 402.8 kB / 1.796 GB, free: 80.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009567/3.52, allocations: 0.6414 MB / 1.796 GB, free: 80.27 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/3.52, allocations: 0 / 1.796 GB, free: 80.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08837/3.609, allocations: 57.92 MB / 1.853 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/3.609, allocations: 288.3 kB / 1.853 GB, free: 77.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.919/7.528, allocations: 6.75 kB / 1.853 GB, free: 77.21 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)