Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3018/0.3018, allocations: 55.01 MB / 69.96 MB, free: 8.66 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001152/0.001152, allocations: 188 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.552/1.552, allocations: 194.4 MB / 292.3 MB, free: 3.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00178/0.00178, allocations: 111.7 kB / 350.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 12 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 57.64 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.141, allocations: 2.12 GB / 2.585 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/6.142, allocations: 91.02 kB / 2.585 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.256/7.398, allocations: 239.1 MB / 2.819 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/7.398, allocations: 0 / 2.819 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.748e-05/7.398, allocations: 16.67 kB / 2.819 GB, free: 115.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002124/7.4, allocations: 0.7742 MB / 2.82 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/7.4, allocations: 6.531 kB / 2.82 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/7.402, allocations: 148.6 kB / 2.82 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/7.403, allocations: 369.3 kB / 2.82 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/7.403, allocations: 29.16 kB / 2.82 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/7.403, allocations: 33.81 kB / 2.82 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/7.404, allocations: 422.2 kB / 2.821 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/7.404, allocations: 0 / 2.821 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/7.404, allocations: 20.66 kB / 2.821 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/7.404, allocations: 10.28 kB / 2.821 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/7.405, allocations: 322.4 kB / 2.821 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/7.409, allocations: 1.489 MB / 2.822 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/7.409, allocations: 134.2 kB / 2.823 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004121/7.409, allocations: 118.7 kB / 2.823 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/7.409, allocations: 33.56 kB / 2.823 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.395e-06/7.41, allocations: 0 / 2.823 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001042/7.411, allocations: 291.5 kB / 2.823 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/7.411, allocations: 55.38 kB / 2.823 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/7.411, allocations: 393.2 kB / 2.823 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/7.411, allocations: 32.17 kB / 2.823 GB, free: 114 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/7.412, allocations: 233.9 kB / 2.824 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/7.412, allocations: 62.19 kB / 2.824 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/7.412, allocations: 6.438 kB / 2.824 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001449/7.412, allocations: 349.6 kB / 2.824 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/7.412, allocations: 91.11 kB / 2.824 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/7.413, allocations: 156.8 kB / 2.824 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/7.413, allocations: 108.7 kB / 2.824 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/7.413, allocations: 3.875 kB / 2.824 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008461/7.414, allocations: 333.9 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/7.414, allocations: 6.719 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/7.414, allocations: 3.281 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/7.414, allocations: 3.188 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/7.414, allocations: 64.2 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/7.414, allocations: 7.391 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/7.415, allocations: 56.09 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/7.415, allocations: 15.28 kB / 2.825 GB, free: 113.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0002697/7.415, allocations: 167.2 kB / 2.825 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/7.415, allocations: 52.17 kB / 2.825 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/7.416, allocations: 241.3 kB / 2.825 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/7.416, allocations: 3.75 kB / 2.825 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/7.416, allocations: 6.188 kB / 2.825 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/7.416, allocations: 3.656 kB / 2.825 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/7.418, allocations: 0.7325 MB / 2.826 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/7.418, allocations: 0 / 2.826 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/7.418, allocations: 38.02 kB / 2.826 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/7.418, allocations: 3.812 kB / 2.826 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/7.418, allocations: 3.938 kB / 2.826 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/7.418, allocations: 7.906 kB / 2.826 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/7.418, allocations: 1.312 kB / 2.826 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009719/7.419, allocations: 0.5137 MB / 2.827 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/7.419, allocations: 154.8 kB / 2.827 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/7.42, allocations: 3.906 kB / 2.827 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/7.42, allocations: 26.22 kB / 2.827 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/7.42, allocations: 17.05 kB / 2.827 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/7.42, allocations: 15 kB / 2.827 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004888/7.421, allocations: 316.8 kB / 2.827 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-07/7.421, allocations: 0 / 2.827 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001351/7.422, allocations: 213.3 kB / 2.827 GB, free: 112.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002201/7.424, allocations: 1.043 MB / 2.828 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000755/7.425, allocations: 213.8 kB / 2.829 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/7.425, allocations: 0 / 2.829 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/7.425, allocations: 96.88 kB / 2.829 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/7.427, allocations: 223 kB / 2.829 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/7.429, allocations: 0.8966 MB / 2.83 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/7.429, allocations: 0.8259 MB / 2.831 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005768/7.43, allocations: 85.41 kB / 2.831 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/7.43, allocations: 34.56 kB / 2.831 GB, free: 111 MB / 0.4948 GB Notification: Performance of SimCode: time 1.302e-06/7.43, allocations: 0 / 2.831 GB, free: 111 MB / 0.4948 GB Notification: Performance of Templates: time 0.04717/7.477, allocations: 20.35 MB / 2.851 GB, free: 110.2 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe 2>&1)