Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.6 MB / 307.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 181.1 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 0.6366 GB, free: 9.449 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00096/0.0009601, allocations: 96.42 kB / 0.7509 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 12 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3041, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.738/2.043, allocations: 424 MB / 1.402 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/2.043, allocations: 100.6 kB / 1.403 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.81/3.853, allocations: 0.5517 GB / 1.954 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.956e-06/3.853, allocations: 0 / 1.954 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000222/3.853, allocations: 51.53 kB / 1.954 GB, free: 124.5 MB / 0.9323 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.008329/3.861, allocations: 2.255 MB / 1.957 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 8.016e-05/3.862, allocations: 8.031 kB / 1.957 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008136/3.862, allocations: 202.5 kB / 1.957 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005887/3.868, allocations: 0.6855 MB / 1.957 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/3.874, allocations: 1.871 MB / 1.959 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/3.874, allocations: 140 kB / 1.959 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/3.874, allocations: 139.9 kB / 1.96 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/3.879, allocations: 1.813 MB / 1.961 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/3.879, allocations: 0 / 1.961 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/3.88, allocations: 56 kB / 1.961 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/3.88, allocations: 43.98 kB / 1.961 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/3.885, allocations: 1.575 MB / 1.963 GB, free: 115.6 MB / 0.9323 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.01291/3.898, allocations: 7.396 MB / 1.97 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/3.9, allocations: 0.8262 MB / 1.971 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/3.902, allocations: 1.271 MB / 1.972 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/3.902, allocations: 51.16 kB / 1.972 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 4.198e-06/3.902, allocations: 0 / 1.972 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.02585/3.927, allocations: 3.67 MB / 1.976 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/3.928, allocations: 192.6 kB / 1.976 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/3.93, allocations: 1.324 MB / 1.977 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003446/3.931, allocations: 49.7 kB / 1.977 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007532/3.932, allocations: 0.753 MB / 1.978 GB, free: 99.46 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/3.932, allocations: 278.5 kB / 1.978 GB, free: 99.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/3.932, allocations: 16 kB / 1.978 GB, free: 99.18 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/3.932, allocations: 342 kB / 1.979 GB, free: 98.84 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/3.934, allocations: 0.5289 MB / 1.979 GB, free: 98.31 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/3.936, allocations: 0.8322 MB / 1.98 GB, free: 97.35 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/3.938, allocations: 0.5835 MB / 1.981 GB, free: 96.78 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/3.938, allocations: 0 / 1.981 GB, free: 96.78 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007432/3.946, allocations: 1.691 MB / 1.982 GB, free: 95.08 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008129/3.947, allocations: 2.512 MB / 1.985 GB, free: 92.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/3.947, allocations: 4 kB / 1.985 GB, free: 92.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/3.949, allocations: 0.4916 MB / 1.985 GB, free: 91.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/3.95, allocations: 267.6 kB / 1.985 GB, free: 91.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/3.952, allocations: 1.007 MB / 1.986 GB, free: 90.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/3.955, allocations: 306.5 kB / 1.987 GB, free: 90.24 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/3.956, allocations: 55.95 kB / 1.987 GB, free: 90.19 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/3.956, allocations: 0 / 1.987 GB, free: 90.19 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006741/3.962, allocations: 1.535 MB / 1.988 GB, free: 88.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/3.962, allocations: 4 kB / 1.988 GB, free: 88.65 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/3.964, allocations: 494.4 kB / 1.989 GB, free: 88.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/3.966, allocations: 271.1 kB / 1.989 GB, free: 87.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/3.967, allocations: 0.9933 MB / 1.99 GB, free: 86.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/3.97, allocations: 266.8 kB / 1.99 GB, free: 86.63 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/3.97, allocations: 55.95 kB / 1.99 GB, free: 86.58 MB / 0.9323 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.001288/3.972, allocations: 483.4 kB / 1.991 GB, free: 86.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/3.972, allocations: 158.1 kB / 1.991 GB, free: 85.94 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006209/3.978, allocations: 1.423 MB / 1.992 GB, free: 84.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/3.978, allocations: 8 kB / 1.992 GB, free: 84.49 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/3.978, allocations: 4 kB / 1.992 GB, free: 84.48 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005409/3.984, allocations: 1.258 MB / 1.994 GB, free: 83.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/3.995, allocations: 3.318 MB / 1.997 GB, free: 79.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/3.995, allocations: 0 / 1.997 GB, free: 79.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/3.997, allocations: 183.7 kB / 1.997 GB, free: 79.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/3.998, allocations: 474.8 kB / 1.997 GB, free: 79.14 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/3.998, allocations: 31.95 kB / 1.997 GB, free: 79.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/4, allocations: 0.9895 MB / 1.998 GB, free: 78.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/4, allocations: 4 kB / 1.998 GB, free: 78.09 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/4.015, allocations: 2.866 MB / 2.001 GB, free: 75.03 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/4.017, allocations: 418.8 kB / 2.002 GB, free: 74.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008493/4.018, allocations: 28.05 kB / 2.002 GB, free: 74.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/4.02, allocations: 175.7 kB / 2.002 GB, free: 74.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/4.02, allocations: 76.39 kB / 2.002 GB, free: 74.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/4.02, allocations: 47.95 kB / 2.002 GB, free: 74.28 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001901/4.022, allocations: 1.054 MB / 2.003 GB, free: 73.23 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/4.022, allocations: 0 / 2.003 GB, free: 73.23 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004021/4.026, allocations: 1.037 MB / 2.004 GB, free: 72.19 MB / 0.9323 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.01766/4.044, allocations: 5.118 MB / 2.009 GB, free: 67.04 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0069/4.051, allocations: 1.933 MB / 2.011 GB, free: 65.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/4.051, allocations: 4 kB / 2.011 GB, free: 65.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/4.053, allocations: 0.6161 MB / 2.011 GB, free: 64.48 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/4.057, allocations: 0.8073 MB / 2.012 GB, free: 63.68 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/4.086, allocations: 14.44 MB / 2.026 GB, free: 48.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/4.087, allocations: 1.297 MB / 2.028 GB, free: 47.42 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002623/4.09, allocations: 395.9 kB / 2.028 GB, free: 47.03 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009534/4.091, allocations: 0.6476 MB / 2.029 GB, free: 46.38 MB / 0.9323 GB Notification: Performance of SimCode: time 2.194e-06/4.091, allocations: 0 / 2.029 GB, free: 46.38 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/4.226, allocations: 57.87 MB / 2.085 GB, free: 4.941 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004336/4.226, allocations: 274.9 kB / 2.085 GB, free: 4.582 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.78/9.006, allocations: 0 / 2.085 GB, free: 4.582 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)