Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.295/2.295, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001214/0.001214, allocations: 184.2 kB / 492.3 MB, free: 0.5938 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.711/1.711, allocations: 221.3 MB / 0.7872 GB, free: 12.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.0009506/0.0009508, allocations: 93.81 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.235e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2867, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.496, allocations: 434.7 MB / 1.637 GB, free: 11.91 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.496, allocations: 86.92 kB / 1.637 GB, free: 11.87 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.75/3.247, allocations: 0.5602 GB / 2.197 GB, free: 404 kB / 1.151 GB Notification: Performance of FrontEnd: time 1.363e-06/3.247, allocations: 4 kB / 2.197 GB, free: 400 kB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002367/3.247, allocations: 43.98 kB / 2.197 GB, free: 356 kB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.7044/3.952, allocations: 1.841 MB / 2.199 GB, free: 237.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/3.952, allocations: 11.22 kB / 2.199 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000373/3.952, allocations: 178.1 kB / 2.199 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/3.957, allocations: 0.6134 MB / 2.2 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/3.961, allocations: 1.776 MB / 2.202 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/3.962, allocations: 123.9 kB / 2.202 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/3.962, allocations: 119 kB / 2.202 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/3.965, allocations: 1.434 MB / 2.203 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/3.965, allocations: 5.406 kB / 2.203 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/3.965, allocations: 51.03 kB / 2.203 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/3.966, allocations: 50.44 kB / 2.203 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/3.968, allocations: 1.083 MB / 2.204 GB, free: 236.4 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.01306/3.981, allocations: 6.994 MB / 2.211 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/3.982, allocations: 0.5815 MB / 2.212 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/3.983, allocations: 328.7 kB / 2.212 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/3.984, allocations: 1.264 MB / 2.213 GB, free: 231.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/3.984, allocations: 50.06 kB / 2.213 GB, free: 231.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 2.816e-06/3.984, allocations: 0 / 2.213 GB, free: 231.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.001958/3.986, allocations: 0.8046 MB / 2.214 GB, free: 231.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/3.986, allocations: 113.4 kB / 2.214 GB, free: 231.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/3.988, allocations: 1.227 MB / 2.216 GB, free: 231.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/3.988, allocations: 43.7 kB / 2.216 GB, free: 231.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/3.989, allocations: 0.7091 MB / 2.216 GB, free: 231.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/3.989, allocations: 223 kB / 2.216 GB, free: 231.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/3.989, allocations: 14.62 kB / 2.217 GB, free: 231.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/3.989, allocations: 339.7 kB / 2.217 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/3.99, allocations: 296.5 kB / 2.217 GB, free: 230.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/3.991, allocations: 0.5852 MB / 2.218 GB, free: 230.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/3.991, allocations: 354.2 kB / 2.218 GB, free: 230.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/3.991, allocations: 1.719 kB / 2.218 GB, free: 230.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002064/3.993, allocations: 1.114 MB / 2.219 GB, free: 230.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005029/3.994, allocations: 2.505 MB / 2.222 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/3.994, allocations: 6.641 kB / 2.222 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/3.995, allocations: 437.9 kB / 2.222 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/3.997, allocations: 248.1 kB / 2.222 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/3.998, allocations: 1.02 MB / 2.223 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/4.001, allocations: 271.1 kB / 2.223 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/4.001, allocations: 56.52 kB / 2.224 GB, free: 227.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/4.001, allocations: 6.469 kB / 2.224 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001788/4.003, allocations: 0.9538 MB / 2.224 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/4.003, allocations: 11.86 kB / 2.224 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/4.004, allocations: 436.4 kB / 2.225 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/4.005, allocations: 245.6 kB / 2.225 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/4.006, allocations: 1.023 MB / 2.226 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/4.009, allocations: 238.3 kB / 2.226 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/4.009, allocations: 56.33 kB / 2.226 GB, free: 226.6 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003233/4.009, allocations: 154 kB / 2.227 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/4.009, allocations: 142.6 kB / 2.227 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/4.011, allocations: 0.938 MB / 2.228 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/4.011, allocations: 7.172 kB / 2.228 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/4.011, allocations: 0 / 2.228 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/4.013, allocations: 0.8044 MB / 2.228 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/4.019, allocations: 3.005 MB / 2.231 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/4.019, allocations: 7.109 kB / 2.231 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/4.02, allocations: 151.8 kB / 2.231 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/4.021, allocations: 414.6 kB / 2.232 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/4.022, allocations: 25.77 kB / 2.232 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/4.023, allocations: 1.096 MB / 2.233 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/4.023, allocations: 13.7 kB / 2.233 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/4.025, allocations: 1.251 MB / 2.234 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008244/4.026, allocations: 390.4 kB / 2.235 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/4.026, allocations: 19.84 kB / 2.235 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/4.028, allocations: 136.7 kB / 2.235 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/4.028, allocations: 59.62 kB / 2.235 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/4.028, allocations: 43.7 kB / 2.235 GB, free: 223.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001583/4.03, allocations: 0.9497 MB / 2.236 GB, free: 223.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.81e-07/4.03, allocations: 0 / 2.236 GB, free: 223.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003175/4.033, allocations: 0.9797 MB / 2.237 GB, free: 223.7 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003571/4.037, allocations: 3.512 MB / 2.24 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002825/4.039, allocations: 1.329 MB / 2.241 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/4.039, allocations: 0 / 2.241 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/4.041, allocations: 475.9 kB / 2.242 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/4.045, allocations: 0.7677 MB / 2.243 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/4.051, allocations: 2.183 MB / 2.245 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/4.052, allocations: 1.238 MB / 2.246 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002186/4.054, allocations: 441.3 kB / 2.246 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006167/4.055, allocations: 0.5349 MB / 2.247 GB, free: 220.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.01e-07/4.055, allocations: 0 / 2.247 GB, free: 220.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08671/4.141, allocations: 56.09 MB / 2.302 GB, free: 218.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/4.141, allocations: 235 kB / 2.302 GB, free: 218.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.833/7.974, allocations: 4 kB / 2.302 GB, free: 218.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat