Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.172/2.172, allocations: 387.4 MB / 394.9 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.001062/0.001062, allocations: 180.8 kB / 487.4 MB, free: 5.059 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.557/1.557, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.0009242/0.0009242, allocations: 99.84 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.185e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.427/4.665, allocations: 1.906 GB / 3.112 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/4.665, allocations: 86.83 kB / 3.112 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.427/5.092, allocations: 243.7 MB / 3.35 GB, free: 197.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.675e-06/5.092, allocations: 4 kB / 3.35 GB, free: 197.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.646e-05/5.092, allocations: 11.98 kB / 3.35 GB, free: 197.9 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009706/5.093, allocations: 0.6313 MB / 3.35 GB, free: 197.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/5.093, allocations: 8.031 kB / 3.35 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/5.094, allocations: 155.3 kB / 3.35 GB, free: 197 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/5.095, allocations: 317.8 kB / 3.351 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/5.095, allocations: 8 kB / 3.351 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/5.095, allocations: 16 kB / 3.351 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002268/5.095, allocations: 144.8 kB / 3.351 GB, free: 196.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/5.095, allocations: 214.6 kB / 3.351 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/5.095, allocations: 8 kB / 3.351 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/5.095, allocations: 0 / 3.351 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/5.095, allocations: 7.953 kB / 3.351 GB, free: 196.3 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.001025/5.096, allocations: 1.136 MB / 3.352 GB, free: 195 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/5.096, allocations: 110.4 kB / 3.352 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/5.097, allocations: 64.83 kB / 3.352 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004134/5.097, allocations: 303.2 kB / 3.353 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/5.097, allocations: 34.56 kB / 3.353 GB, free: 194.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/5.097, allocations: 0 / 3.353 GB, free: 194.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0005563/5.098, allocations: 193.5 kB / 3.353 GB, free: 194.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/5.098, allocations: 55.41 kB / 3.353 GB, free: 194.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/5.098, allocations: 202.3 kB / 3.353 GB, free: 194 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/5.098, allocations: 29.7 kB / 3.353 GB, free: 193.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/5.098, allocations: 184.1 kB / 3.353 GB, free: 193.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/5.098, allocations: 51.2 kB / 3.353 GB, free: 193.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/5.098, allocations: 4 kB / 3.353 GB, free: 193.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.499e-05/5.098, allocations: 330.8 kB / 3.354 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/5.098, allocations: 44.36 kB / 3.354 GB, free: 193.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.442e-05/5.098, allocations: 108.3 kB / 3.354 GB, free: 193.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/5.098, allocations: 92.5 kB / 3.354 GB, free: 193.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/5.098, allocations: 0 / 3.354 GB, free: 193.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003347/5.099, allocations: 214.1 kB / 3.354 GB, free: 192.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/5.099, allocations: 4 kB / 3.354 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/5.099, allocations: 4.094 kB / 3.354 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/5.099, allocations: 7.984 kB / 3.354 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/5.099, allocations: 51.92 kB / 3.354 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/5.099, allocations: 4 kB / 3.354 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/5.099, allocations: 23.83 kB / 3.354 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/5.099, allocations: 15.98 kB / 3.354 GB, free: 192.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/5.099, allocations: 112.9 kB / 3.354 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002994/5.1, allocations: 173.2 kB / 3.355 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/5.1, allocations: 27.7 kB / 3.355 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/5.1, allocations: 189.6 kB / 3.355 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/5.1, allocations: 4 kB / 3.355 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/5.1, allocations: 0 / 3.355 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/5.1, allocations: 0 / 3.355 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/5.101, allocations: 0.6176 MB / 3.355 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/5.101, allocations: 0 / 3.355 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/5.101, allocations: 36.14 kB / 3.355 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/5.101, allocations: 11.94 kB / 3.355 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/5.101, allocations: 0 / 3.355 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/5.101, allocations: 7.984 kB / 3.355 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/5.101, allocations: 7.953 kB / 3.355 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/5.101, allocations: 469 kB / 3.356 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/5.101, allocations: 116.8 kB / 3.356 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/5.102, allocations: 7.953 kB / 3.356 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/5.102, allocations: 15.97 kB / 3.356 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/5.102, allocations: 16.05 kB / 3.356 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/5.102, allocations: 8 kB / 3.356 GB, free: 190.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.497e-05/5.102, allocations: 162 kB / 3.356 GB, free: 190.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.102, allocations: 0 / 3.356 GB, free: 190.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000483/5.102, allocations: 143.8 kB / 3.356 GB, free: 190.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/5.104, allocations: 2.571 MB / 3.359 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002287/5.104, allocations: 119.7 kB / 3.359 GB, free: 187.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/5.104, allocations: 4 kB / 3.359 GB, free: 187.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/5.105, allocations: 63.86 kB / 3.359 GB, free: 187.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/5.105, allocations: 102.8 kB / 3.359 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/5.106, allocations: 0.4904 MB / 3.36 GB, free: 187 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/5.106, allocations: 0.7835 MB / 3.36 GB, free: 186.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001638/5.106, allocations: 50.02 kB / 3.36 GB, free: 186.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/5.106, allocations: 91.41 kB / 3.36 GB, free: 186.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/5.106, allocations: 0 / 3.36 GB, free: 186.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/5.141, allocations: 14.24 MB / 3.374 GB, free: 171.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/5.141, allocations: 161.6 kB / 3.375 GB, free: 171.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/7.397, allocations: 0 / 3.375 GB, free: 171.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat