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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009392/0.0009393, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3825/0.3825, allocations: 54.99 MB / 325.4 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005414, allocations: 12 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3628, allocations: 60.72 MB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Velocity): time 0.1566/0.5194, allocations: 140.2 MB / 0.5835 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.5221, allocations: 1.54 MB / 0.585 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.5223, allocations: 7.938 kB / 0.585 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.5229, allocations: 171.2 kB / 0.5852 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.5239, allocations: 438.7 kB / 0.5856 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.5251, allocations: 462 kB / 0.586 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.5258, allocations: 0.5997 MB / 0.5866 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.5263, allocations: 267.9 kB / 0.5869 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.5274, allocations: 0.4985 MB / 0.5874 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.5277, allocations: 223.1 kB / 0.5876 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.5277, allocations: 20 kB / 0.5876 GB, free: 6.898 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.5284, allocations: 303.6 kB / 0.5879 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.5286, allocations: 151.6 kB / 0.588 GB, free: 6.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.5287, allocations: 121.5 kB / 0.5882 GB, free: 6.328 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.5293, allocations: 0.5503 MB / 0.5887 GB, free: 5.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.5293, allocations: 4 kB / 0.5887 GB, free: 5.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5293, allocations: 0 / 0.5887 GB, free: 5.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5293, allocations: 0 / 0.5887 GB, free: 5.785 MB / 462.1 MB 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.001195/0.5305, allocations: 0.6932 MB / 0.5894 GB, free: 5.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5306, allocations: 8.031 kB / 0.5894 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.5317, allocations: 161.1 kB / 0.5895 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.5323, allocations: 352.7 kB / 0.5899 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.5323, allocations: 25 kB / 0.5899 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.5324, allocations: 32 kB / 0.5899 GB, free: 4.441 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.5331, allocations: 434.9 kB / 0.5903 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5331, allocations: 0 / 0.5903 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.5332, allocations: 19.95 kB / 0.5904 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.5332, allocations: 8 kB / 0.5904 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006108/0.5338, allocations: 328.7 kB / 0.5907 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.536, allocations: 1.497 MB / 0.5921 GB, free: 2.039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.5363, allocations: 155.1 kB / 0.5923 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.5367, allocations: 125 kB / 0.5924 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.5367, allocations: 43.22 kB / 0.5925 GB, free: 1.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.5367, allocations: 0 / 0.5925 GB, free: 1.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006482/0.5374, allocations: 294 kB / 0.5927 GB, free: 1.395 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5374, allocations: 55.41 kB / 0.5928 GB, free: 1.328 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.5379, allocations: 449.8 kB / 0.5932 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.5379, allocations: 29.7 kB / 0.5932 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.5381, allocations: 235.5 kB / 0.5935 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.5382, allocations: 60.12 kB / 0.5935 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.5382, allocations: 4 kB / 0.5935 GB, free: 0.543 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5384, allocations: 350.8 kB / 0.5939 GB, free: 196 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.5386, allocations: 96.44 kB / 0.594 GB, free: 100 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.5388, allocations: 170.5 kB / 0.5941 GB, free: 15.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.539, allocations: 113.3 kB / 0.5942 GB, free: 15.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5391, allocations: 0 / 0.5942 GB, free: 15.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005759/0.5396, allocations: 344.2 kB / 0.5946 GB, free: 15.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5397, allocations: 12.06 kB / 0.5946 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5397, allocations: 4 kB / 0.5946 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.5397, allocations: 4.562 kB / 0.5946 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.54, allocations: 63.91 kB / 0.5946 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.54, allocations: 7.938 kB / 0.5946 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.5403, allocations: 55.52 kB / 0.5947 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.5403, allocations: 12 kB / 0.5947 GB, free: 15.29 MB / 478.1 MB 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.0001722/0.5405, allocations: 173.7 kB / 0.5949 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.5406, allocations: 44.05 kB / 0.5949 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.5411, allocations: 253.9 kB / 0.5952 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.5411, allocations: 7.984 kB / 0.5952 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5411, allocations: 0.875 kB / 0.5952 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5411, allocations: 0 / 0.5952 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5422, allocations: 0.7534 MB / 0.5959 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5422, allocations: 0 / 0.5959 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.5424, allocations: 42.08 kB / 0.5959 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5424, allocations: 8.188 kB / 0.5959 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5424, allocations: 4.5 kB / 0.596 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5424, allocations: 0 / 0.596 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5424, allocations: 4 kB / 0.596 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.5432, allocations: 0.5302 MB / 0.5965 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.5434, allocations: 153.8 kB / 0.5966 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.5434, allocations: 8 kB / 0.5966 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.5438, allocations: 28.03 kB / 0.5967 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.5438, allocations: 15.92 kB / 0.5967 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.5439, allocations: 19.94 kB / 0.5967 GB, free: 13.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.5442, allocations: 311.1 kB / 0.597 GB, free: 12.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5442, allocations: 0 / 0.597 GB, free: 12.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.5447, allocations: 119.8 kB / 0.5971 GB, free: 12.67 MB / 478.1 MB 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.000377/0.5451, allocations: 154.8 kB / 0.5972 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.5456, allocations: 216.5 kB / 0.5975 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.5456, allocations: 4 kB / 0.5975 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.5458, allocations: 105.8 kB / 0.5976 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.5469, allocations: 233.2 kB / 0.5978 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.5481, allocations: 0.9026 MB / 0.5987 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.5485, allocations: 0.823 MB / 0.5995 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.5488, allocations: 88.45 kB / 0.5996 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.5489, allocations: 31.44 kB / 0.5996 GB, free: 10.08 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5489, allocations: 0 / 0.5996 GB, free: 10.08 MB / 478.1 MB Notification: Performance of Templates: time 0.01354/0.5625, allocations: 7.678 MB / 0.6071 GB, free: 2.535 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: