Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.16/2.16, 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.001209/0.001209, allocations: 177.1 kB / 498.1 MB, free: 5.746 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.435/1.435, allocations: 223.1 MB / 0.7948 GB, free: 18.95 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.0009246/0.0009243, allocations: 106 kB / 0.9346 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004006, allocations: 10.17 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2845, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.316, allocations: 435.1 MB / 1.648 GB, free: 2.938 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.316, allocations: 101.5 kB / 1.648 GB, free: 2.883 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.714/3.031, allocations: 0.562 GB / 2.21 GB, free: 74.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.373e-06/3.031, allocations: 0 / 2.21 GB, free: 74.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002165/3.031, allocations: 43.98 kB / 2.21 GB, free: 73.98 MB / 1.151 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.005535/3.037, allocations: 2.1 MB / 2.212 GB, free: 71.81 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/3.037, allocations: 16.02 kB / 2.212 GB, free: 71.79 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004961/3.037, allocations: 173.4 kB / 2.212 GB, free: 71.61 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/3.042, allocations: 0.669 MB / 2.213 GB, free: 70.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/3.046, allocations: 1.805 MB / 2.215 GB, free: 69.08 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/3.047, allocations: 128 kB / 2.215 GB, free: 68.95 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/3.047, allocations: 115.9 kB / 2.215 GB, free: 68.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/3.051, allocations: 1.635 MB / 2.216 GB, free: 67.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/3.051, allocations: 7.938 kB / 2.216 GB, free: 67.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/3.051, allocations: 51.98 kB / 2.217 GB, free: 67.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/3.051, allocations: 54.12 kB / 2.217 GB, free: 66.99 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/3.056, allocations: 1.457 MB / 2.218 GB, free: 65.52 MB / 1.151 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.01009/3.066, allocations: 6.795 MB / 2.225 GB, free: 58.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/3.068, allocations: 0.6913 MB / 2.225 GB, free: 57.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/3.069, allocations: 1.267 MB / 2.227 GB, free: 56.19 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/3.069, allocations: 51.06 kB / 2.227 GB, free: 56.13 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 2.926e-06/3.069, allocations: 4 kB / 2.227 GB, free: 56.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.02867/3.098, allocations: 3.808 MB / 2.23 GB, free: 52.29 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/3.098, allocations: 119.3 kB / 2.23 GB, free: 52.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/3.101, allocations: 1.258 MB / 2.232 GB, free: 50.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/3.101, allocations: 45.7 kB / 2.232 GB, free: 50.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/3.101, allocations: 0.7071 MB / 2.232 GB, free: 50.11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/3.102, allocations: 228.8 kB / 2.233 GB, free: 49.89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/3.102, allocations: 12 kB / 2.233 GB, free: 49.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/3.102, allocations: 341.9 kB / 2.233 GB, free: 49.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/3.104, allocations: 0.4899 MB / 2.233 GB, free: 49.04 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/3.106, allocations: 0.7761 MB / 2.234 GB, free: 48.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/3.108, allocations: 0.5379 MB / 2.235 GB, free: 47.61 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/3.108, allocations: 0 / 2.235 GB, free: 47.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01232/3.12, allocations: 2.097 MB / 2.237 GB, free: 45.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004621/3.12, allocations: 2.487 MB / 2.239 GB, free: 42.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/3.12, allocations: 11.94 kB / 2.239 GB, free: 42.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/3.122, allocations: 499.5 kB / 2.24 GB, free: 42.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/3.124, allocations: 251.7 kB / 2.24 GB, free: 42.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/3.125, allocations: 1.003 MB / 2.241 GB, free: 41.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/3.128, allocations: 274.6 kB / 2.241 GB, free: 40.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/3.128, allocations: 55.95 kB / 2.241 GB, free: 40.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/3.128, allocations: 4 kB / 2.241 GB, free: 40.77 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01208/3.14, allocations: 1.94 MB / 2.243 GB, free: 38.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/3.14, allocations: 8 kB / 2.243 GB, free: 38.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/3.142, allocations: 473.9 kB / 2.244 GB, free: 38.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/3.143, allocations: 251.6 kB / 2.244 GB, free: 38.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/3.145, allocations: 0.9947 MB / 2.245 GB, free: 37.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/3.147, allocations: 242.8 kB / 2.245 GB, free: 36.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/3.147, allocations: 55.95 kB / 2.245 GB, free: 36.8 MB / 1.151 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 (86): * Single equations (assignments): 85 * 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.0009499/3.148, allocations: 452.8 kB / 2.245 GB, free: 36.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/3.149, allocations: 150.2 kB / 2.246 GB, free: 36.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/3.153, allocations: 1.259 MB / 2.247 GB, free: 34.92 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/3.153, allocations: 7.953 kB / 2.247 GB, free: 34.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/3.153, allocations: 0 / 2.247 GB, free: 34.91 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003477/3.157, allocations: 1.115 MB / 2.248 GB, free: 33.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/3.164, allocations: 3.009 MB / 2.251 GB, free: 30.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/3.164, allocations: 8.094 kB / 2.251 GB, free: 30.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009464/3.165, allocations: 147.8 kB / 2.251 GB, free: 30.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/3.166, allocations: 489.2 kB / 2.252 GB, free: 30 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/3.167, allocations: 27.92 kB / 2.252 GB, free: 29.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/3.168, allocations: 0.9875 MB / 2.253 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/3.168, allocations: 11.94 kB / 2.253 GB, free: 28.95 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/3.174, allocations: 2.169 MB / 2.255 GB, free: 26.55 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/3.175, allocations: 394.9 kB / 2.255 GB, free: 26.14 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/3.176, allocations: 16 kB / 2.255 GB, free: 26.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/3.178, allocations: 147.8 kB / 2.255 GB, free: 25.98 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/3.178, allocations: 52.27 kB / 2.255 GB, free: 25.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/3.178, allocations: 51.94 kB / 2.255 GB, free: 25.88 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002036/3.18, allocations: 1.009 MB / 2.256 GB, free: 24.88 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/3.18, allocations: 3.938 kB / 2.256 GB, free: 24.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004195/3.184, allocations: 0.9825 MB / 2.257 GB, free: 23.89 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (46): * Single equations (assignments): 43 * 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.008374/3.193, allocations: 4.542 MB / 2.262 GB, free: 19.21 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00614/3.199, allocations: 1.775 MB / 2.263 GB, free: 17.45 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/3.199, allocations: 0 / 2.263 GB, free: 17.45 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/3.201, allocations: 0.518 MB / 2.264 GB, free: 16.93 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/3.205, allocations: 0.7865 MB / 2.265 GB, free: 16.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/3.228, allocations: 13.65 MB / 2.278 GB, free: 2.008 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/3.229, allocations: 1.234 MB / 2.279 GB, free: 0.7461 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001961/3.231, allocations: 380.1 kB / 2.28 GB, free: 380 kB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5567/3.787, allocations: 0.5766 MB / 2.28 GB, free: 236.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.352e-06/3.787, allocations: 2.156 kB / 2.28 GB, free: 236.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09072/3.878, allocations: 54.8 MB / 2.334 GB, free: 235.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/3.878, allocations: 264.8 kB / 2.334 GB, free: 235.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/7.644, allocations: 1.406 kB / 2.334 GB, free: 235.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat