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.154/2.154, allocations: 390.5 MB / 398 MB, free: 11 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.001116/0.001116, allocations: 171.6 kB / 491.2 MB, free: 1.641 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.49/1.49, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009994/0.0009994, allocations: 101.8 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.059e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.672/4.908, allocations: 1.906 GB / 3.119 GB, free: 423.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/4.909, allocations: 84.73 kB / 3.119 GB, free: 423.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4497/5.358, allocations: 243.8 MB / 3.357 GB, free: 174.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/5.358, allocations: 4 kB / 3.357 GB, free: 174.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.585e-05/5.359, allocations: 8 kB / 3.357 GB, free: 174.6 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001108/5.36, allocations: 0.643 MB / 3.358 GB, free: 173.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/5.36, allocations: 12.03 kB / 3.358 GB, free: 173.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/5.361, allocations: 155.4 kB / 3.358 GB, free: 173.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/5.361, allocations: 330.7 kB / 3.358 GB, free: 173.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/5.361, allocations: 8 kB / 3.358 GB, free: 173.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/5.361, allocations: 12 kB / 3.358 GB, free: 173.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002602/5.362, allocations: 149.1 kB / 3.358 GB, free: 173.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/5.362, allocations: 228.8 kB / 3.359 GB, free: 173 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/5.362, allocations: 4 kB / 3.359 GB, free: 173 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/5.362, allocations: 0 / 3.359 GB, free: 173 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/5.362, allocations: 11.94 kB / 3.359 GB, free: 173 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.001175/5.363, allocations: 1.152 MB / 3.36 GB, free: 171.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/5.363, allocations: 110.6 kB / 3.36 GB, free: 171.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/5.364, allocations: 70.55 kB / 3.36 GB, free: 171.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/5.364, allocations: 299.3 kB / 3.36 GB, free: 171.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/5.364, allocations: 30.56 kB / 3.36 GB, free: 171.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/5.364, allocations: 0 / 3.36 GB, free: 171.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=17): time 0.0005945/5.365, allocations: 205.5 kB / 3.36 GB, free: 171 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/5.365, allocations: 55.41 kB / 3.36 GB, free: 170.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/5.365, allocations: 218.2 kB / 3.361 GB, free: 170.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/5.365, allocations: 29.7 kB / 3.361 GB, free: 170.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/5.365, allocations: 180.1 kB / 3.361 GB, free: 170.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/5.365, allocations: 59.11 kB / 3.361 GB, free: 170.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/5.365, allocations: 0 / 3.361 GB, free: 170.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.92e-05/5.365, allocations: 334.8 kB / 3.361 GB, free: 170.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/5.365, allocations: 47.98 kB / 3.361 GB, free: 170 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/5.365, allocations: 112.2 kB / 3.361 GB, free: 169.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/5.365, allocations: 105.9 kB / 3.361 GB, free: 169.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/5.365, allocations: 4 kB / 3.361 GB, free: 169.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003537/5.366, allocations: 213.2 kB / 3.362 GB, free: 169.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/5.366, allocations: 8 kB / 3.362 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/5.366, allocations: 8.156 kB / 3.362 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/5.366, allocations: 4 kB / 3.362 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/5.366, allocations: 47.91 kB / 3.362 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/5.366, allocations: 4 kB / 3.362 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/5.366, allocations: 23.83 kB / 3.362 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/5.366, allocations: 19.92 kB / 3.362 GB, free: 169.4 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 (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.356e-05/5.366, allocations: 120.8 kB / 3.362 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003058/5.367, allocations: 182.6 kB / 3.362 GB, free: 169.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/5.367, allocations: 23.72 kB / 3.362 GB, free: 169.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/5.367, allocations: 200.8 kB / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/5.367, allocations: 7.984 kB / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/5.367, allocations: 0 / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/5.367, allocations: 0 / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/5.368, allocations: 0.6331 MB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/5.368, allocations: 4 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/5.368, allocations: 48.12 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/5.368, allocations: 4 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/5.368, allocations: 0 / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/5.368, allocations: 7.953 kB / 3.363 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/5.368, allocations: 4 kB / 3.363 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/5.369, allocations: 477 kB / 3.363 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/5.369, allocations: 116.8 kB / 3.364 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/5.369, allocations: 7.953 kB / 3.364 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/5.369, allocations: 15.98 kB / 3.364 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/5.369, allocations: 12.05 kB / 3.364 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/5.369, allocations: 16 kB / 3.364 GB, free: 167.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001092/5.369, allocations: 166 kB / 3.364 GB, free: 167.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.369, allocations: 3.938 kB / 3.364 GB, free: 167.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005754/5.37, allocations: 151.8 kB / 3.364 GB, free: 167.1 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 (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.002089/5.372, allocations: 2.576 MB / 3.366 GB, free: 164.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002298/5.372, allocations: 131.8 kB / 3.367 GB, free: 164.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/5.372, allocations: 0 / 3.367 GB, free: 164.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/5.372, allocations: 67.92 kB / 3.367 GB, free: 164.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/5.373, allocations: 106.4 kB / 3.367 GB, free: 164.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/5.374, allocations: 0.5021 MB / 3.367 GB, free: 163.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/5.374, allocations: 0.7873 MB / 3.368 GB, free: 162.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002267/5.374, allocations: 54.02 kB / 3.368 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/5.374, allocations: 91.41 kB / 3.368 GB, free: 162.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/5.374, allocations: 4 kB / 3.368 GB, free: 162.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/5.407, allocations: 14.4 MB / 3.382 GB, free: 148.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/5.407, allocations: 165 kB / 3.382 GB, free: 148.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/7.676, allocations: 0 / 3.382 GB, free: 148.1 MB / 1.151 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