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.001679/0.001679, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00157/0.00157, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9498/0.9498, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.39 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1855, allocations: 80.93 MB / 0.5839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4752/0.6608, allocations: 165.1 MB / 0.7451 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.6641, allocations: 1.542 MB / 0.7466 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.6647, allocations: 14.66 kB / 0.7467 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.6653, allocations: 126.1 kB / 0.7468 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.6674, allocations: 0.6714 MB / 0.7474 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.6692, allocations: 0.5596 MB / 0.748 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.6702, allocations: 0.7169 MB / 0.7487 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.6706, allocations: 231.1 kB / 0.7489 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007612/0.6714, allocations: 348.4 kB / 0.7492 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.6718, allocations: 239 kB / 0.7495 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.6719, allocations: 27.09 kB / 0.7495 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.6734, allocations: 0.9 MB / 0.7504 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.6735, allocations: 108.4 kB / 0.7505 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.6738, allocations: 177 kB / 0.7506 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.6751, allocations: 0.7871 MB / 0.7514 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6751, allocations: 0 / 0.7514 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6751, allocations: 0 / 0.7514 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.6751, allocations: 2.5 kB / 0.7514 GB, free: 1.332 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.001303/0.6764, allocations: 0.6717 MB / 0.7521 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6765, allocations: 8.375 kB / 0.7521 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.6777, allocations: 155 kB / 0.7522 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.6782, allocations: 308.1 kB / 0.7525 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.6783, allocations: 23.34 kB / 0.7525 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.6783, allocations: 25.14 kB / 0.7526 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.6789, allocations: 289.1 kB / 0.7528 GB, free: 160 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6789, allocations: 0 / 0.7528 GB, free: 160 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.6789, allocations: 10.59 kB / 0.7529 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.679, allocations: 9.406 kB / 0.7529 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.6794, allocations: 203.5 kB / 0.7531 GB, free: 32 kB / 0.5606 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.001591/0.681, allocations: 1.224 MB / 0.7542 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.6813, allocations: 146.5 kB / 0.7544 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.6815, allocations: 97.41 kB / 0.7545 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/0.6822, allocations: 303.2 kB / 0.7548 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6822, allocations: 34.56 kB / 0.7548 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.6822, allocations: 0 / 0.7548 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0008209/0.6831, allocations: 303.5 kB / 0.7551 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.6831, allocations: 59.34 kB / 0.7552 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.6835, allocations: 320.5 kB / 0.7555 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.6835, allocations: 25.7 kB / 0.7555 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.6837, allocations: 184.2 kB / 0.7557 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.6837, allocations: 63.09 kB / 0.7557 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.6838, allocations: 49.7 kB / 0.7558 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.684, allocations: 334.8 kB / 0.7561 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.6842, allocations: 76.5 kB / 0.7562 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.6844, allocations: 119.7 kB / 0.7563 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.6848, allocations: 207.4 kB / 0.7565 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6848, allocations: 0 / 0.7565 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005021/0.6853, allocations: 253.8 kB / 0.7567 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6853, allocations: 8 kB / 0.7567 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6853, allocations: 0 / 0.7567 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6854, allocations: 4 kB / 0.7567 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.6856, allocations: 47.91 kB / 0.7568 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6856, allocations: 4 kB / 0.7568 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.6858, allocations: 39.17 kB / 0.7568 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.6859, allocations: 12.06 kB / 0.7568 GB, free: 11.91 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.0001513/0.686, allocations: 153.7 kB / 0.757 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.6861, allocations: 31.62 kB / 0.757 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.6866, allocations: 230.8 kB / 0.7572 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6866, allocations: 4 kB / 0.7572 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6866, allocations: 0 / 0.7572 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6866, allocations: 4 kB / 0.7572 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.6877, allocations: 0.703 MB / 0.7579 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6878, allocations: 3.938 kB / 0.7579 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.6879, allocations: 43.91 kB / 0.758 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.688, allocations: 0 / 0.758 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.688, allocations: 7.938 kB / 0.758 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.688, allocations: 4 kB / 0.758 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.688, allocations: 4 kB / 0.758 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.6887, allocations: 453 kB / 0.7584 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6889, allocations: 116.7 kB / 0.7585 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.689, allocations: 12.02 kB / 0.7585 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.6892, allocations: 23.86 kB / 0.7585 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.6892, allocations: 15.98 kB / 0.7586 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.6893, allocations: 8 kB / 0.7586 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002412/0.6895, allocations: 231.1 kB / 0.7588 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6895, allocations: 0 / 0.7588 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004307/0.6899, allocations: 83.91 kB / 0.7589 GB, free: 9.664 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.0004254/0.6904, allocations: 169.4 kB / 0.759 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.6909, allocations: 194.2 kB / 0.7592 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6909, allocations: 0 / 0.7592 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.6911, allocations: 91.83 kB / 0.7593 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.6921, allocations: 169.9 kB / 0.7595 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.6933, allocations: 0.7281 MB / 0.7602 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.6937, allocations: 0.7834 MB / 0.7609 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.694, allocations: 67.7 kB / 0.761 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.694, allocations: 23.44 kB / 0.761 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.694, allocations: 0 / 0.761 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of Templates: time 0.01247/0.7065, allocations: 5.727 MB / 0.7666 GB, free: 1.801 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)