Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001853/0.001853, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002648/0.002648, allocations: 192.1 kB / 16.13 MB, free: 6.645 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 72.3 kB / 0.5047 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 80.93 MB / 0.5837 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5103/0.6647, allocations: 165.1 MB / 0.745 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.668, allocations: 1.572 MB / 0.7465 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.6684, allocations: 13.38 kB / 0.7465 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.6689, allocations: 111.7 kB / 0.7466 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.6708, allocations: 0.6806 MB / 0.7473 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.6724, allocations: 0.5409 MB / 0.7478 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.6734, allocations: 0.9958 MB / 0.7488 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.6738, allocations: 197.4 kB / 0.749 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.6744, allocations: 327.1 kB / 0.7493 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.6747, allocations: 233.5 kB / 0.7495 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.6747, allocations: 15.53 kB / 0.7495 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.6764, allocations: 1.012 MB / 0.7505 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.6765, allocations: 101.9 kB / 0.7506 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.6767, allocations: 164.1 kB / 0.7508 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.6778, allocations: 0.775 MB / 0.7515 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6779, allocations: 0 / 0.7515 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.41e-07/0.6779, allocations: 0 / 0.7515 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.6779, allocations: 0 / 0.7515 GB, free: 0.9648 MB / 0.5606 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.001072/0.679, allocations: 0.67 MB / 0.7522 GB, free: 380 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.679, allocations: 8.031 kB / 0.7522 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.6803, allocations: 163.3 kB / 0.7523 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.6808, allocations: 304.6 kB / 0.7526 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.6808, allocations: 18.67 kB / 0.7527 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.6809, allocations: 31.91 kB / 0.7527 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.6814, allocations: 281.1 kB / 0.753 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6814, allocations: 4 kB / 0.753 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.6815, allocations: 10.62 kB / 0.753 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.6815, allocations: 6 kB / 0.753 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.6819, allocations: 202.6 kB / 0.7532 GB, free: 15.69 MB / 0.5762 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.001405/0.6833, allocations: 1.236 MB / 0.7544 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.6836, allocations: 146.5 kB / 0.7545 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.6838, allocations: 92.8 kB / 0.7546 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.6844, allocations: 307.2 kB / 0.7549 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.6845, allocations: 30.56 kB / 0.7549 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.143e-06/0.6845, allocations: 0 / 0.7549 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0008005/0.6853, allocations: 299.7 kB / 0.7552 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.6853, allocations: 55.41 kB / 0.7553 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.6857, allocations: 320.5 kB / 0.7556 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.6857, allocations: 29.7 kB / 0.7556 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.6858, allocations: 184.1 kB / 0.7558 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.6859, allocations: 59.11 kB / 0.7558 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.686, allocations: 45.7 kB / 0.7559 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6862, allocations: 342.8 kB / 0.7562 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.6863, allocations: 71.95 kB / 0.7563 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.6865, allocations: 123.7 kB / 0.7564 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.6869, allocations: 204.2 kB / 0.7566 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6869, allocations: 7.188 kB / 0.7566 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004805/0.6874, allocations: 257.1 kB / 0.7568 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6874, allocations: 8 kB / 0.7568 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6875, allocations: 4.094 kB / 0.7568 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6875, allocations: 4 kB / 0.7568 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.6877, allocations: 43.91 kB / 0.7569 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.6877, allocations: 4 kB / 0.7569 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.6879, allocations: 35.67 kB / 0.7569 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.6879, allocations: 12 kB / 0.7569 GB, free: 11.7 MB / 0.5762 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.0001454/0.6881, allocations: 157.7 kB / 0.7571 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.6882, allocations: 31.61 kB / 0.7571 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.6886, allocations: 230.1 kB / 0.7573 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6886, allocations: 4 kB / 0.7573 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6886, allocations: 0 / 0.7573 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6887, allocations: 0 / 0.7573 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.6897, allocations: 0.7029 MB / 0.758 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6897, allocations: 0 / 0.758 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.6899, allocations: 44.12 kB / 0.7581 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.6899, allocations: 0 / 0.7581 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.6899, allocations: 8.094 kB / 0.7581 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.6899, allocations: 14.12 kB / 0.7581 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6899, allocations: 4 kB / 0.7581 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.6907, allocations: 444.9 kB / 0.7585 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6908, allocations: 120.7 kB / 0.7586 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.6908, allocations: 8 kB / 0.7586 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.691, allocations: 23.92 kB / 0.7587 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.6911, allocations: 15.98 kB / 0.7587 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.6911, allocations: 8 kB / 0.7587 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002472/0.6914, allocations: 227 kB / 0.7589 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6914, allocations: 3.938 kB / 0.7589 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004339/0.6918, allocations: 87.91 kB / 0.759 GB, free: 9.449 MB / 0.5762 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.0004461/0.6923, allocations: 165.8 kB / 0.7591 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.6928, allocations: 179.8 kB / 0.7593 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6928, allocations: 4.188 kB / 0.7593 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.693, allocations: 91.83 kB / 0.7594 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.6939, allocations: 171.1 kB / 0.7596 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.6951, allocations: 0.7234 MB / 0.7603 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.6955, allocations: 0.7836 MB / 0.761 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.6958, allocations: 63.8 kB / 0.7611 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.6958, allocations: 27.44 kB / 0.7611 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.6958, allocations: 4 kB / 0.7611 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.01057/0.7064, allocations: 5.524 MB / 0.7665 GB, free: 1.797 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)