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.001621/0.001621, allocations: 102.8 kB / 15.98 MB, free: 6.352 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.001625/0.001625, allocations: 195.8 kB / 16.91 MB, free: 6.191 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.298/1.298, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7992/0.7992, allocations: 132.2 MB / 422.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.91 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4431, allocations: 80.19 MB / 0.5802 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1831/0.6263, allocations: 165.2 MB / 0.7415 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.6292, allocations: 1.543 MB / 0.743 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.6296, allocations: 15.88 kB / 0.743 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.6301, allocations: 123.2 kB / 0.7431 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.632, allocations: 0.6692 MB / 0.7438 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.6337, allocations: 0.5563 MB / 0.7443 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008688/0.6345, allocations: 0.7214 MB / 0.745 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.6349, allocations: 225.1 kB / 0.7452 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.6356, allocations: 346.7 kB / 0.7456 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.6358, allocations: 247 kB / 0.7458 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.6359, allocations: 24 kB / 0.7458 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.6373, allocations: 0.8961 MB / 0.7467 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.6374, allocations: 115.7 kB / 0.7468 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.6376, allocations: 167.2 kB / 0.747 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.6383, allocations: 0.5146 MB / 0.7475 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6383, allocations: 3.938 kB / 0.7475 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6383, allocations: 3.938 kB / 0.7475 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.6383, allocations: 0 / 0.7475 GB, free: 2.605 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.000976/0.6393, allocations: 0.6622 MB / 0.7481 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6393, allocations: 12.03 kB / 0.7481 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6404, allocations: 155.4 kB / 0.7483 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.6409, allocations: 318.5 kB / 0.7486 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6409, allocations: 16.56 kB / 0.7486 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.641, allocations: 24 kB / 0.7486 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.6415, allocations: 285.9 kB / 0.7489 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6415, allocations: 0 / 0.7489 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.6415, allocations: 12 kB / 0.7489 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6415, allocations: 7.938 kB / 0.7489 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.6419, allocations: 204.9 kB / 0.7491 GB, free: 0.8203 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.3358/0.9778, allocations: 1.218 MB / 0.7503 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.9781, allocations: 146.8 kB / 0.7505 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.9783, allocations: 94.12 kB / 0.7505 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/0.979, allocations: 303 kB / 0.7508 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.979, allocations: 38.11 kB / 0.7509 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 2.444e-06/0.979, allocations: 0.8438 kB / 0.7509 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0009313/0.98, allocations: 293.5 kB / 0.7512 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.98, allocations: 54.09 kB / 0.7512 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.9804, allocations: 320.5 kB / 0.7515 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.9804, allocations: 32.61 kB / 0.7515 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.9806, allocations: 184.6 kB / 0.7517 GB, free: 167 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.9806, allocations: 60.03 kB / 0.7518 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.9807, allocations: 51.84 kB / 0.7518 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.9808, allocations: 346.1 kB / 0.7522 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.981, allocations: 66.28 kB / 0.7522 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.9812, allocations: 129.8 kB / 0.7523 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.9816, allocations: 201.9 kB / 0.7525 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9816, allocations: 1.594 kB / 0.7525 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005055/0.9822, allocations: 255.8 kB / 0.7528 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.9822, allocations: 5.812 kB / 0.7528 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9822, allocations: 2.047 kB / 0.7528 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9822, allocations: 5.438 kB / 0.7528 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.9824, allocations: 41.61 kB / 0.7528 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.9825, allocations: 6.984 kB / 0.7528 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.9827, allocations: 39.14 kB / 0.7529 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.9827, allocations: 11.78 kB / 0.7529 GB, free: 166.3 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.0001287/0.9829, allocations: 150.8 kB / 0.753 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.9829, allocations: 31.33 kB / 0.7531 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.9835, allocations: 236.2 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9835, allocations: 2.625 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9835, allocations: 0.8125 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9835, allocations: 4.281 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.9846, allocations: 0.7079 MB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9846, allocations: 2.484 kB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.9848, allocations: 31.69 kB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.9848, allocations: 3.812 kB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.9848, allocations: 11.44 kB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.9848, allocations: 11.09 kB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9848, allocations: 2.75 kB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.9855, allocations: 447.4 kB / 0.7545 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.9856, allocations: 127.9 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.9856, allocations: 12.84 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.9858, allocations: 12.83 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.9859, allocations: 15.81 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.9859, allocations: 10.47 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003016/0.9862, allocations: 236.8 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9862, allocations: 2.156 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004926/0.9867, allocations: 78.95 kB / 0.7549 GB, free: 165 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.0005153/0.9873, allocations: 164.8 kB / 0.7551 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.9878, allocations: 192.5 kB / 0.7553 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9878, allocations: 0 / 0.7553 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.9881, allocations: 95.86 kB / 0.7554 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.9891, allocations: 168.8 kB / 0.7555 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.9904, allocations: 0.7492 MB / 0.7563 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.9906, allocations: 0.7792 MB / 0.757 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.9907, allocations: 30.23 kB / 0.7571 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.9907, allocations: 0 / 0.7571 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.007962/0.9987, allocations: 4.929 MB / 0.7619 GB, free: 161.3 MB / 0.5762 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)