Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.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.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_Pump_stratos",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.252/2.252, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001108/0.001108, allocations: 184.6 kB / 487.4 MB, free: 5.055 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.721/1.721, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.001189/0.001189, allocations: 99.81 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.352e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3205, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.653/5.973, allocations: 2.19 GB / 3.396 GB, free: 108.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/5.974, allocations: 91.84 kB / 3.396 GB, free: 108.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.957/8.931, allocations: 0.8782 GB / 4.274 GB, free: 114.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.493e-06/8.931, allocations: 0 / 4.274 GB, free: 114.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003031/8.931, allocations: 65.62 kB / 4.274 GB, free: 114.8 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.006197/8.937, allocations: 2.528 MB / 4.277 GB, free: 112.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/8.937, allocations: 8.031 kB / 4.277 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/8.942, allocations: 0.7183 MB / 4.277 GB, free: 111.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03498/8.977, allocations: 17.76 MB / 4.295 GB, free: 93.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/8.977, allocations: 43.94 kB / 4.295 GB, free: 93.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/8.977, allocations: 83.94 kB / 4.295 GB, free: 93.62 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001806/8.979, allocations: 1.238 MB / 4.296 GB, free: 92.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/8.981, allocations: 1.386 MB / 4.297 GB, free: 90.91 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/8.981, allocations: 4 kB / 4.297 GB, free: 90.91 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/8.981, allocations: 4 kB / 4.297 GB, free: 90.91 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/8.981, allocations: 28 kB / 4.297 GB, free: 90.88 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.01009/8.991, allocations: 8.287 MB / 4.305 GB, free: 82.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/8.993, allocations: 1.248 MB / 4.307 GB, free: 80.85 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/8.994, allocations: 0.6501 MB / 4.307 GB, free: 80.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00387/8.997, allocations: 3.086 MB / 4.31 GB, free: 76.94 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/8.997, allocations: 35.12 kB / 4.31 GB, free: 76.89 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008218/8.998, allocations: 111.1 kB / 4.311 GB, free: 76.79 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 2.905e-06/8.998, allocations: 0 / 4.311 GB, free: 76.79 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.003028/9.001, allocations: 1.718 MB / 4.312 GB, free: 75.05 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/9.001, allocations: 55.97 kB / 4.312 GB, free: 74.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/9.005, allocations: 2.738 MB / 4.315 GB, free: 72.23 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/9.005, allocations: 29.7 kB / 4.315 GB, free: 72.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/9.006, allocations: 1.222 MB / 4.316 GB, free: 70.97 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/9.006, allocations: 204.9 kB / 4.316 GB, free: 70.77 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/9.006, allocations: 0 / 4.316 GB, free: 70.77 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/9.006, allocations: 365.8 kB / 4.317 GB, free: 70.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/9.007, allocations: 0.596 MB / 4.317 GB, free: 69.81 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007776/9.007, allocations: 1.146 MB / 4.318 GB, free: 68.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/9.009, allocations: 0.8143 MB / 4.319 GB, free: 67.59 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/9.009, allocations: 4 kB / 4.319 GB, free: 67.58 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003328/9.012, allocations: 2.165 MB / 4.321 GB, free: 65.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001024/9.013, allocations: 6.187 MB / 4.327 GB, free: 58.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/9.013, allocations: 16 kB / 4.327 GB, free: 58.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000927/9.014, allocations: 474.2 kB / 4.328 GB, free: 58.28 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/9.015, allocations: 251.6 kB / 4.328 GB, free: 58.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/9.017, allocations: 2.545 MB / 4.331 GB, free: 55.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/9.019, allocations: 119.8 kB / 4.331 GB, free: 55.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/9.019, allocations: 120 kB / 4.331 GB, free: 55.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.425e-06/9.019, allocations: 4 kB / 4.331 GB, free: 55.18 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003128/9.022, allocations: 1.702 MB / 4.332 GB, free: 53.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/9.022, allocations: 16 kB / 4.332 GB, free: 53.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/9.024, allocations: 0.5493 MB / 4.333 GB, free: 52.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/9.024, allocations: 239.6 kB / 4.333 GB, free: 52.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/9.036, allocations: 7.721 MB / 4.341 GB, free: 44.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/9.04, allocations: 115.9 kB / 4.341 GB, free: 44.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004452/9.041, allocations: 104 kB / 4.341 GB, free: 44.39 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008188/9.042, allocations: 149.6 kB / 4.341 GB, free: 44.23 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005628/9.047, allocations: 1.265 MB / 4.342 GB, free: 42.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008952/9.048, allocations: 240.8 kB / 4.343 GB, free: 42.72 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006007/9.054, allocations: 1.564 MB / 4.344 GB, free: 41.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/9.054, allocations: 8 kB / 4.344 GB, free: 41.13 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/9.054, allocations: 0 / 4.344 GB, free: 41.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003639/9.058, allocations: 1.34 MB / 4.345 GB, free: 39.72 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 postOpt removeSimpleEquations (simulation): time 0.01031/9.068, allocations: 3.656 MB / 4.349 GB, free: 35.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/9.068, allocations: 0 / 4.349 GB, free: 35.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/9.07, allocations: 139.8 kB / 4.349 GB, free: 35.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007763/9.07, allocations: 244.7 kB / 4.349 GB, free: 35.59 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/9.07, allocations: 18.17 kB / 4.349 GB, free: 35.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/9.072, allocations: 1.986 MB / 4.351 GB, free: 33.52 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/9.072, allocations: 4.031 kB / 4.351 GB, free: 33.52 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/9.078, allocations: 2.066 MB / 4.353 GB, free: 31.41 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/9.079, allocations: 0.5639 MB / 4.354 GB, free: 30.82 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/9.08, allocations: 3.938 kB / 4.354 GB, free: 30.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/9.082, allocations: 123.8 kB / 4.354 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/9.082, allocations: 44.72 kB / 4.354 GB, free: 30.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/9.082, allocations: 43.97 kB / 4.354 GB, free: 30.61 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002958/9.085, allocations: 2.063 MB / 4.356 GB, free: 28.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.085, allocations: 0 / 4.356 GB, free: 28.55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005896/9.091, allocations: 1.328 MB / 4.357 GB, free: 27.22 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006195/9.097, allocations: 3.899 MB / 4.361 GB, free: 23.38 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003779/9.101, allocations: 2.447 MB / 4.364 GB, free: 20.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/9.101, allocations: 0 / 4.364 GB, free: 20.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/9.102, allocations: 487.1 kB / 4.364 GB, free: 20.45 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/9.107, allocations: 1.203 MB / 4.365 GB, free: 19.27 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008472/9.116, allocations: 3.864 MB / 4.369 GB, free: 15.33 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/9.117, allocations: 1.841 MB / 4.371 GB, free: 13.46 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004869/9.122, allocations: 1.219 MB / 4.372 GB, free: 12.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/9.123, allocations: 1.003 MB / 4.373 GB, free: 11.25 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/9.123, allocations: 0 / 4.373 GB, free: 11.25 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.864/9.987, allocations: 85.09 MB / 4.456 GB, free: 211.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/9.988, allocations: 164.3 kB / 4.456 GB, free: 210.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.999/14.99, allocations: 2.156 kB / 4.456 GB, free: 210.9 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_Pump_stratos.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat does not exist to compare? outputFormat=mat