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.001562/0.001562, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001903, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3913/0.3913, allocations: 54.95 MB / 324.7 MB, free: 15.91 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.001527/0.001527, allocations: 71.89 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1479, allocations: 59.59 MB / 454.9 MB, free: 168 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Velocity): time 0.5188/0.6668, allocations: 167.4 MB / 0.6077 GB, free: 160 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.6704, allocations: 1.513 MB / 0.6092 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.6709, allocations: 11.88 kB / 0.6092 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.672, allocations: 242.5 kB / 0.6095 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.6739, allocations: 0.5986 MB / 0.61 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.6761, allocations: 0.681 MB / 0.6107 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.6775, allocations: 1.066 MB / 0.6118 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.678, allocations: 326.6 kB / 0.6121 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.6791, allocations: 0.5293 MB / 0.6126 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.6796, allocations: 330.7 kB / 0.6129 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.6797, allocations: 40 kB / 0.6129 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.6809, allocations: 0.6509 MB / 0.6136 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.6812, allocations: 183.5 kB / 0.6137 GB, free: 9.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.6815, allocations: 266.8 kB / 0.614 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.6827, allocations: 0.892 MB / 0.6149 GB, free: 8.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.6828, allocations: 3.984 kB / 0.6149 GB, free: 8.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.6828, allocations: 4.688 kB / 0.6149 GB, free: 8.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.6828, allocations: 0 / 0.6149 GB, free: 8.832 MB / 494.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.001432/0.6842, allocations: 0.7883 MB / 0.6157 GB, free: 8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6843, allocations: 8.031 kB / 0.6157 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.6854, allocations: 155.3 kB / 0.6158 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.686, allocations: 347 kB / 0.6161 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.686, allocations: 29 kB / 0.6162 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.6861, allocations: 39.94 kB / 0.6162 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.6869, allocations: 428.3 kB / 0.6166 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6869, allocations: 0 / 0.6166 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.687, allocations: 16 kB / 0.6166 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.687, allocations: 8 kB / 0.6166 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006043/0.6876, allocations: 323.7 kB / 0.6169 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.6899, allocations: 1.506 MB / 0.6184 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.6903, allocations: 134.5 kB / 0.6185 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.6905, allocations: 92.8 kB / 0.6186 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.6909, allocations: 113 kB / 0.6187 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6909, allocations: 42.5 kB / 0.6188 GB, free: 4.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.6909, allocations: 0 / 0.6188 GB, free: 4.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006882/0.6916, allocations: 289.2 kB / 0.6191 GB, free: 4.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.6916, allocations: 59.34 kB / 0.6191 GB, free: 4.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.6921, allocations: 445.8 kB / 0.6195 GB, free: 3.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.6922, allocations: 33.7 kB / 0.6196 GB, free: 3.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.6923, allocations: 229.1 kB / 0.6198 GB, free: 3.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.6924, allocations: 63.09 kB / 0.6198 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.6925, allocations: 57.98 kB / 0.6199 GB, free: 3.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6926, allocations: 346.8 kB / 0.6202 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.6928, allocations: 89 kB / 0.6203 GB, free: 2.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.6931, allocations: 166.4 kB / 0.6205 GB, free: 2.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.6935, allocations: 264.8 kB / 0.6207 GB, free: 2.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6936, allocations: 0 / 0.6207 GB, free: 2.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005807/0.6941, allocations: 332.8 kB / 0.621 GB, free: 2.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6942, allocations: 4.25 kB / 0.6211 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6942, allocations: 8 kB / 0.6211 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6942, allocations: 7.938 kB / 0.6211 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.6945, allocations: 56.72 kB / 0.6211 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6945, allocations: 4 kB / 0.6211 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.6947, allocations: 51.42 kB / 0.6212 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.6948, allocations: 12.94 kB / 0.6212 GB, free: 1.992 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.695, allocations: 181.7 kB / 0.6214 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.695, allocations: 39.53 kB / 0.6214 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.6955, allocations: 245.1 kB / 0.6216 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6956, allocations: 0 / 0.6216 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6956, allocations: 0 / 0.6216 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6956, allocations: 3.984 kB / 0.6216 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6966, allocations: 0.742 MB / 0.6224 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6966, allocations: 4 kB / 0.6224 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.6968, allocations: 37.66 kB / 0.6224 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6968, allocations: 0 / 0.6224 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.6968, allocations: 8 kB / 0.6224 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6968, allocations: 4 kB / 0.6224 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6969, allocations: 4.75 kB / 0.6224 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.6976, allocations: 468.7 kB / 0.6229 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.6978, allocations: 144.7 kB / 0.623 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.6979, allocations: 8 kB / 0.623 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.6982, allocations: 13.53 kB / 0.623 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.6983, allocations: 23.86 kB / 0.623 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.6983, allocations: 19.98 kB / 0.6231 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003397/0.6987, allocations: 319.2 kB / 0.6234 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6987, allocations: 0 / 0.6234 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004568/0.6991, allocations: 119.8 kB / 0.6235 GB, free: 15.5 MB / 0.4981 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.0004363/0.6996, allocations: 156.4 kB / 0.6236 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.7001, allocations: 219.6 kB / 0.6238 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7001, allocations: 7.938 kB / 0.6238 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.7003, allocations: 92.62 kB / 0.6239 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.7016, allocations: 240.2 kB / 0.6242 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.7029, allocations: 0.7649 MB / 0.6249 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.7034, allocations: 0.8229 MB / 0.6257 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.7037, allocations: 86.3 kB / 0.6258 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.7038, allocations: 31.44 kB / 0.6258 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.7038, allocations: 4 kB / 0.6258 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.01663/0.7204, allocations: 8.351 MB / 0.634 GB, free: 4.855 MB / 0.4981 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)