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/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/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: translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.794/0.794, allocations: 130.6 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 396.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 95.05 kB / 479 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.505e-05, allocations: 3.875 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 81.59 MB / 0.6348 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.846/5.011, allocations: 1.869 GB / 2.504 GB, free: 53.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/5.011, allocations: 91.22 kB / 2.504 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9854/5.996, allocations: 246.8 MB / 2.745 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.362e-06/5.997, allocations: 0 / 2.745 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.274e-05/5.997, allocations: 15.98 kB / 2.745 GB, free: 88.48 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.001281/5.998, allocations: 0.6366 MB / 2.746 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/5.998, allocations: 8.031 kB / 2.746 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/5.999, allocations: 156.8 kB / 2.746 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/6, allocations: 331.2 kB / 2.746 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/6, allocations: 16.52 kB / 2.746 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/6, allocations: 24 kB / 2.746 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/6, allocations: 257.9 kB / 2.746 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/6, allocations: 8 kB / 2.746 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/6, allocations: 8 kB / 2.746 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/6, allocations: 8 kB / 2.746 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/6, allocations: 165 kB / 2.747 GB, free: 86.77 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.001301/6.002, allocations: 1.227 MB / 2.748 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/6.002, allocations: 118.4 kB / 2.748 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/6.002, allocations: 76.83 kB / 2.748 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004809/6.003, allocations: 295.3 kB / 2.748 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/6.003, allocations: 42.52 kB / 2.748 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/6.003, allocations: 0 / 2.748 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0004783/6.003, allocations: 187 kB / 2.748 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/6.003, allocations: 51.41 kB / 2.748 GB, free: 84.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/6.003, allocations: 278.7 kB / 2.749 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/6.003, allocations: 37.7 kB / 2.749 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/6.004, allocations: 188 kB / 2.749 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/6.004, allocations: 63.09 kB / 2.749 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/6.004, allocations: 4 kB / 2.749 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/6.004, allocations: 338.8 kB / 2.749 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/6.004, allocations: 48.8 kB / 2.749 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/6.004, allocations: 118.7 kB / 2.75 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/6.004, allocations: 73.62 kB / 2.75 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/6.004, allocations: 0 / 2.75 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000285/6.004, allocations: 217 kB / 2.75 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/6.004, allocations: 8.094 kB / 2.75 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/6.004, allocations: 0 / 2.75 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/6.004, allocations: 7.953 kB / 2.75 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/6.005, allocations: 47.91 kB / 2.75 GB, free: 83.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/6.005, allocations: 4 kB / 2.75 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/6.005, allocations: 35.73 kB / 2.75 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/6.005, allocations: 12 kB / 2.75 GB, free: 83.1 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 8.964e-05/6.005, allocations: 120.7 kB / 2.75 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/6.005, allocations: 31.62 kB / 2.75 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/6.005, allocations: 205.4 kB / 2.75 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/6.005, allocations: 3.953 kB / 2.75 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/6.005, allocations: 0 / 2.75 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/6.005, allocations: 0 / 2.75 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/6.006, allocations: 0.6563 MB / 2.751 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/6.006, allocations: 3.938 kB / 2.751 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/6.006, allocations: 36.2 kB / 2.751 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/6.006, allocations: 4 kB / 2.751 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/6.006, allocations: 8 kB / 2.751 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/6.006, allocations: 7.984 kB / 2.751 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/6.006, allocations: 3.938 kB / 2.751 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/6.007, allocations: 474.2 kB / 2.751 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/6.007, allocations: 128.7 kB / 2.752 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/6.007, allocations: 7.938 kB / 2.752 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/6.007, allocations: 15.98 kB / 2.752 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/6.007, allocations: 20 kB / 2.752 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/6.007, allocations: 15.94 kB / 2.752 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001867/6.008, allocations: 226.2 kB / 2.752 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/6.008, allocations: 0 / 2.752 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007723/6.008, allocations: 179.8 kB / 2.752 GB, free: 80.79 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.001844/6.01, allocations: 1.025 MB / 2.753 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003197/6.011, allocations: 143.8 kB / 2.753 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/6.011, allocations: 4.188 kB / 2.753 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/6.011, allocations: 79.8 kB / 2.753 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009171/6.012, allocations: 154 kB / 2.753 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/6.013, allocations: 449.2 kB / 2.754 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/6.013, allocations: 0.7836 MB / 2.755 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002363/6.013, allocations: 70.92 kB / 2.755 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/6.013, allocations: 23.44 kB / 2.755 GB, free: 78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/6.013, allocations: 0 / 2.755 GB, free: 78 MB / 0.6823 GB Notification: Performance of Templates: time 0.02669/6.04, allocations: 20.74 MB / 2.775 GB, free: 57.31 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)