Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity",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.294/2.294, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001039/0.001039, allocations: 172.8 kB / 487.4 MB, free: 5.062 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.45/1.45, allocations: 221.5 MB / 0.7824 GB, free: 1.039 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.0009398/0.0009399, allocations: 95.84 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.843e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.7/4.934, allocations: 1.906 GB / 3.112 GB, free: 436.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/4.934, allocations: 85.45 kB / 3.112 GB, free: 436.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4282/5.362, allocations: 243.8 MB / 3.35 GB, free: 198.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.282e-06/5.362, allocations: 0 / 3.35 GB, free: 198.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.449e-05/5.363, allocations: 16 kB / 3.35 GB, free: 198.4 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.0008846/5.363, allocations: 0.6399 MB / 3.351 GB, free: 197.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/5.363, allocations: 8.031 kB / 3.351 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/5.364, allocations: 159.3 kB / 3.351 GB, free: 197.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/5.365, allocations: 322.8 kB / 3.351 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/5.365, allocations: 8 kB / 3.351 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/5.365, allocations: 12 kB / 3.351 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002471/5.365, allocations: 145.1 kB / 3.351 GB, free: 197 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/5.365, allocations: 228.8 kB / 3.351 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/5.366, allocations: 0 / 3.351 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/5.366, allocations: 4 kB / 3.351 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/5.366, allocations: 8 kB / 3.351 GB, free: 196.8 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.0009773/5.367, allocations: 1.156 MB / 3.353 GB, free: 195.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/5.367, allocations: 118.5 kB / 3.353 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/5.367, allocations: 68.83 kB / 3.353 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/5.367, allocations: 295.3 kB / 3.353 GB, free: 195 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/5.367, allocations: 42.88 kB / 3.353 GB, free: 194.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/5.367, allocations: 0 / 3.353 GB, free: 194.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=17): time 0.0005321/5.368, allocations: 201.2 kB / 3.353 GB, free: 194.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/5.368, allocations: 55.41 kB / 3.353 GB, free: 194.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/5.368, allocations: 214.2 kB / 3.354 GB, free: 194.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/5.368, allocations: 25.7 kB / 3.354 GB, free: 194.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/5.368, allocations: 188.1 kB / 3.354 GB, free: 194.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/5.368, allocations: 63.09 kB / 3.354 GB, free: 194.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/5.368, allocations: 0 / 3.354 GB, free: 194.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/5.368, allocations: 334.8 kB / 3.354 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/5.368, allocations: 40.41 kB / 3.354 GB, free: 193.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/5.368, allocations: 115.2 kB / 3.354 GB, free: 193.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/5.369, allocations: 98.45 kB / 3.354 GB, free: 193.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/5.369, allocations: 3.938 kB / 3.354 GB, free: 193.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003363/5.369, allocations: 221.3 kB / 3.355 GB, free: 193.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/5.369, allocations: 4 kB / 3.355 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/5.369, allocations: 4 kB / 3.355 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/5.369, allocations: 8.078 kB / 3.355 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/5.369, allocations: 51.92 kB / 3.355 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/5.369, allocations: 4 kB / 3.355 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/5.369, allocations: 27.81 kB / 3.355 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/5.369, allocations: 8 kB / 3.355 GB, free: 193.2 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.072e-05/5.369, allocations: 116.9 kB / 3.355 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003021/5.37, allocations: 186.8 kB / 3.355 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/5.37, allocations: 23.72 kB / 3.355 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/5.37, allocations: 209.4 kB / 3.355 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/5.37, allocations: 4 kB / 3.355 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/5.37, allocations: 0 / 3.355 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/5.37, allocations: 0 / 3.355 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/5.371, allocations: 0.637 MB / 3.356 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/5.371, allocations: 4 kB / 3.356 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/5.371, allocations: 39.91 kB / 3.356 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/5.371, allocations: 8.219 kB / 3.356 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/5.371, allocations: 4.094 kB / 3.356 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/5.371, allocations: 3.938 kB / 3.356 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/5.371, allocations: 7.953 kB / 3.356 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/5.372, allocations: 485 kB / 3.356 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/5.372, allocations: 108.8 kB / 3.356 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/5.372, allocations: 4 kB / 3.356 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/5.372, allocations: 23.84 kB / 3.356 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/5.372, allocations: 16.08 kB / 3.356 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/5.372, allocations: 16.05 kB / 3.356 GB, free: 191.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.565e-05/5.372, allocations: 166 kB / 3.357 GB, free: 191 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.372, allocations: 0 / 3.357 GB, free: 191 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005019/5.373, allocations: 151.8 kB / 3.357 GB, free: 190.9 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.001674/5.374, allocations: 2.562 MB / 3.359 GB, free: 188.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002038/5.375, allocations: 135.8 kB / 3.359 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/5.375, allocations: 0 / 3.359 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/5.375, allocations: 63.92 kB / 3.359 GB, free: 188 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/5.375, allocations: 116.6 kB / 3.36 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/5.376, allocations: 0.5022 MB / 3.36 GB, free: 187.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/5.376, allocations: 0.7873 MB / 3.361 GB, free: 186.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001655/5.376, allocations: 53.95 kB / 3.361 GB, free: 186.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/5.376, allocations: 91.41 kB / 3.361 GB, free: 186.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.376, allocations: 0 / 3.361 GB, free: 186.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/5.408, allocations: 14.41 MB / 3.375 GB, free: 172.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/5.408, allocations: 158.4 kB / 3.375 GB, free: 171.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/7.751, allocations: 0 / 3.375 GB, free: 171.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat does not exist to compare? outputFormat=mat