Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001114/0.001114, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001178/0.001178, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7976/0.7976, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.38 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6042/0.7687, allocations: 167.4 MB / 0.8238 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003569/0.7723, allocations: 1.552 MB / 0.8253 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.7731, allocations: 12.12 kB / 0.8254 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007598/0.7739, allocations: 145.9 kB / 0.8255 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.7766, allocations: 0.7062 MB / 0.8262 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.7788, allocations: 0.6041 MB / 0.8268 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.7803, allocations: 0.7233 MB / 0.8275 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007931/0.7812, allocations: 231.5 kB / 0.8277 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.7824, allocations: 349.8 kB / 0.828 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.7829, allocations: 225.2 kB / 0.8282 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.7831, allocations: 22.19 kB / 0.8283 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.7853, allocations: 0.8725 MB / 0.8291 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.7855, allocations: 110.8 kB / 0.8292 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.7857, allocations: 176.8 kB / 0.8294 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.7873, allocations: 0.7344 MB / 0.8301 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7873, allocations: 0 / 0.8301 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7873, allocations: 0 / 0.8301 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.7873, allocations: 0 / 0.8301 GB, free: 1.258 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001114/0.7884, allocations: 0.6625 MB / 0.8308 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7885, allocations: 11.47 kB / 0.8308 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.7897, allocations: 166.1 kB / 0.8309 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.7903, allocations: 320.9 kB / 0.8312 GB, free: 300 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.7903, allocations: 26.59 kB / 0.8313 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.7904, allocations: 26.66 kB / 0.8313 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.7908, allocations: 275 kB / 0.8315 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7909, allocations: 2.938 kB / 0.8315 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.7909, allocations: 8 kB / 0.8316 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7909, allocations: 11.47 kB / 0.8316 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.7913, allocations: 200.6 kB / 0.8318 GB, free: 15.98 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.7928, allocations: 1.231 MB / 0.833 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.7931, allocations: 150.3 kB / 0.8331 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.7933, allocations: 92.55 kB / 0.8332 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005681/0.7939, allocations: 306.3 kB / 0.8335 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7939, allocations: 42.06 kB / 0.8335 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.7939, allocations: 0 / 0.8335 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007788/0.7947, allocations: 295.7 kB / 0.8338 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.7947, allocations: 51.41 kB / 0.8339 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.7951, allocations: 325.2 kB / 0.8342 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.7951, allocations: 29.7 kB / 0.8342 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.7952, allocations: 185 kB / 0.8344 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.7953, allocations: 59.3 kB / 0.8344 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.7953, allocations: 47.2 kB / 0.8345 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7955, allocations: 342.5 kB / 0.8348 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.7956, allocations: 69.39 kB / 0.8349 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.7959, allocations: 127.1 kB / 0.835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.7962, allocations: 197.7 kB / 0.8352 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7962, allocations: 2.688 kB / 0.8352 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004872/0.7967, allocations: 263.4 kB / 0.8354 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7968, allocations: 4.906 kB / 0.8354 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7968, allocations: 2.344 kB / 0.8354 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7968, allocations: 2.875 kB / 0.8354 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.797, allocations: 43.05 kB / 0.8355 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.797, allocations: 2.562 kB / 0.8355 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.7972, allocations: 37.98 kB / 0.8355 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.7973, allocations: 6.688 kB / 0.8355 GB, free: 12.88 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001502/0.7974, allocations: 164 kB / 0.8357 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.7975, allocations: 26.84 kB / 0.8357 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.798, allocations: 225.8 kB / 0.8359 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.798, allocations: 2.531 kB / 0.8359 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.798, allocations: 0 / 0.8359 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.798, allocations: 0 / 0.8359 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.7991, allocations: 0.7145 MB / 0.8366 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7991, allocations: 4.219 kB / 0.8366 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.7993, allocations: 35.58 kB / 0.8367 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.7993, allocations: 2.781 kB / 0.8367 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.7993, allocations: 8.75 kB / 0.8367 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7993, allocations: 6 kB / 0.8367 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7993, allocations: 2.594 kB / 0.8367 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.8, allocations: 449.1 kB / 0.8371 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.8001, allocations: 123.8 kB / 0.8372 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.8001, allocations: 14.78 kB / 0.8372 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.8003, allocations: 12.89 kB / 0.8373 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.8004, allocations: 19.73 kB / 0.8373 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.8004, allocations: 4.312 kB / 0.8373 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002093/0.8006, allocations: 229.6 kB / 0.8375 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8006, allocations: 0 / 0.8375 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000395/0.801, allocations: 86.28 kB / 0.8376 GB, free: 11.31 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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.0003706/0.8014, allocations: 163.6 kB / 0.8377 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.8019, allocations: 190.5 kB / 0.8379 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8019, allocations: 4.188 kB / 0.8379 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.8021, allocations: 93.14 kB / 0.838 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.803, allocations: 163.7 kB / 0.8382 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.804, allocations: 0.654 MB / 0.8388 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.8043, allocations: 0.7848 MB / 0.8396 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.8044, allocations: 27.75 kB / 0.8396 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.8044, allocations: 0 / 0.8396 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.008981/0.8134, allocations: 4.97 MB / 0.8444 GB, free: 7.188 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)