Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 173.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 0.7948 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008384, allocations: 102.8 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003467, allocations: 9.062 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2596, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.272, allocations: 435.1 MB / 1.648 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.272, allocations: 98.2 kB / 1.648 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.699/2.971, allocations: 0.5621 GB / 2.21 GB, free: 100 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.734e-06/2.971, allocations: 0 / 2.21 GB, free: 100 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001403/2.971, allocations: 39.98 kB / 2.21 GB, free: 99.98 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004526/2.976, allocations: 2.128 MB / 2.212 GB, free: 97.79 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/2.976, allocations: 8.031 kB / 2.212 GB, free: 97.78 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002492/2.976, allocations: 181.4 kB / 2.212 GB, free: 97.59 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/2.981, allocations: 0.6651 MB / 2.213 GB, free: 96.92 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/2.984, allocations: 1.797 MB / 2.215 GB, free: 95.07 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/2.984, allocations: 136 kB / 2.215 GB, free: 94.93 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/2.985, allocations: 116 kB / 2.215 GB, free: 94.81 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/2.988, allocations: 1.659 MB / 2.217 GB, free: 93.05 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/2.988, allocations: 3.938 kB / 2.217 GB, free: 93.05 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/2.988, allocations: 51.94 kB / 2.217 GB, free: 93 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/2.988, allocations: 54.16 kB / 2.217 GB, free: 92.94 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/2.993, allocations: 1.492 MB / 2.218 GB, free: 91.44 MB / 1.167 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.009382/3.002, allocations: 7.087 MB / 2.225 GB, free: 84.02 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/3.004, allocations: 0.7802 MB / 2.226 GB, free: 83.23 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/3.005, allocations: 1.267 MB / 2.227 GB, free: 81.68 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/3.006, allocations: 43.12 kB / 2.227 GB, free: 81.63 MB / 1.167 GB Notification: Performance of pre-optimization done (n=66): time 3.016e-06/3.006, allocations: 0 / 2.227 GB, free: 81.63 MB / 1.167 GB Notification: Performance of matching and sorting (n=66): time 0.02376/3.029, allocations: 3.746 MB / 2.231 GB, free: 77.86 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/3.029, allocations: 111.4 kB / 2.231 GB, free: 77.72 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/3.031, allocations: 1.259 MB / 2.232 GB, free: 76.46 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/3.032, allocations: 49.7 kB / 2.232 GB, free: 76.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/3.032, allocations: 0.6996 MB / 2.233 GB, free: 75.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/3.032, allocations: 236.6 kB / 2.233 GB, free: 75.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/3.032, allocations: 12 kB / 2.233 GB, free: 75.45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/3.032, allocations: 341.9 kB / 2.233 GB, free: 75.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/3.034, allocations: 0.4977 MB / 2.234 GB, free: 74.61 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/3.036, allocations: 0.7787 MB / 2.235 GB, free: 73.71 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/3.038, allocations: 0.5408 MB / 2.235 GB, free: 73.17 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/3.038, allocations: 4 kB / 2.235 GB, free: 73.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005213/3.044, allocations: 1.568 MB / 2.237 GB, free: 71.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005631/3.044, allocations: 2.498 MB / 2.239 GB, free: 68.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/3.044, allocations: 4 kB / 2.239 GB, free: 68.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/3.046, allocations: 0.5715 MB / 2.24 GB, free: 68.38 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/3.047, allocations: 239.6 kB / 2.24 GB, free: 68.14 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/3.049, allocations: 1.17 MB / 2.241 GB, free: 66.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/3.052, allocations: 270.6 kB / 2.241 GB, free: 66.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/3.052, allocations: 63.88 kB / 2.241 GB, free: 66.62 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/3.052, allocations: 4 kB / 2.241 GB, free: 66.61 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00436/3.056, allocations: 1.42 MB / 2.243 GB, free: 65.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/3.056, allocations: 4 kB / 2.243 GB, free: 65.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/3.058, allocations: 0.5595 MB / 2.243 GB, free: 64.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/3.059, allocations: 235.6 kB / 2.244 GB, free: 64.39 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/3.061, allocations: 1.181 MB / 2.245 GB, free: 63.18 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/3.063, allocations: 234.8 kB / 2.245 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/3.063, allocations: 59.89 kB / 2.245 GB, free: 62.89 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009734/3.064, allocations: 448.8 kB / 2.245 GB, free: 62.45 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/3.065, allocations: 146.2 kB / 2.246 GB, free: 62.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/3.069, allocations: 1.318 MB / 2.247 GB, free: 60.96 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/3.069, allocations: 8 kB / 2.247 GB, free: 60.96 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/3.069, allocations: 0 / 2.247 GB, free: 60.96 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003603/3.073, allocations: 1.19 MB / 2.248 GB, free: 59.73 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00834/3.081, allocations: 3.452 MB / 2.251 GB, free: 56.08 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/3.081, allocations: 4 kB / 2.251 GB, free: 56.08 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/3.082, allocations: 151.9 kB / 2.252 GB, free: 55.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/3.084, allocations: 0.5512 MB / 2.252 GB, free: 55.38 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/3.084, allocations: 31.97 kB / 2.252 GB, free: 55.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/3.085, allocations: 1.154 MB / 2.253 GB, free: 54.16 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/3.085, allocations: 7.953 kB / 2.253 GB, free: 54.16 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/3.09, allocations: 1.655 MB / 2.255 GB, free: 52.33 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/3.091, allocations: 390.9 kB / 2.255 GB, free: 51.93 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005304/3.092, allocations: 19.98 kB / 2.255 GB, free: 51.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/3.094, allocations: 147.8 kB / 2.255 GB, free: 51.77 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/3.094, allocations: 48.33 kB / 2.255 GB, free: 51.72 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/3.094, allocations: 43.95 kB / 2.256 GB, free: 51.68 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002135/3.096, allocations: 1.008 MB / 2.256 GB, free: 50.67 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/3.096, allocations: 0 / 2.256 GB, free: 50.67 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003513/3.1, allocations: 0.9824 MB / 2.257 GB, free: 49.68 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006353/3.106, allocations: 3.904 MB / 2.261 GB, free: 45.67 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006444/3.113, allocations: 1.83 MB / 2.263 GB, free: 43.84 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/3.113, allocations: 8.062 kB / 2.263 GB, free: 43.83 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/3.115, allocations: 0.5296 MB / 2.264 GB, free: 43.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/3.118, allocations: 0.7769 MB / 2.264 GB, free: 42.54 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/3.141, allocations: 13.52 MB / 2.278 GB, free: 28.53 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/3.141, allocations: 1.238 MB / 2.279 GB, free: 27.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001869/3.143, allocations: 335.9 kB / 2.279 GB, free: 26.93 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/3.144, allocations: 0.5617 MB / 2.28 GB, free: 26.37 MB / 1.167 GB Notification: Performance of SimCode: time 1.122e-06/3.144, allocations: 0 / 2.28 GB, free: 26.37 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.672/3.816, allocations: 55.31 MB / 2.334 GB, free: 249.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/3.816, allocations: 268.8 kB / 2.334 GB, free: 249.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.92/7.736, allocations: 0 / 2.334 GB, free: 249.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat