Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001101/0.001101, allocations: 184.4 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0008973/0.0008971, allocations: 91.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.88e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3076, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.261, allocations: 1.907 GB / 3.126 GB, free: 407.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/5.261, allocations: 83.95 kB / 3.126 GB, free: 407.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4351/5.696, allocations: 246.9 MB / 3.367 GB, free: 155.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.142e-06/5.696, allocations: 0 / 3.367 GB, free: 155.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.771e-05/5.696, allocations: 15.98 kB / 3.367 GB, free: 155.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001017/5.697, allocations: 0.6393 MB / 3.368 GB, free: 155.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/5.697, allocations: 15.97 kB / 3.368 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/5.697, allocations: 58.55 kB / 3.368 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/5.699, allocations: 159.3 kB / 3.368 GB, free: 154.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/5.699, allocations: 326.7 kB / 3.368 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/5.699, allocations: 16.56 kB / 3.368 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/5.699, allocations: 24 kB / 3.368 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/5.699, allocations: 257.9 kB / 3.369 GB, free: 154.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/5.699, allocations: 4 kB / 3.369 GB, free: 154.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/5.699, allocations: 8 kB / 3.369 GB, free: 154.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/5.7, allocations: 15.95 kB / 3.369 GB, free: 154.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/5.7, allocations: 165 kB / 3.369 GB, free: 154 MB / 1.167 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.00113/5.701, allocations: 1.223 MB / 3.37 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/5.701, allocations: 122.5 kB / 3.37 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/5.701, allocations: 72.84 kB / 3.37 GB, free: 152.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/5.702, allocations: 295.3 kB / 3.37 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/5.702, allocations: 38.56 kB / 3.37 GB, free: 152.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/5.702, allocations: 0 / 3.37 GB, free: 152.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=17): time 0.0004205/5.702, allocations: 185.5 kB / 3.371 GB, free: 151.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/5.702, allocations: 51.41 kB / 3.371 GB, free: 151.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/5.702, allocations: 286.6 kB / 3.371 GB, free: 151.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/5.702, allocations: 33.7 kB / 3.371 GB, free: 151.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/5.702, allocations: 188.1 kB / 3.371 GB, free: 151.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/5.702, allocations: 63.09 kB / 3.371 GB, free: 151.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/5.702, allocations: 4 kB / 3.371 GB, free: 151.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/5.703, allocations: 342.8 kB / 3.372 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/5.703, allocations: 47.98 kB / 3.372 GB, free: 150.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/5.703, allocations: 118.8 kB / 3.372 GB, free: 150.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/5.703, allocations: 66.28 kB / 3.372 GB, free: 150.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/5.703, allocations: 4 kB / 3.372 GB, free: 150.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002645/5.703, allocations: 217.1 kB / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/5.703, allocations: 5.406 kB / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/5.703, allocations: 4.094 kB / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/5.703, allocations: 4 kB / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/5.703, allocations: 47.91 kB / 3.372 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/5.703, allocations: 4 kB / 3.372 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/5.704, allocations: 35.77 kB / 3.372 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/5.704, allocations: 11.98 kB / 3.372 GB, free: 150.3 MB / 1.167 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 (24): * Single equations (assignments): 24 * 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.594e-05/5.704, allocations: 128.8 kB / 3.372 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/5.704, allocations: 31.62 kB / 3.372 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/5.704, allocations: 184.5 kB / 3.372 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/5.704, allocations: 4 kB / 3.372 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/5.704, allocations: 0 / 3.372 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/5.704, allocations: 64 / 3.372 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/5.705, allocations: 0.6678 MB / 3.373 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/5.705, allocations: 4 kB / 3.373 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/5.705, allocations: 40.12 kB / 3.373 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/5.705, allocations: 8 kB / 3.373 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/5.705, allocations: 8 kB / 3.373 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/5.705, allocations: 7.953 kB / 3.373 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/5.705, allocations: 0 / 3.373 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/5.705, allocations: 474.5 kB / 3.374 GB, free: 148.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/5.706, allocations: 124.7 kB / 3.374 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/5.706, allocations: 3.953 kB / 3.374 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/5.706, allocations: 19.98 kB / 3.374 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/5.706, allocations: 15.97 kB / 3.374 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/5.706, allocations: 16.16 kB / 3.374 GB, free: 148.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001617/5.706, allocations: 230.1 kB / 3.374 GB, free: 148.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/5.706, allocations: 0 / 3.374 GB, free: 148.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006134/5.707, allocations: 167.9 kB / 3.374 GB, free: 148 MB / 1.167 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 (17): * Single equations (assignments): 17 * 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.001719/5.708, allocations: 2.428 MB / 3.377 GB, free: 145.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002437/5.709, allocations: 135.8 kB / 3.377 GB, free: 145.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/5.709, allocations: 4 kB / 3.377 GB, free: 145.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 9.992e-05/5.709, allocations: 72.36 kB / 3.377 GB, free: 145.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/5.709, allocations: 173.2 kB / 3.377 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/5.71, allocations: 0.5217 MB / 3.377 GB, free: 144.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/5.711, allocations: 0.7875 MB / 3.378 GB, free: 143.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001907/5.711, allocations: 66.92 kB / 3.378 GB, free: 143.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/5.711, allocations: 95.41 kB / 3.378 GB, free: 143.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.6e-07/5.711, allocations: 0 / 3.378 GB, free: 143.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/5.763, allocations: 27.34 MB / 3.405 GB, free: 116.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/5.764, allocations: 183.5 kB / 3.405 GB, free: 116.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/8.588, allocations: 0 / 3.405 GB, free: 116.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat does not exist to compare? outputFormat=mat