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.218/2.218, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001041/0.001041, allocations: 180.9 kB / 487.4 MB, free: 5.051 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.825/1.825, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 94.5 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.507e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.415, allocations: 434.4 MB / 1.63 GB, free: 3.98 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.415, allocations: 95.44 kB / 1.63 GB, free: 3.934 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.911/3.326, allocations: 0.5576 GB / 2.188 GB, free: 13.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/3.326, allocations: 0 / 2.188 GB, free: 13.97 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002528/3.327, allocations: 39.98 kB / 2.188 GB, free: 13.93 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.005375/3.332, allocations: 1.836 MB / 2.19 GB, free: 12.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/3.332, allocations: 8.031 kB / 2.19 GB, free: 12.03 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/3.337, allocations: 0.6691 MB / 2.19 GB, free: 11.36 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/3.341, allocations: 1.793 MB / 2.192 GB, free: 9.504 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/3.341, allocations: 91.94 kB / 2.192 GB, free: 9.406 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/3.342, allocations: 72 kB / 2.192 GB, free: 9.336 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002319/3.344, allocations: 1.032 MB / 2.193 GB, free: 8.301 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/3.347, allocations: 1.283 MB / 2.195 GB, free: 6.926 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/3.347, allocations: 3.938 kB / 2.195 GB, free: 6.922 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/3.347, allocations: 4 kB / 2.195 GB, free: 6.918 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/3.347, allocations: 46.19 kB / 2.195 GB, free: 6.871 MB / 1.151 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.01026/3.357, allocations: 6.523 MB / 2.201 GB, free: 68 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7824/4.14, allocations: 0.5233 MB / 2.202 GB, free: 239.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/4.14, allocations: 325.5 kB / 2.202 GB, free: 239.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/4.142, allocations: 1.269 MB / 2.203 GB, free: 238.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/4.142, allocations: 44.05 kB / 2.203 GB, free: 238.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 2.224e-06/4.142, allocations: 0 / 2.203 GB, free: 238.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.01176/4.154, allocations: 1.511 MB / 2.205 GB, free: 238.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/4.154, allocations: 110.1 kB / 2.205 GB, free: 238.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/4.156, allocations: 0.9732 MB / 2.206 GB, free: 237.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/4.156, allocations: 31.08 kB / 2.206 GB, free: 237.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/4.157, allocations: 0.7238 MB / 2.206 GB, free: 237.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/4.157, allocations: 213.8 kB / 2.207 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/4.157, allocations: 1.156 kB / 2.207 GB, free: 237.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/4.157, allocations: 342.2 kB / 2.207 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/4.158, allocations: 316.2 kB / 2.207 GB, free: 237.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008674/4.159, allocations: 0.578 MB / 2.208 GB, free: 237 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/4.161, allocations: 0.4979 MB / 2.208 GB, free: 237 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/4.161, allocations: 2.344 kB / 2.208 GB, free: 237 MB / 1.151 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01182/4.173, allocations: 1.755 MB / 2.21 GB, free: 236.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007933/4.174, allocations: 2.456 MB / 2.212 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/4.174, allocations: 7.125 kB / 2.212 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/4.175, allocations: 356.9 kB / 2.213 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/4.176, allocations: 263 kB / 2.213 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/4.178, allocations: 0.9554 MB / 2.214 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/4.18, allocations: 226.2 kB / 2.214 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/4.181, allocations: 53.97 kB / 2.214 GB, free: 233.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/4.181, allocations: 6.438 kB / 2.214 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01134/4.192, allocations: 1.608 MB / 2.216 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/4.192, allocations: 5.656 kB / 2.216 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009283/4.193, allocations: 360.9 kB / 2.216 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/4.195, allocations: 252.3 kB / 2.216 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/4.196, allocations: 0.954 MB / 2.217 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/4.198, allocations: 196.4 kB / 2.217 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/4.199, allocations: 53.47 kB / 2.217 GB, free: 233.2 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 () * 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.000407/4.199, allocations: 126 kB / 2.218 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01128/4.21, allocations: 1.515 MB / 2.219 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/4.211, allocations: 124.8 kB / 2.219 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/4.214, allocations: 0.9885 MB / 2.22 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/4.214, allocations: 8.188 kB / 2.22 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/4.214, allocations: 0 / 2.22 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002418/4.217, allocations: 0.8965 MB / 2.221 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006138/4.223, allocations: 2.614 MB / 2.224 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/4.223, allocations: 3.469 kB / 2.224 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/4.224, allocations: 155 kB / 2.224 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006618/4.225, allocations: 358.4 kB / 2.224 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/4.225, allocations: 18.92 kB / 2.224 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/4.226, allocations: 0.9498 MB / 2.225 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/4.226, allocations: 9.656 kB / 2.225 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/4.229, allocations: 1.727 MB / 2.227 GB, free: 231 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007989/4.23, allocations: 371 kB / 2.227 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/4.23, allocations: 3.906 kB / 2.227 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/4.232, allocations: 123.2 kB / 2.227 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/4.232, allocations: 59.67 kB / 2.227 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.943e-05/4.232, allocations: 46.52 kB / 2.227 GB, free: 230.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001104/4.233, allocations: 0.7421 MB / 2.228 GB, free: 230.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/4.233, allocations: 3.188 kB / 2.228 GB, free: 230.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003189/4.236, allocations: 0.9786 MB / 2.229 GB, free: 230.7 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) * 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.005811/4.242, allocations: 4.128 MB / 2.233 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002787/4.245, allocations: 1.272 MB / 2.234 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/4.245, allocations: 2.469 kB / 2.234 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006835/4.246, allocations: 373.4 kB / 2.235 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/4.249, allocations: 0.5691 MB / 2.235 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/4.254, allocations: 2.258 MB / 2.237 GB, free: 227.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008642/4.255, allocations: 1.244 MB / 2.239 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002192/4.258, allocations: 397.6 kB / 2.239 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006948/4.258, allocations: 0.5409 MB / 2.24 GB, free: 227 MB / 1.151 GB Notification: Performance of SimCode: time 1.092e-06/4.258, allocations: 0 / 2.24 GB, free: 227 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09209/4.35, allocations: 45.59 MB / 2.284 GB, free: 225.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/4.351, allocations: 192.5 kB / 2.284 GB, free: 225.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.692/8.043, allocations: 3.25 kB / 2.284 GB, free: 225.7 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