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.001162/0.001161, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001366/0.001366, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8042/0.8042, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4203, allocations: 80.18 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1879/0.6082, allocations: 167.4 MB / 0.745 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0032/0.6115, allocations: 1.568 MB / 0.7465 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.612, allocations: 7.938 kB / 0.7465 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.6126, allocations: 150.8 kB / 0.7467 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.6147, allocations: 0.7078 MB / 0.7473 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.6165, allocations: 0.599 MB / 0.7479 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.6176, allocations: 0.7254 MB / 0.7486 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.6181, allocations: 232.9 kB / 0.7489 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.6189, allocations: 346.7 kB / 0.7492 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.6192, allocations: 235 kB / 0.7494 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.6193, allocations: 24 kB / 0.7494 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.621, allocations: 0.8612 MB / 0.7503 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.6212, allocations: 107.6 kB / 0.7504 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.6214, allocations: 179.1 kB / 0.7506 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4227/1.044, allocations: 0.7233 MB / 0.7513 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.044, allocations: 0 / 0.7513 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.495e-06/1.044, allocations: 0 / 0.7513 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.044, allocations: 3.812 kB / 0.7513 GB, free: 4.184 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.001156/1.045, allocations: 0.6647 MB / 0.7519 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.045, allocations: 8.906 kB / 0.7519 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/1.047, allocations: 156.3 kB / 0.7521 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/1.047, allocations: 331.7 kB / 0.7524 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/1.047, allocations: 18.28 kB / 0.7524 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/1.047, allocations: 24.03 kB / 0.7524 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/1.048, allocations: 285.7 kB / 0.7527 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.048, allocations: 0 / 0.7527 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/1.048, allocations: 12.64 kB / 0.7527 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.048, allocations: 6.969 kB / 0.7527 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/1.048, allocations: 207.1 kB / 0.7529 GB, free: 3.418 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.001652/1.05, allocations: 1.22 MB / 0.7541 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/1.05, allocations: 146.9 kB / 0.7542 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/1.05, allocations: 99.98 kB / 0.7543 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/1.051, allocations: 302.9 kB / 0.7546 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.051, allocations: 38.19 kB / 0.7547 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/1.051, allocations: 0 / 0.7547 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007789/1.052, allocations: 289.7 kB / 0.7549 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/1.052, allocations: 59.45 kB / 0.755 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/1.052, allocations: 321 kB / 0.7553 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.052, allocations: 32.98 kB / 0.7553 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.052, allocations: 178.7 kB / 0.7555 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/1.053, allocations: 67.66 kB / 0.7556 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/1.053, allocations: 43.2 kB / 0.7556 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.053, allocations: 344.2 kB / 0.7559 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.053, allocations: 66.84 kB / 0.756 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/1.053, allocations: 124 kB / 0.7561 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/1.054, allocations: 196.6 kB / 0.7563 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.054, allocations: 7.25 kB / 0.7563 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004598/1.054, allocations: 255.8 kB / 0.7566 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.054, allocations: 11.19 kB / 0.7566 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.054, allocations: 0.8438 kB / 0.7566 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.054, allocations: 2.688 kB / 0.7566 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/1.054, allocations: 44.5 kB / 0.7566 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.054, allocations: 5.75 kB / 0.7566 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/1.054, allocations: 31.09 kB / 0.7567 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/1.055, allocations: 13.28 kB / 0.7567 GB, free: 17.36 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.0001585/1.055, allocations: 151.5 kB / 0.7568 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/1.055, allocations: 31.33 kB / 0.7568 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/1.055, allocations: 238.1 kB / 0.7571 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.055, allocations: 0.8125 kB / 0.7571 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.055, allocations: 4 kB / 0.7571 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.055, allocations: 0.8438 kB / 0.7571 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/1.056, allocations: 0.6996 MB / 0.7578 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.056, allocations: 5.391 kB / 0.7578 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/1.056, allocations: 38.98 kB / 0.7578 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.057, allocations: 3.844 kB / 0.7578 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/1.057, allocations: 3.375 kB / 0.7578 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.057, allocations: 8.062 kB / 0.7578 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.057, allocations: 6.969 kB / 0.7578 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/1.057, allocations: 451.4 kB / 0.7582 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/1.057, allocations: 125.6 kB / 0.7584 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/1.057, allocations: 7.672 kB / 0.7584 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/1.058, allocations: 14.41 kB / 0.7584 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/1.058, allocations: 18.03 kB / 0.7584 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.058, allocations: 6.094 kB / 0.7584 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000233/1.058, allocations: 231 kB / 0.7586 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.81e-07/1.058, allocations: 1.594 kB / 0.7586 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004177/1.058, allocations: 84.5 kB / 0.7587 GB, free: 16.41 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.0004282/1.059, allocations: 169.6 kB / 0.7589 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004754/1.059, allocations: 185.2 kB / 0.7591 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.059, allocations: 0.5312 kB / 0.7591 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/1.06, allocations: 92.55 kB / 0.7591 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/1.06, allocations: 165.9 kB / 0.7593 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.061, allocations: 0.6269 MB / 0.7599 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/1.062, allocations: 0.7868 MB / 0.7607 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002073/1.062, allocations: 63.7 kB / 0.7607 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/1.062, allocations: 25.25 kB / 0.7608 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/1.062, allocations: 1.688 kB / 0.7608 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of Templates: time 0.01171/1.074, allocations: 5.804 MB / 0.7664 GB, free: 15.14 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)