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.001625/0.001625, 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.002071/0.002071, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7588/0.7588, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.00216, allocations: 64.88 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4627, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1888/0.6515, allocations: 167.4 MB / 0.7436 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.6546, allocations: 1.558 MB / 0.7451 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004202/0.655, allocations: 11.94 kB / 0.7451 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.6556, allocations: 150.8 kB / 0.7452 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.6579, allocations: 0.7078 MB / 0.7459 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.6596, allocations: 0.5985 MB / 0.7465 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008446/0.6605, allocations: 0.7138 MB / 0.7472 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.6608, allocations: 238.7 kB / 0.7474 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.6615, allocations: 350.7 kB / 0.7478 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.6618, allocations: 227 kB / 0.748 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.6618, allocations: 28 kB / 0.748 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.6634, allocations: 0.8612 MB / 0.7489 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.6636, allocations: 111.6 kB / 0.749 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.6638, allocations: 171.2 kB / 0.7491 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.665, allocations: 0.7246 MB / 0.7498 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.665, allocations: 0 / 0.7498 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.665, allocations: 4 kB / 0.7498 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.665, allocations: 0 / 0.7498 GB, free: 3.074 MB / 0.5762 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.001112/0.6661, allocations: 0.6699 MB / 0.7505 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6662, allocations: 12.03 kB / 0.7505 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.6674, allocations: 151.5 kB / 0.7507 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.6678, allocations: 318.5 kB / 0.751 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.6678, allocations: 16.56 kB / 0.751 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.6679, allocations: 24 kB / 0.751 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.6684, allocations: 285.8 kB / 0.7513 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6684, allocations: 0 / 0.7513 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.6685, allocations: 8 kB / 0.7513 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.6685, allocations: 8 kB / 0.7513 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.6689, allocations: 200.9 kB / 0.7515 GB, free: 1.297 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.001533/0.6704, allocations: 1.234 MB / 0.7527 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.6707, allocations: 142.5 kB / 0.7528 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.6709, allocations: 104.8 kB / 0.7529 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006559/0.6716, allocations: 299.2 kB / 0.7532 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6716, allocations: 34.56 kB / 0.7532 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.994e-06/0.6716, allocations: 4 kB / 0.7532 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007792/0.6724, allocations: 295.5 kB / 0.7535 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.6725, allocations: 55.41 kB / 0.7536 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.6728, allocations: 320.5 kB / 0.7539 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.6728, allocations: 33.7 kB / 0.7539 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.673, allocations: 180.2 kB / 0.7541 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.6731, allocations: 67.08 kB / 0.7541 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.6732, allocations: 45.64 kB / 0.7542 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6733, allocations: 342.8 kB / 0.7545 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.6735, allocations: 71.95 kB / 0.7546 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.6737, allocations: 129.1 kB / 0.7547 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.6741, allocations: 199.8 kB / 0.7549 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6741, allocations: 0 / 0.7549 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004625/0.6745, allocations: 257 kB / 0.7551 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6746, allocations: 7.984 kB / 0.7552 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6746, allocations: 4 kB / 0.7552 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6746, allocations: 0 / 0.7552 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.6748, allocations: 43.92 kB / 0.7552 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6748, allocations: 4 kB / 0.7552 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.675, allocations: 35.77 kB / 0.7552 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.6751, allocations: 8 kB / 0.7552 GB, free: 13.16 MB / 0.5919 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.0001497/0.6752, allocations: 161.7 kB / 0.7554 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.6753, allocations: 27.62 kB / 0.7554 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.6757, allocations: 224.7 kB / 0.7556 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6758, allocations: 4 kB / 0.7556 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6758, allocations: 0 / 0.7556 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6758, allocations: 4 kB / 0.7556 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.6768, allocations: 0.7146 MB / 0.7563 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6768, allocations: 0 / 0.7563 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.677, allocations: 39.91 kB / 0.7564 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.677, allocations: 3.938 kB / 0.7564 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.677, allocations: 4 kB / 0.7564 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.677, allocations: 4 kB / 0.7564 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.677, allocations: 4 kB / 0.7564 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.6777, allocations: 455.2 kB / 0.7568 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6779, allocations: 124.7 kB / 0.757 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.6779, allocations: 11.94 kB / 0.757 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.6781, allocations: 11.98 kB / 0.757 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.6781, allocations: 11.98 kB / 0.757 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.6782, allocations: 8 kB / 0.757 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00023/0.6784, allocations: 231 kB / 0.7572 GB, free: 11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6784, allocations: 4 kB / 0.7572 GB, free: 11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004357/0.6788, allocations: 91.84 kB / 0.7573 GB, free: 10.91 MB / 0.5919 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.0003962/0.6792, allocations: 164.4 kB / 0.7575 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.6797, allocations: 195.8 kB / 0.7576 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6797, allocations: 0 / 0.7576 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.6799, allocations: 91.83 kB / 0.7577 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.6808, allocations: 165.4 kB / 0.7579 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.6818, allocations: 0.6358 MB / 0.7585 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.6822, allocations: 0.7871 MB / 0.7593 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.6824, allocations: 66.92 kB / 0.7593 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.6825, allocations: 23.44 kB / 0.7594 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of SimCode: time 1.9e-07/0.6825, allocations: 0 / 0.7594 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of Templates: time 0.01116/0.6936, allocations: 5.805 MB / 0.765 GB, free: 3.035 MB / 0.5919 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)