Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001028, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7414/0.7414, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009009/0.000901, allocations: 110.4 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.394e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5118, allocations: 82.31 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.094/5.606, allocations: 1.869 GB / 2.503 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/5.606, allocations: 83.02 kB / 2.503 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9858/6.592, allocations: 243.8 MB / 2.741 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/6.592, allocations: 0 / 2.741 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.235e-05/6.592, allocations: 11.44 kB / 2.741 GB, free: 166.9 MB / 0.6823 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.001106/6.593, allocations: 0.6487 MB / 2.741 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/6.593, allocations: 8.031 kB / 2.741 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/6.594, allocations: 147.5 kB / 2.742 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/6.595, allocations: 326.8 kB / 2.742 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/6.595, allocations: 8 kB / 2.742 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/6.595, allocations: 17.38 kB / 2.742 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002442/6.595, allocations: 145.1 kB / 2.742 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/6.595, allocations: 232.8 kB / 2.742 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/6.595, allocations: 0 / 2.742 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/6.595, allocations: 7.953 kB / 2.742 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/6.596, allocations: 4 kB / 2.742 GB, free: 165.3 MB / 0.6823 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.001093/6.597, allocations: 1.153 MB / 2.743 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/6.597, allocations: 114.5 kB / 2.743 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/6.597, allocations: 72.78 kB / 2.744 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/6.597, allocations: 299.3 kB / 2.744 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/6.597, allocations: 30.56 kB / 2.744 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/6.597, allocations: 0 / 2.744 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0005665/6.598, allocations: 213.5 kB / 2.744 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/6.598, allocations: 51.41 kB / 2.744 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/6.598, allocations: 206.4 kB / 2.744 GB, free: 163 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/6.598, allocations: 25.7 kB / 2.744 GB, free: 163 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/6.598, allocations: 188.1 kB / 2.745 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/6.598, allocations: 63.05 kB / 2.745 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/6.598, allocations: 0 / 2.745 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/6.598, allocations: 338.8 kB / 2.745 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/6.598, allocations: 52.59 kB / 2.745 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/6.598, allocations: 109.8 kB / 2.745 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/6.599, allocations: 102.1 kB / 2.745 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/6.599, allocations: 0 / 2.745 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003466/6.599, allocations: 221.2 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/6.599, allocations: 4 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/6.599, allocations: 4.062 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/6.599, allocations: 4 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/6.599, allocations: 47.92 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/6.599, allocations: 7.969 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/6.6, allocations: 31.92 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/6.6, allocations: 12 kB / 2.745 GB, free: 161.8 MB / 0.6823 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.866e-05/6.6, allocations: 108.9 kB / 2.746 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003029/6.6, allocations: 186.4 kB / 2.746 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/6.6, allocations: 23.72 kB / 2.746 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/6.6, allocations: 208 kB / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/6.6, allocations: 0 / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/6.6, allocations: 0 / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/6.6, allocations: 0 / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007477/6.601, allocations: 0.6403 MB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/6.601, allocations: 0 / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/6.601, allocations: 31.98 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/6.601, allocations: 4 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/6.601, allocations: 7.953 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/6.601, allocations: 4.094 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/6.601, allocations: 11.86 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/6.602, allocations: 479 kB / 2.747 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/6.602, allocations: 124.6 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/6.602, allocations: 7.984 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/6.602, allocations: 16.05 kB / 2.747 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/6.602, allocations: 19.92 kB / 2.747 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/6.602, allocations: 15.94 kB / 2.747 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001021/6.602, allocations: 162 kB / 2.747 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.602, allocations: 4 kB / 2.747 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005375/6.603, allocations: 151.2 kB / 2.748 GB, free: 159.4 MB / 0.6823 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.001973/6.605, allocations: 2.572 MB / 2.75 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002418/6.605, allocations: 129.4 kB / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/6.605, allocations: 0 / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/6.605, allocations: 72.42 kB / 2.75 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/6.606, allocations: 110.4 kB / 2.75 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/6.607, allocations: 0.5055 MB / 2.751 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/6.607, allocations: 0.7988 MB / 2.752 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001847/6.607, allocations: 54.2 kB / 2.752 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/6.608, allocations: 83.41 kB / 2.752 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/6.608, allocations: 3.938 kB / 2.752 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/6.643, allocations: 14.4 MB / 2.766 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/6.643, allocations: 149.4 kB / 2.766 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/8.949, allocations: 0 / 2.766 GB, free: 140.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)