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.08/2.08, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009407/0.0009406, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.35/1.35, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0008346/0.0008346, allocations: 95.94 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.619e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.525/4.744, allocations: 1.906 GB / 3.119 GB, free: 350.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/4.744, allocations: 86.52 kB / 3.119 GB, free: 350.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4547/5.199, allocations: 246.9 MB / 3.36 GB, free: 130.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.292e-06/5.199, allocations: 3.938 kB / 3.36 GB, free: 130.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.97e-05/5.199, allocations: 16 kB / 3.36 GB, free: 130.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.001176/5.2, allocations: 0.6483 MB / 3.361 GB, free: 129.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/5.2, allocations: 8.031 kB / 3.361 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.812e-05/5.2, allocations: 54.55 kB / 3.361 GB, free: 129.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/5.202, allocations: 151.4 kB / 3.361 GB, free: 129.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/5.202, allocations: 330.7 kB / 3.361 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/5.202, allocations: 20.56 kB / 3.361 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/5.202, allocations: 24 kB / 3.361 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/5.203, allocations: 254 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/5.203, allocations: 7.938 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/5.203, allocations: 4 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/5.203, allocations: 8 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/5.203, allocations: 176.9 kB / 3.362 GB, free: 128.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.001276/5.204, allocations: 1.223 MB / 3.363 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/5.204, allocations: 114.5 kB / 3.363 GB, free: 127.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/5.205, allocations: 80.83 kB / 3.363 GB, free: 127.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004306/5.205, allocations: 299.3 kB / 3.363 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/5.205, allocations: 30.56 kB / 3.363 GB, free: 126.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/5.205, allocations: 0 / 3.363 GB, free: 126.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=17): time 0.0004601/5.205, allocations: 183 kB / 3.364 GB, free: 126.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/5.205, allocations: 51.41 kB / 3.364 GB, free: 126.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/5.206, allocations: 298.6 kB / 3.364 GB, free: 126.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/5.206, allocations: 25.7 kB / 3.364 GB, free: 126.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/5.206, allocations: 176.2 kB / 3.364 GB, free: 126.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/5.206, allocations: 67.08 kB / 3.364 GB, free: 126.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/5.206, allocations: 7.938 kB / 3.364 GB, free: 126.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/5.206, allocations: 342.8 kB / 3.364 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/5.206, allocations: 56.33 kB / 3.364 GB, free: 125.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/5.206, allocations: 119.9 kB / 3.365 GB, free: 125.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/5.206, allocations: 69.78 kB / 3.365 GB, free: 125.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/5.206, allocations: 0 / 3.365 GB, free: 125.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002842/5.207, allocations: 213.1 kB / 3.365 GB, free: 125.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/5.207, allocations: 8.094 kB / 3.365 GB, free: 125.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/5.207, allocations: 4 kB / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/5.207, allocations: 0 / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/5.207, allocations: 51.91 kB / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/5.207, allocations: 0 / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/5.207, allocations: 39.8 kB / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/5.207, allocations: 23.98 kB / 3.365 GB, free: 125.1 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.464e-05/5.207, allocations: 120.8 kB / 3.365 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/5.207, allocations: 23.72 kB / 3.365 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/5.208, allocations: 197.4 kB / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/5.208, allocations: 0 / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/5.208, allocations: 0 / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/5.208, allocations: 4 kB / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/5.208, allocations: 0.6599 MB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/5.208, allocations: 0 / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/5.209, allocations: 44.14 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/5.209, allocations: 0 / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/5.209, allocations: 11.98 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/5.209, allocations: 4 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/5.209, allocations: 3.953 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/5.209, allocations: 474.4 kB / 3.366 GB, free: 123.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/5.209, allocations: 124.7 kB / 3.367 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/5.209, allocations: 11.95 kB / 3.367 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/5.209, allocations: 15.98 kB / 3.367 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/5.209, allocations: 19.98 kB / 3.367 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/5.21, allocations: 11.98 kB / 3.367 GB, free: 123.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001674/5.21, allocations: 222.2 kB / 3.367 GB, free: 123 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.21, allocations: 96 / 3.367 GB, free: 123 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006461/5.21, allocations: 179.8 kB / 3.367 GB, free: 122.8 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.001884/5.212, allocations: 2.425 MB / 3.369 GB, free: 120.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002464/5.212, allocations: 143.8 kB / 3.37 GB, free: 120.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/5.213, allocations: 0 / 3.37 GB, free: 120.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/5.213, allocations: 76.47 kB / 3.37 GB, free: 120.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/5.213, allocations: 157.4 kB / 3.37 GB, free: 120 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/5.214, allocations: 0.5338 MB / 3.37 GB, free: 119.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/5.215, allocations: 0.7914 MB / 3.371 GB, free: 118.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002324/5.215, allocations: 66.91 kB / 3.371 GB, free: 118.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/5.215, allocations: 87.41 kB / 3.371 GB, free: 118.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.12e-07/5.215, allocations: 0 / 3.371 GB, free: 118.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/5.257, allocations: 27.33 MB / 3.398 GB, free: 91.25 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/5.257, allocations: 182.4 kB / 3.398 GB, free: 91.02 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/8.011, allocations: 0 / 3.398 GB, free: 91.02 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