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.695/1.695, allocations: 289.7 MB / 302.2 MB, free: 2.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.001213/0.001214, allocations: 178.8 kB / 371.6 MB, free: 3.395 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.968/1.968, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001005/0.001005, allocations: 87.23 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.491e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3419, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.96/2.302, allocations: 423.9 MB / 1.394 GB, free: 295.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/2.303, allocations: 90.19 kB / 1.394 GB, free: 295.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.93/4.232, allocations: 0.55 GB / 1.944 GB, free: 162.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/4.232, allocations: 3.25 kB / 1.944 GB, free: 162.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00029/4.233, allocations: 42.73 kB / 1.944 GB, free: 162.1 MB / 0.948 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.006241/4.239, allocations: 1.979 MB / 1.946 GB, free: 160.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/4.239, allocations: 10.28 kB / 1.946 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006189/4.24, allocations: 194 kB / 1.946 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/4.245, allocations: 0.6873 MB / 1.947 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/4.249, allocations: 1.85 MB / 1.949 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/4.249, allocations: 142.5 kB / 1.949 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/4.249, allocations: 138.3 kB / 1.949 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/4.252, allocations: 1.628 MB / 1.951 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/4.252, allocations: 8.672 kB / 1.951 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/4.252, allocations: 60.97 kB / 1.951 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/4.252, allocations: 40.92 kB / 1.951 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/4.254, allocations: 1.231 MB / 1.952 GB, free: 157.1 MB / 0.948 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.009729/4.264, allocations: 7.395 MB / 1.959 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/4.265, allocations: 0.6936 MB / 1.96 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/4.266, allocations: 399 kB / 1.96 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/4.267, allocations: 1.268 MB / 1.961 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/4.267, allocations: 55.75 kB / 1.961 GB, free: 148.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 3.357e-06/4.267, allocations: 0 / 1.961 GB, free: 148.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.003315/4.27, allocations: 1.013 MB / 1.962 GB, free: 148.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/4.27, allocations: 192.3 kB / 1.963 GB, free: 148.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/4.272, allocations: 1.28 MB / 1.964 GB, free: 147.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/4.272, allocations: 49.45 kB / 1.964 GB, free: 147.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/4.273, allocations: 0.7649 MB / 1.965 GB, free: 146.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/4.273, allocations: 267.7 kB / 1.965 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/4.273, allocations: 14.97 kB / 1.965 GB, free: 146.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/4.273, allocations: 348.7 kB / 1.965 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/4.273, allocations: 366.3 kB / 1.966 GB, free: 146.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/4.274, allocations: 0.6723 MB / 1.966 GB, free: 145.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/4.275, allocations: 431 kB / 1.967 GB, free: 145.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/4.275, allocations: 3.906 kB / 1.967 GB, free: 145.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003601/4.279, allocations: 1.321 MB / 1.968 GB, free: 144.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004609/4.279, allocations: 2.5 MB / 1.97 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/4.279, allocations: 10.78 kB / 1.97 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/4.28, allocations: 425 kB / 1.971 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/4.282, allocations: 268.5 kB / 1.971 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009073/4.283, allocations: 0.9133 MB / 1.972 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/4.285, allocations: 299.7 kB / 1.972 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/4.285, allocations: 59.25 kB / 1.972 GB, free: 140.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/4.285, allocations: 3.781 kB / 1.972 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003324/4.289, allocations: 1.162 MB / 1.973 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/4.289, allocations: 6.656 kB / 1.973 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/4.29, allocations: 424.4 kB / 1.974 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/4.291, allocations: 274.4 kB / 1.974 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007967/4.292, allocations: 0.9038 MB / 1.975 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/4.294, allocations: 268.3 kB / 1.975 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/4.295, allocations: 64.05 kB / 1.975 GB, free: 139.1 MB / 0.948 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.0003368/4.295, allocations: 176.5 kB / 1.975 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/4.295, allocations: 153.5 kB / 1.976 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/4.299, allocations: 1.112 MB / 1.977 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/4.299, allocations: 14.69 kB / 1.977 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/4.299, allocations: 0 / 1.977 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002757/4.301, allocations: 0.9573 MB / 1.978 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00677/4.308, allocations: 3.006 MB / 1.981 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/4.308, allocations: 3.938 kB / 1.981 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/4.309, allocations: 178.7 kB / 1.981 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/4.31, allocations: 406.2 kB / 1.981 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/4.311, allocations: 36.91 kB / 1.981 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008014/4.311, allocations: 0.9 MB / 1.982 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/4.311, allocations: 3.969 kB / 1.982 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/4.322, allocations: 2.425 MB / 1.984 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/4.323, allocations: 422.2 kB / 1.985 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/4.323, allocations: 26.12 kB / 1.985 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/4.325, allocations: 172.1 kB / 1.985 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/4.325, allocations: 78.69 kB / 1.985 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/4.325, allocations: 51.5 kB / 1.985 GB, free: 132.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001559/4.327, allocations: 1.01 MB / 1.986 GB, free: 131.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/4.327, allocations: 3.938 kB / 1.986 GB, free: 131.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003165/4.33, allocations: 1.039 MB / 1.987 GB, free: 131.7 MB / 0.948 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.01342/4.344, allocations: 4.675 MB / 1.992 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003736/4.347, allocations: 1.515 MB / 1.993 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/4.347, allocations: 7.781 kB / 1.993 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/4.348, allocations: 0.4977 MB / 1.994 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004884/4.353, allocations: 0.8099 MB / 1.994 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/4.359, allocations: 2.538 MB / 1.997 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/4.36, allocations: 1.296 MB / 1.998 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002246/4.362, allocations: 482.3 kB / 1.999 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007635/4.363, allocations: 0.6203 MB / 1.999 GB, free: 119.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/4.363, allocations: 0 / 1.999 GB, free: 119.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08834/4.451, allocations: 60.27 MB / 2.058 GB, free: 60.05 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/4.452, allocations: 244.5 kB / 2.058 GB, free: 59.71 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/8.437, allocations: 0 / 2.058 GB, free: 59.71 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)