Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3034/0.3034, allocations: 55.02 MB / 69.96 MB, free: 8.672 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.001189/0.001188, allocations: 186.7 kB / 83.98 MB, free: 10.86 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.691/1.691, allocations: 194.4 MB / 292.3 MB, free: 3.602 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.001798/0.001799, allocations: 123.1 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004357, allocations: 16 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.913/6.045, allocations: 2.12 GB / 2.585 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/6.045, allocations: 87.95 kB / 2.585 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8039/6.849, allocations: 239 MB / 2.819 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.126e-06/6.849, allocations: 0 / 2.819 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.13e-05/6.85, allocations: 12 kB / 2.819 GB, free: 22.35 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001845/6.851, allocations: 0.7677 MB / 2.819 GB, free: 21.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/6.852, allocations: 8.031 kB / 2.819 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/6.853, allocations: 151.4 kB / 2.82 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/6.853, allocations: 357.7 kB / 2.82 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/6.853, allocations: 21 kB / 2.82 GB, free: 20.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/6.853, allocations: 36 kB / 2.82 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/6.854, allocations: 418.9 kB / 2.82 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/6.854, allocations: 0 / 2.82 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/6.854, allocations: 16 kB / 2.82 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/6.854, allocations: 11.95 kB / 2.82 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/6.855, allocations: 307.8 kB / 2.821 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/6.857, allocations: 1.485 MB / 2.822 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/6.857, allocations: 114.5 kB / 2.822 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/6.857, allocations: 117.1 kB / 2.822 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/6.857, allocations: 42.52 kB / 2.822 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/6.857, allocations: 0 / 2.822 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.000616/6.858, allocations: 269.4 kB / 2.823 GB, free: 18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/6.858, allocations: 51.41 kB / 2.823 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/6.858, allocations: 390.4 kB / 2.823 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/6.859, allocations: 29.7 kB / 2.823 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/6.859, allocations: 239.4 kB / 2.823 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/6.859, allocations: 55.28 kB / 2.823 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/6.859, allocations: 8 kB / 2.823 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/6.859, allocations: 346.8 kB / 2.824 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/6.859, allocations: 79.95 kB / 2.824 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/6.859, allocations: 173.3 kB / 2.824 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/6.86, allocations: 103.9 kB / 2.824 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/6.86, allocations: 4 kB / 2.824 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004923/6.86, allocations: 324.5 kB / 2.824 GB, free: 16.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/6.86, allocations: 8 kB / 2.824 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/6.86, allocations: 4 kB / 2.824 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/6.86, allocations: 11.89 kB / 2.824 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/6.86, allocations: 59.91 kB / 2.824 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/6.86, allocations: 7.984 kB / 2.824 GB, free: 16.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/6.861, allocations: 59.7 kB / 2.825 GB, free: 16.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/6.861, allocations: 8 kB / 2.825 GB, free: 16.01 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 (31): * Single equations (assignments): 31 * 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.0002083/6.861, allocations: 169.8 kB / 2.825 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/6.861, allocations: 43.53 kB / 2.825 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/6.862, allocations: 220.9 kB / 2.825 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/6.862, allocations: 7.953 kB / 2.825 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/6.862, allocations: 0 / 2.825 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/6.862, allocations: 0 / 2.825 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/6.863, allocations: 0.7141 MB / 2.826 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/6.863, allocations: 0 / 2.826 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/6.863, allocations: 35.91 kB / 2.826 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/6.863, allocations: 4 kB / 2.826 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/6.863, allocations: 4 kB / 2.826 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/6.863, allocations: 0 / 2.826 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/6.863, allocations: 4 kB / 2.826 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/6.863, allocations: 0.5024 MB / 2.826 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/6.864, allocations: 148.7 kB / 2.826 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/6.864, allocations: 8 kB / 2.826 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/6.864, allocations: 23.98 kB / 2.826 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/6.864, allocations: 11.92 kB / 2.826 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/6.864, allocations: 19.98 kB / 2.826 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003061/6.864, allocations: 307.1 kB / 2.827 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.864, allocations: 0 / 2.827 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000907/6.865, allocations: 219.7 kB / 2.827 GB, free: 13.41 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 (14): * Single equations (assignments): 14 * 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.001811/6.867, allocations: 1.034 MB / 2.828 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005361/6.868, allocations: 199.7 kB / 2.828 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/6.868, allocations: 0 / 2.828 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/6.868, allocations: 88.77 kB / 2.828 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/6.869, allocations: 240.8 kB / 2.828 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/6.87, allocations: 0.8442 MB / 2.829 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/6.871, allocations: 0.8233 MB / 2.83 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003633/6.871, allocations: 87.52 kB / 2.83 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/6.871, allocations: 31.44 kB / 2.83 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/6.871, allocations: 0 / 2.83 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.3284/7.2, allocations: 20.28 MB / 2.85 GB, free: 109.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)