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.406/2.406, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001093/0.001093, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.466/1.466, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.0008689/0.0008689, allocations: 99.83 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.568e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2674, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.486, allocations: 434.4 MB / 1.63 GB, free: 4 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/1.487, allocations: 88.77 kB / 1.63 GB, free: 3.957 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.766/3.253, allocations: 0.5576 GB / 2.188 GB, free: 13.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.753e-06/3.253, allocations: 0 / 2.188 GB, free: 13.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000243/3.253, allocations: 39.98 kB / 2.188 GB, free: 13.76 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.005411/3.259, allocations: 1.855 MB / 2.19 GB, free: 11.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/3.259, allocations: 8.031 kB / 2.19 GB, free: 11.83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/3.264, allocations: 0.6691 MB / 2.191 GB, free: 11.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/3.268, allocations: 1.797 MB / 2.192 GB, free: 9.305 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/3.269, allocations: 83.95 kB / 2.192 GB, free: 9.215 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004486/3.269, allocations: 68 kB / 2.192 GB, free: 9.148 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002388/3.271, allocations: 1.035 MB / 2.193 GB, free: 8.109 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/3.274, allocations: 1.296 MB / 2.195 GB, free: 6.715 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/3.274, allocations: 3.938 kB / 2.195 GB, free: 6.711 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/3.275, allocations: 4 kB / 2.195 GB, free: 6.707 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/3.275, allocations: 50.16 kB / 2.195 GB, free: 6.656 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.7948/4.069, allocations: 6.802 MB / 2.201 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/4.071, allocations: 0.5877 MB / 2.202 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/4.072, allocations: 326.5 kB / 2.202 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/4.073, allocations: 1.265 MB / 2.204 GB, free: 237.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/4.073, allocations: 45.44 kB / 2.204 GB, free: 237.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=66): time 2.885e-06/4.073, allocations: 3.781 kB / 2.204 GB, free: 237.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=66): time 0.003611/4.077, allocations: 0.9344 MB / 2.204 GB, free: 237.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/4.077, allocations: 115.2 kB / 2.205 GB, free: 237.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/4.079, allocations: 0.9684 MB / 2.206 GB, free: 237.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/4.079, allocations: 28.33 kB / 2.206 GB, free: 237.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008217/4.08, allocations: 0.7087 MB / 2.206 GB, free: 237.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/4.08, allocations: 221.2 kB / 2.206 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/4.08, allocations: 0 / 2.206 GB, free: 236.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/4.08, allocations: 337.3 kB / 2.207 GB, free: 236.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/4.081, allocations: 305.4 kB / 2.207 GB, free: 236.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/4.081, allocations: 0.5782 MB / 2.208 GB, free: 236.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/4.084, allocations: 487.7 kB / 2.208 GB, free: 236.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/4.084, allocations: 0.9062 kB / 2.208 GB, free: 236.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003742/4.087, allocations: 1.201 MB / 2.209 GB, free: 236.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005858/4.088, allocations: 2.458 MB / 2.212 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/4.088, allocations: 7.062 kB / 2.212 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/4.089, allocations: 456 kB / 2.212 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/4.091, allocations: 240.6 kB / 2.212 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/4.092, allocations: 1.139 MB / 2.213 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/4.095, allocations: 221.2 kB / 2.214 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/4.095, allocations: 56.66 kB / 2.214 GB, free: 233.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/4.095, allocations: 3.469 kB / 2.214 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003146/4.098, allocations: 1.041 MB / 2.215 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/4.098, allocations: 14.14 kB / 2.215 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/4.099, allocations: 445.7 kB / 2.215 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/4.101, allocations: 245 kB / 2.215 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/4.102, allocations: 1.135 MB / 2.217 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/4.105, allocations: 188.1 kB / 2.217 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/4.105, allocations: 58.36 kB / 2.217 GB, free: 232.5 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 (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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.000404/4.105, allocations: 124 kB / 2.217 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00309/4.108, allocations: 0.9383 MB / 2.218 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/4.109, allocations: 125.4 kB / 2.218 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/4.113, allocations: 1.107 MB / 2.219 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/4.113, allocations: 11.14 kB / 2.219 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/4.113, allocations: 6.766 kB / 2.219 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004142/4.118, allocations: 1.01 MB / 2.22 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007937/4.126, allocations: 3.024 MB / 2.223 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/4.126, allocations: 2.875 kB / 2.223 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/4.127, allocations: 152.6 kB / 2.223 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/4.128, allocations: 437.5 kB / 2.224 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/4.128, allocations: 15.09 kB / 2.224 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/4.129, allocations: 1.131 MB / 2.225 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/4.129, allocations: 3.25 kB / 2.225 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/4.132, allocations: 1.342 MB / 2.226 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007378/4.133, allocations: 375.3 kB / 2.226 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/4.133, allocations: 17.42 kB / 2.226 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/4.135, allocations: 127.4 kB / 2.226 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/4.135, allocations: 52.12 kB / 2.226 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/4.135, allocations: 47.77 kB / 2.227 GB, free: 229.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001165/4.136, allocations: 0.7385 MB / 2.227 GB, free: 229.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/4.136, allocations: 3.844 kB / 2.227 GB, free: 229.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003327/4.139, allocations: 0.9721 MB / 2.228 GB, free: 229.6 MB / 1.151 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) * 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.004901/4.144, allocations: 3.613 MB / 2.232 GB, free: 227.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003022/4.147, allocations: 1.296 MB / 2.233 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/4.147, allocations: 1.094 kB / 2.233 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/4.148, allocations: 378.4 kB / 2.233 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/4.151, allocations: 0.5773 MB / 2.234 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/4.16, allocations: 2.169 MB / 2.236 GB, free: 226.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008745/4.161, allocations: 1.244 MB / 2.237 GB, free: 226.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002362/4.163, allocations: 369 kB / 2.238 GB, free: 226.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/4.164, allocations: 0.5255 MB / 2.238 GB, free: 226.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.974e-06/4.164, allocations: 0 / 2.238 GB, free: 226.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09636/4.26, allocations: 46.42 MB / 2.283 GB, free: 225.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/4.261, allocations: 183.7 kB / 2.284 GB, free: 225 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/7.783, allocations: 0 / 2.284 GB, free: 225 MB / 1.151 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