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.9481/0.9481, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001206/0.001206, allocations: 184.8 kB / 182.2 MB, free: 9.445 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.596/1.596, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001123/0.001123, allocations: 86.11 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001838/0.001838, allocations: 280.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.116e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5099, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9878/1.498, allocations: 394.2 MB / 1.142 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004072/1.498, allocations: 92.27 kB / 1.142 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.1/3.598, allocations: 0.5579 GB / 1.7 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/3.598, allocations: 0 / 1.7 GB, free: 15.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001563/3.598, allocations: 47.98 kB / 1.7 GB, free: 15.78 MB / 0.698 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.004468/3.603, allocations: 1.982 MB / 1.702 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/3.603, allocations: 8.031 kB / 1.702 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/3.608, allocations: 0.6806 MB / 1.703 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/3.611, allocations: 1.861 MB / 1.705 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/3.612, allocations: 92.33 kB / 1.705 GB, free: 11.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/3.612, allocations: 83.94 kB / 1.705 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002118/3.614, allocations: 1.149 MB / 1.706 GB, free: 9.793 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/3.616, allocations: 1.446 MB / 1.708 GB, free: 8.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/3.616, allocations: 7.938 kB / 1.708 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/3.616, allocations: 4 kB / 1.708 GB, free: 8.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/3.616, allocations: 54.5 kB / 1.708 GB, free: 8.184 MB / 0.698 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.01024/3.627, allocations: 7.091 MB / 1.715 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/3.628, allocations: 0.6553 MB / 1.715 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5158/4.144, allocations: 371.9 kB / 1.716 GB, free: 102.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/4.145, allocations: 1.269 MB / 1.717 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/4.145, allocations: 50.75 kB / 1.717 GB, free: 101.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.316e-06/4.145, allocations: 0 / 1.717 GB, free: 101.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.005527/4.15, allocations: 1.077 MB / 1.718 GB, free: 101.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/4.151, allocations: 189.9 kB / 1.718 GB, free: 101 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/4.153, allocations: 1.028 MB / 1.719 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/4.153, allocations: 35.52 kB / 1.719 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/4.154, allocations: 0.7739 MB / 1.72 GB, free: 100.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/4.154, allocations: 253.8 kB / 1.72 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/4.154, allocations: 0 / 1.72 GB, free: 100.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/4.154, allocations: 338.9 kB / 1.72 GB, free: 100.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/4.155, allocations: 355.3 kB / 1.721 GB, free: 100.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/4.156, allocations: 0.645 MB / 1.721 GB, free: 99.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/4.158, allocations: 0.5287 MB / 1.722 GB, free: 99.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/4.158, allocations: 1.281 kB / 1.722 GB, free: 99.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005542/4.164, allocations: 1.354 MB / 1.723 GB, free: 99.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000508/4.164, allocations: 2.474 MB / 1.726 GB, free: 97.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/4.164, allocations: 8.453 kB / 1.726 GB, free: 97.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008969/4.165, allocations: 357.3 kB / 1.726 GB, free: 97.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/4.167, allocations: 275.7 kB / 1.726 GB, free: 97.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/4.168, allocations: 0.9473 MB / 1.727 GB, free: 96.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/4.171, allocations: 254 kB / 1.727 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/4.171, allocations: 56.22 kB / 1.728 GB, free: 96.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/4.171, allocations: 8.656 kB / 1.728 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004684/4.176, allocations: 1.189 MB / 1.729 GB, free: 96.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/4.176, allocations: 3.781 kB / 1.729 GB, free: 96.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000692/4.176, allocations: 368.9 kB / 1.729 GB, free: 96.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/4.178, allocations: 268.6 kB / 1.729 GB, free: 96.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/4.179, allocations: 0.9591 MB / 1.73 GB, free: 96.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/4.181, allocations: 219.2 kB / 1.73 GB, free: 96.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/4.181, allocations: 58.02 kB / 1.731 GB, free: 96.08 MB / 0.698 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.000378/4.182, allocations: 140.1 kB / 1.731 GB, free: 95.97 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004295/4.186, allocations: 1.074 MB / 1.732 GB, free: 95.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/4.186, allocations: 141.8 kB / 1.732 GB, free: 95.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/4.191, allocations: 1.152 MB / 1.733 GB, free: 95.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/4.191, allocations: 13.27 kB / 1.733 GB, free: 95.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/4.191, allocations: 0 / 1.733 GB, free: 95.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003619/4.194, allocations: 1.03 MB / 1.734 GB, free: 95.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/4.202, allocations: 2.872 MB / 1.737 GB, free: 95.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/4.202, allocations: 12.11 kB / 1.737 GB, free: 95.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/4.203, allocations: 171.1 kB / 1.737 GB, free: 95.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00071/4.204, allocations: 355.6 kB / 1.737 GB, free: 95.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/4.204, allocations: 22.11 kB / 1.737 GB, free: 95.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/4.205, allocations: 0.9448 MB / 1.738 GB, free: 94.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/4.205, allocations: 8.344 kB / 1.738 GB, free: 94.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/4.216, allocations: 2.432 MB / 1.741 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009877/4.217, allocations: 401.2 kB / 1.741 GB, free: 93.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/4.218, allocations: 7.219 kB / 1.741 GB, free: 93.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/4.219, allocations: 157.2 kB / 1.741 GB, free: 93.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/4.219, allocations: 83.53 kB / 1.741 GB, free: 93.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/4.219, allocations: 52.56 kB / 1.741 GB, free: 93.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001068/4.221, allocations: 0.7687 MB / 1.742 GB, free: 93.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.093e-06/4.221, allocations: 0 / 1.742 GB, free: 93.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003297/4.224, allocations: 1.031 MB / 1.743 GB, free: 93.6 MB / 0.698 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.01337/4.237, allocations: 4.705 MB / 1.748 GB, free: 91.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002658/4.24, allocations: 1.419 MB / 1.749 GB, free: 91.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/4.24, allocations: 7.188 kB / 1.749 GB, free: 91.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/4.241, allocations: 481.5 kB / 1.749 GB, free: 91.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/4.244, allocations: 0.6116 MB / 1.75 GB, free: 91.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/4.251, allocations: 2.422 MB / 1.752 GB, free: 90.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/4.251, allocations: 1.301 MB / 1.754 GB, free: 90.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002286/4.254, allocations: 424.5 kB / 1.754 GB, free: 90.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007461/4.254, allocations: 0.6059 MB / 1.755 GB, free: 90.03 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/4.254, allocations: 0 / 1.755 GB, free: 90.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0886/4.343, allocations: 48.92 MB / 1.802 GB, free: 88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/4.343, allocations: 218.5 kB / 1.803 GB, free: 87.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/7.88, allocations: 0 / 1.803 GB, free: 87.71 MB / 0.698 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)