Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.78/2.78, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001612/0.001612, allocations: 177.3 kB / 370.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.6295 GB, free: 10.68 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 92.91 kB / 0.7428 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.0005528, allocations: 11.09 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2467, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.389/1.636, allocations: 422.9 MB / 1.391 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.636, allocations: 99.77 kB / 1.391 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.294/4.93, allocations: 0.5517 GB / 1.943 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.826e-06/4.93, allocations: 0 / 1.943 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003318/4.931, allocations: 50.06 kB / 1.943 GB, free: 182.8 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.009244/4.94, allocations: 2.251 MB / 1.945 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/4.94, allocations: 8.594 kB / 1.945 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009849/4.941, allocations: 203.9 kB / 1.946 GB, free: 181 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00934/4.95, allocations: 0.6868 MB / 1.946 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006303/4.957, allocations: 1.867 MB / 1.948 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/4.957, allocations: 138.7 kB / 1.948 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005193/4.958, allocations: 137.8 kB / 1.948 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007659/4.965, allocations: 1.807 MB / 1.95 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.337e-05/4.965, allocations: 1.969 kB / 1.95 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/4.966, allocations: 65.34 kB / 1.95 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-05/4.966, allocations: 45.3 kB / 1.95 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0094/4.975, allocations: 1.576 MB / 1.952 GB, free: 177.2 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.01848/4.994, allocations: 7.382 MB / 1.959 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/4.998, allocations: 0.8427 MB / 1.96 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/5, allocations: 1.273 MB / 1.961 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/5, allocations: 43.06 kB / 1.961 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.306e-06/5, allocations: 0 / 1.961 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.04775/5.047, allocations: 3.67 MB / 1.965 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/5.048, allocations: 190 kB / 1.965 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/5.051, allocations: 1.332 MB / 1.966 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003753/5.052, allocations: 49.7 kB / 1.966 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008569/5.053, allocations: 0.7574 MB / 1.967 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000444/5.053, allocations: 264.8 kB / 1.967 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/5.053, allocations: 16 kB / 1.967 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001049/5.053, allocations: 346.1 kB / 1.967 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/5.057, allocations: 0.5341 MB / 1.968 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004047/5.061, allocations: 0.8381 MB / 1.969 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003876/5.065, allocations: 0.5809 MB / 1.969 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/5.065, allocations: 0 / 1.969 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01259/5.078, allocations: 1.697 MB / 1.971 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006016/5.078, allocations: 2.506 MB / 1.973 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/5.078, allocations: 8 kB / 1.973 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/5.081, allocations: 0.4903 MB / 1.974 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/5.084, allocations: 267.3 kB / 1.974 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/5.087, allocations: 1.007 MB / 1.975 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/5.092, allocations: 304.6 kB / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/5.092, allocations: 55.95 kB / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/5.092, allocations: 4 kB / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01178/5.104, allocations: 1.531 MB / 1.977 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/5.104, allocations: 8 kB / 1.977 GB, free: 155 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/5.107, allocations: 483.7 kB / 1.978 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/5.11, allocations: 271.2 kB / 1.978 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/5.112, allocations: 0.9894 MB / 1.979 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/5.117, allocations: 275.4 kB / 1.979 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/5.117, allocations: 59.83 kB / 1.979 GB, free: 153 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.001434/5.119, allocations: 481.7 kB / 1.98 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/5.119, allocations: 158.1 kB / 1.98 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/5.13, allocations: 1.413 MB / 1.981 GB, free: 151 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/5.13, allocations: 12 kB / 1.981 GB, free: 151 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/5.13, allocations: 3.953 kB / 1.981 GB, free: 151 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00998/5.14, allocations: 1.264 MB / 1.982 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/5.157, allocations: 3.313 MB / 1.986 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/5.157, allocations: 4 kB / 1.986 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/5.159, allocations: 171.7 kB / 1.986 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/5.162, allocations: 479.3 kB / 1.986 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/5.162, allocations: 31.95 kB / 1.986 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/5.165, allocations: 0.9856 MB / 1.987 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/5.165, allocations: 4 kB / 1.987 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02581/5.19, allocations: 2.863 MB / 1.99 GB, free: 141.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/5.192, allocations: 426.8 kB / 1.99 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005603/5.193, allocations: 20 kB / 1.99 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00369/5.196, allocations: 183.5 kB / 1.991 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/5.197, allocations: 80.34 kB / 1.991 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/5.197, allocations: 47.94 kB / 1.991 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002772/5.2, allocations: 1.058 MB / 1.992 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.31e-07/5.2, allocations: 0 / 1.992 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005004/5.205, allocations: 1.041 MB / 1.993 GB, free: 138.7 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.02849/5.233, allocations: 5.112 MB / 1.998 GB, free: 133.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01175/5.245, allocations: 1.933 MB / 2 GB, free: 131.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/5.245, allocations: 0 / 2 GB, free: 131.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003624/5.249, allocations: 0.62 MB / 2 GB, free: 131 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006939/5.256, allocations: 0.7929 MB / 2.001 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04315/5.299, allocations: 14.46 MB / 2.015 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/5.3, allocations: 1.301 MB / 2.016 GB, free: 114 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003728/5.304, allocations: 383.6 kB / 2.017 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/5.306, allocations: 0.6476 MB / 2.017 GB, free: 113 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/5.306, allocations: 0 / 2.017 GB, free: 113 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/5.444, allocations: 57.86 MB / 2.074 GB, free: 56.25 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/5.444, allocations: 274.7 kB / 2.074 GB, free: 55.89 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.167/10.61, allocations: 0 / 2.074 GB, free: 55.89 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)