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.00961/0.00961, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001321/0.001321, allocations: 200.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.408/0.408, allocations: 54.95 MB / 324.8 MB, free: 15.97 MB / 270.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.001509/0.00151, allocations: 72.14 kB / 456.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1241, allocations: 59.59 MB / 0.5037 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Velocity): time 0.5442/0.6683, allocations: 167.4 MB / 0.6672 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.6711, allocations: 1.519 MB / 0.6687 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.6714, allocations: 13.55 kB / 0.6687 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.6722, allocations: 238.9 kB / 0.6689 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.6736, allocations: 0.626 MB / 0.6695 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.6753, allocations: 0.6925 MB / 0.6702 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.6769, allocations: 1.069 MB / 0.6713 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006384/0.6775, allocations: 321.3 kB / 0.6716 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.6789, allocations: 0.5699 MB / 0.6721 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.6793, allocations: 324.4 kB / 0.6724 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.6794, allocations: 43.72 kB / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.6807, allocations: 0.6466 MB / 0.6731 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.6808, allocations: 186.4 kB / 0.6733 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.6811, allocations: 269.2 kB / 0.6735 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.6822, allocations: 0.9028 MB / 0.6744 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6822, allocations: 6.281 kB / 0.6744 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6822, allocations: 0 / 0.6744 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6822, allocations: 0 / 0.6744 GB, free: 15.86 MB / 0.5137 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.001207/0.6834, allocations: 0.7845 MB / 0.6752 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.6835, allocations: 8.156 kB / 0.6752 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.6846, allocations: 155.7 kB / 0.6754 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.6851, allocations: 366 kB / 0.6757 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6851, allocations: 30.44 kB / 0.6757 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.6852, allocations: 35.88 kB / 0.6758 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.6859, allocations: 434.7 kB / 0.6762 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6859, allocations: 0 / 0.6762 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.686, allocations: 18.27 kB / 0.6762 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.686, allocations: 6.844 kB / 0.6762 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.6866, allocations: 313.8 kB / 0.6765 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.6885, allocations: 1.499 MB / 0.678 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.6888, allocations: 141.5 kB / 0.6781 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.6889, allocations: 86.86 kB / 0.6782 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.6893, allocations: 117.4 kB / 0.6783 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.6893, allocations: 39.81 kB / 0.6783 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/0.6893, allocations: 1.203 kB / 0.6783 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000653/0.69, allocations: 287.5 kB / 0.6786 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.69, allocations: 56.81 kB / 0.6787 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.6905, allocations: 451.6 kB / 0.6791 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.6906, allocations: 29.7 kB / 0.6791 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.6907, allocations: 233.9 kB / 0.6793 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.6908, allocations: 57.59 kB / 0.6794 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.031e-05/0.6909, allocations: 61.58 kB / 0.6795 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.691, allocations: 346.8 kB / 0.6798 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.6912, allocations: 88.83 kB / 0.6799 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.6915, allocations: 169.8 kB / 0.68 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.6919, allocations: 266.1 kB / 0.6803 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6919, allocations: 1 kB / 0.6803 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005163/0.6924, allocations: 329.3 kB / 0.6806 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6924, allocations: 5.031 kB / 0.6806 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6924, allocations: 6.812 kB / 0.6806 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.6925, allocations: 8.969 kB / 0.6806 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.6927, allocations: 60.77 kB / 0.6807 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6927, allocations: 12.19 kB / 0.6807 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.693, allocations: 41.92 kB / 0.6807 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.693, allocations: 14.28 kB / 0.6808 GB, free: 12.93 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.6932, allocations: 172 kB / 0.6809 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.6933, allocations: 41.41 kB / 0.681 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.6937, allocations: 236.9 kB / 0.6812 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.6937, allocations: 10.06 kB / 0.6812 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6937, allocations: 0 / 0.6812 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6938, allocations: 2.203 kB / 0.6812 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.6947, allocations: 0.7419 MB / 0.6819 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6947, allocations: 1.203 kB / 0.6819 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6949, allocations: 33.02 kB / 0.682 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.6949, allocations: 3.25 kB / 0.682 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.6949, allocations: 8.812 kB / 0.682 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.6949, allocations: 4.656 kB / 0.682 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6949, allocations: 2.406 kB / 0.682 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.6956, allocations: 463.3 kB / 0.6824 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.6957, allocations: 147.9 kB / 0.6826 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.6958, allocations: 6.969 kB / 0.6826 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.6961, allocations: 25.52 kB / 0.6826 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.6962, allocations: 18.02 kB / 0.6826 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.6962, allocations: 16.98 kB / 0.6826 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002818/0.6965, allocations: 313.2 kB / 0.6829 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6965, allocations: 0 / 0.6829 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004244/0.6969, allocations: 122.9 kB / 0.683 GB, free: 11.96 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/0.6973, allocations: 159.8 kB / 0.6832 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.6977, allocations: 221.3 kB / 0.6834 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6977, allocations: 4.359 kB / 0.6834 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.6979, allocations: 92.06 kB / 0.6835 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.699, allocations: 236.3 kB / 0.6837 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.7003, allocations: 0.7619 MB / 0.6845 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.7008, allocations: 0.8102 MB / 0.6852 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003414/0.7011, allocations: 90.95 kB / 0.6853 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.7012, allocations: 31.84 kB / 0.6854 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.7012, allocations: 0 / 0.6854 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of Templates: time 0.01479/0.716, allocations: 8.426 MB / 0.6936 GB, free: 8.41 MB / 0.5137 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)