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.6897/0.6897, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 184.5 kB / 187.3 MB, free: 11.89 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.238/1.238, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0008377/0.0008376, allocations: 99.91 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 277.5 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.015e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3693, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6681/1.037, allocations: 394.8 MB / 1.15 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/1.038, allocations: 92.09 kB / 1.15 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.63/2.668, allocations: 0.5607 GB / 1.711 GB, free: 15.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/2.668, allocations: 0 / 1.711 GB, free: 15.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001524/2.668, allocations: 47.98 kB / 1.711 GB, free: 15.62 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.003402/2.672, allocations: 1.985 MB / 1.713 GB, free: 13.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/2.672, allocations: 8.031 kB / 1.713 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/2.672, allocations: 194.5 kB / 1.713 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/2.676, allocations: 0.6884 MB / 1.714 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/2.679, allocations: 1.858 MB / 1.715 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/2.679, allocations: 140.3 kB / 1.715 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/2.679, allocations: 136 kB / 1.716 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/2.682, allocations: 1.631 MB / 1.717 GB, free: 8.754 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/2.682, allocations: 7.938 kB / 1.717 GB, free: 8.746 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/2.682, allocations: 56 kB / 1.717 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/2.682, allocations: 58.5 kB / 1.717 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/2.684, allocations: 1.232 MB / 1.719 GB, free: 7.395 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.3645/3.048, allocations: 7.388 MB / 1.726 GB, free: 97.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/3.05, allocations: 0.6957 MB / 1.726 GB, free: 97.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/3.05, allocations: 401.6 kB / 1.727 GB, free: 97.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/3.051, allocations: 1.271 MB / 1.728 GB, free: 96.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/3.051, allocations: 47.48 kB / 1.728 GB, free: 96.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.386e-06/3.051, allocations: 0 / 1.728 GB, free: 96.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.003721/3.055, allocations: 1.017 MB / 1.729 GB, free: 96.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/3.055, allocations: 191.8 kB / 1.729 GB, free: 96.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/3.057, allocations: 1.28 MB / 1.731 GB, free: 96.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/3.058, allocations: 52.91 kB / 1.731 GB, free: 96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/3.058, allocations: 0.7614 MB / 1.731 GB, free: 95.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/3.059, allocations: 266.9 kB / 1.732 GB, free: 95.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/3.059, allocations: 17 kB / 1.732 GB, free: 95.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/3.059, allocations: 342.4 kB / 1.732 GB, free: 95.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/3.059, allocations: 372.5 kB / 1.732 GB, free: 95.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/3.06, allocations: 0.6683 MB / 1.733 GB, free: 95.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/3.061, allocations: 423.6 kB / 1.733 GB, free: 95.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/3.061, allocations: 1.938 kB / 1.733 GB, free: 95.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003651/3.065, allocations: 1.335 MB / 1.735 GB, free: 94.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003743/3.065, allocations: 2.506 MB / 1.737 GB, free: 92.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/3.065, allocations: 6.219 kB / 1.737 GB, free: 92.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/3.066, allocations: 418.3 kB / 1.737 GB, free: 92.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/3.068, allocations: 272.2 kB / 1.738 GB, free: 92.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008328/3.069, allocations: 0.9064 MB / 1.739 GB, free: 91.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/3.071, allocations: 300.3 kB / 1.739 GB, free: 91.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/3.071, allocations: 62.52 kB / 1.739 GB, free: 91.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/3.071, allocations: 4.156 kB / 1.739 GB, free: 91.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003058/3.074, allocations: 1.172 MB / 1.74 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/3.074, allocations: 3.719 kB / 1.74 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009976/3.075, allocations: 419.1 kB / 1.741 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.077, allocations: 270.6 kB / 1.741 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007553/3.077, allocations: 0.9035 MB / 1.742 GB, free: 91.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/3.08, allocations: 268.7 kB / 1.742 GB, free: 91.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/3.08, allocations: 55.36 kB / 1.742 GB, free: 91.06 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.000302/3.08, allocations: 177 kB / 1.742 GB, free: 90.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/3.08, allocations: 157.1 kB / 1.742 GB, free: 90.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/3.084, allocations: 1.112 MB / 1.743 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/3.084, allocations: 6.938 kB / 1.743 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/3.084, allocations: 3.875 kB / 1.743 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002912/3.087, allocations: 0.9592 MB / 1.744 GB, free: 90.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/3.094, allocations: 3.018 MB / 1.747 GB, free: 90.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/3.094, allocations: 5 kB / 1.747 GB, free: 90.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/3.095, allocations: 173.4 kB / 1.747 GB, free: 90.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/3.096, allocations: 406.1 kB / 1.748 GB, free: 90.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/3.096, allocations: 32.38 kB / 1.748 GB, free: 90.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007709/3.097, allocations: 0.8986 MB / 1.749 GB, free: 89.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/3.097, allocations: 5.094 kB / 1.749 GB, free: 89.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009575/3.107, allocations: 2.429 MB / 1.751 GB, free: 88.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/3.108, allocations: 428.7 kB / 1.752 GB, free: 88.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005037/3.108, allocations: 27.56 kB / 1.752 GB, free: 88.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/3.11, allocations: 170.3 kB / 1.752 GB, free: 88.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/3.111, allocations: 86.42 kB / 1.752 GB, free: 88.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/3.111, allocations: 46.72 kB / 1.752 GB, free: 88.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001643/3.112, allocations: 1.009 MB / 1.753 GB, free: 88.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/3.112, allocations: 0 / 1.753 GB, free: 88.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003646/3.116, allocations: 1.039 MB / 1.754 GB, free: 88.53 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.01264/3.129, allocations: 4.68 MB / 1.758 GB, free: 86.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003416/3.132, allocations: 1.522 MB / 1.76 GB, free: 86.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/3.132, allocations: 5.344 kB / 1.76 GB, free: 86.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/3.133, allocations: 496.1 kB / 1.76 GB, free: 86.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/3.138, allocations: 0.8007 MB / 1.761 GB, free: 86.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006439/3.144, allocations: 2.542 MB / 1.764 GB, free: 85.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/3.145, allocations: 1.297 MB / 1.765 GB, free: 84.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002563/3.147, allocations: 483 kB / 1.765 GB, free: 84.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007908/3.148, allocations: 0.6245 MB / 1.766 GB, free: 84.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.953e-06/3.148, allocations: 0 / 1.766 GB, free: 84.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07471/3.223, allocations: 60.32 MB / 1.825 GB, free: 82.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/3.223, allocations: 250.3 kB / 1.825 GB, free: 82.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/6.678, allocations: 0 / 1.825 GB, free: 82.14 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)