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.001331/0.001331, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7472/0.7472, allocations: 130.7 MB / 138.7 MB, free: 3.551 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.425/1.425, allocations: 221.5 MB / 391.8 MB, free: 14.21 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.0009395/0.0009393, allocations: 91.91 kB / 473.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.249e-05, allocations: 8 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4839, allocations: 81.58 MB / 0.6282 GB, free: 43 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.927/5.411, allocations: 1.868 GB / 2.497 GB, free: 83.61 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/5.411, allocations: 79.95 kB / 2.497 GB, free: 83.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9374/6.349, allocations: 243.8 MB / 2.735 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.844e-06/6.349, allocations: 0 / 2.735 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.153e-05/6.349, allocations: 11.98 kB / 2.735 GB, free: 102.2 MB / 0.6667 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.001327/6.35, allocations: 0.6384 MB / 2.735 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/6.35, allocations: 8.031 kB / 2.735 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/6.351, allocations: 156.8 kB / 2.736 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/6.352, allocations: 319.6 kB / 2.736 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/6.352, allocations: 8 kB / 2.736 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/6.352, allocations: 19.95 kB / 2.736 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000291/6.352, allocations: 149.1 kB / 2.736 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/6.353, allocations: 228.8 kB / 2.736 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/6.353, allocations: 4 kB / 2.736 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/6.353, allocations: 3.938 kB / 2.736 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/6.353, allocations: 8 kB / 2.736 GB, free: 100.6 MB / 0.6667 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.001228/6.354, allocations: 1.149 MB / 2.737 GB, free: 99.36 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/6.354, allocations: 114.5 kB / 2.737 GB, free: 99.24 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/6.354, allocations: 72.84 kB / 2.738 GB, free: 99.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/6.355, allocations: 291.3 kB / 2.738 GB, free: 98.83 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/6.355, allocations: 42.55 kB / 2.738 GB, free: 98.78 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/6.355, allocations: 3.938 kB / 2.738 GB, free: 98.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=17): time 0.0006206/6.355, allocations: 206.9 kB / 2.738 GB, free: 98.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/6.355, allocations: 51.41 kB / 2.738 GB, free: 98.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/6.356, allocations: 214.3 kB / 2.738 GB, free: 98.28 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/6.356, allocations: 29.7 kB / 2.738 GB, free: 98.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/6.356, allocations: 184.1 kB / 2.739 GB, free: 98.06 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/6.356, allocations: 63.11 kB / 2.739 GB, free: 98 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/6.356, allocations: 0 / 2.739 GB, free: 98 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/6.356, allocations: 330.8 kB / 2.739 GB, free: 97.67 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/6.356, allocations: 48.8 kB / 2.739 GB, free: 97.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/6.356, allocations: 110.7 kB / 2.739 GB, free: 97.49 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/6.356, allocations: 99.86 kB / 2.739 GB, free: 97.39 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/6.356, allocations: 0 / 2.739 GB, free: 97.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003664/6.357, allocations: 223.2 kB / 2.739 GB, free: 97.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/6.357, allocations: 4 kB / 2.739 GB, free: 97.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/6.357, allocations: 7.984 kB / 2.739 GB, free: 97.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/6.357, allocations: 4 kB / 2.739 GB, free: 97.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/6.357, allocations: 56 kB / 2.739 GB, free: 97.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/6.357, allocations: 0 / 2.739 GB, free: 97.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/6.357, allocations: 31.78 kB / 2.739 GB, free: 97.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/6.357, allocations: 8 kB / 2.739 GB, free: 97.06 MB / 0.6667 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.109e-05/6.357, allocations: 120.8 kB / 2.74 GB, free: 96.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/6.357, allocations: 31.62 kB / 2.74 GB, free: 96.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/6.358, allocations: 195.6 kB / 2.74 GB, free: 96.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/6.358, allocations: 0 / 2.74 GB, free: 96.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/6.358, allocations: 0 / 2.74 GB, free: 96.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/6.358, allocations: 7.938 kB / 2.74 GB, free: 96.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/6.359, allocations: 0.6255 MB / 2.74 GB, free: 96.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/6.359, allocations: 4 kB / 2.74 GB, free: 96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/6.359, allocations: 44 kB / 2.74 GB, free: 95.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/6.359, allocations: 11.89 kB / 2.74 GB, free: 95.95 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/6.359, allocations: 4.219 kB / 2.74 GB, free: 95.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/6.359, allocations: 4 kB / 2.74 GB, free: 95.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/6.359, allocations: 7.938 kB / 2.74 GB, free: 95.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/6.36, allocations: 482.7 kB / 2.741 GB, free: 95.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/6.36, allocations: 124.7 kB / 2.741 GB, free: 95.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/6.36, allocations: 4.062 kB / 2.741 GB, free: 95.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/6.36, allocations: 15.98 kB / 2.741 GB, free: 95.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/6.36, allocations: 15.92 kB / 2.741 GB, free: 95.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/6.36, allocations: 8 kB / 2.741 GB, free: 95.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001239/6.36, allocations: 170 kB / 2.741 GB, free: 95.04 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/6.36, allocations: 0 / 2.741 GB, free: 95.04 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007187/6.361, allocations: 147.8 kB / 2.741 GB, free: 94.89 MB / 0.6667 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.001815/6.363, allocations: 1.179 MB / 2.743 GB, free: 93.71 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003178/6.363, allocations: 127.9 kB / 2.743 GB, free: 93.58 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/6.363, allocations: 0 / 2.743 GB, free: 93.58 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/6.363, allocations: 67.86 kB / 2.743 GB, free: 93.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/6.364, allocations: 114.7 kB / 2.743 GB, free: 93.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/6.365, allocations: 428.2 kB / 2.743 GB, free: 92.95 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/6.365, allocations: 0.7873 MB / 2.744 GB, free: 92.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002049/6.365, allocations: 61.95 kB / 2.744 GB, free: 92.07 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/6.365, allocations: 19.44 kB / 2.744 GB, free: 92.05 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/6.365, allocations: 4 kB / 2.744 GB, free: 92.05 MB / 0.6667 GB Notification: Performance of Templates: time 0.0144/6.38, allocations: 9.851 MB / 2.754 GB, free: 82.26 MB / 0.6667 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)