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.0009358/0.0009358, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006379/0.006379, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9912/0.9912, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003637, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1948, allocations: 82.32 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5696/0.7644, allocations: 163 MB / 0.7471 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.7684, allocations: 1.555 MB / 0.7487 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.7689, allocations: 18.31 kB / 0.7487 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005683/0.7695, allocations: 111.4 kB / 0.7488 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.7719, allocations: 0.6723 MB / 0.7494 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.7741, allocations: 0.5507 MB / 0.75 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.7759, allocations: 0.9844 MB / 0.7509 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.7764, allocations: 203.6 kB / 0.7511 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.7773, allocations: 314.8 kB / 0.7514 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.7777, allocations: 233.4 kB / 0.7517 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.7778, allocations: 13.22 kB / 0.7517 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.78, allocations: 1.017 MB / 0.7527 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.7801, allocations: 93.36 kB / 0.7527 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.7804, allocations: 181.9 kB / 0.7529 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.7816, allocations: 0.775 MB / 0.7537 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7816, allocations: 0 / 0.7537 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.707e-06/0.7816, allocations: 0 / 0.7537 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.7816, allocations: 3.938 kB / 0.7537 GB, free: 1.648 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.001021/0.7827, allocations: 0.6041 MB / 0.7543 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.7827, allocations: 13.02 kB / 0.7543 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.7839, allocations: 152.2 kB / 0.7544 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.7843, allocations: 316 kB / 0.7547 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.7844, allocations: 22.25 kB / 0.7547 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.7844, allocations: 27.53 kB / 0.7548 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.7849, allocations: 291.1 kB / 0.7551 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.785, allocations: 7.469 kB / 0.7551 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.785, allocations: 7.938 kB / 0.7551 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.785, allocations: 8.844 kB / 0.7551 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.7854, allocations: 207.8 kB / 0.7553 GB, free: 424 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.001525/0.787, allocations: 1.237 MB / 0.7565 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.7873, allocations: 155.6 kB / 0.7566 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.7875, allocations: 104.6 kB / 0.7567 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.7881, allocations: 312.7 kB / 0.757 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.7881, allocations: 41.53 kB / 0.7571 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.7881, allocations: 0 / 0.7571 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007842/0.7889, allocations: 305.5 kB / 0.7574 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.789, allocations: 54.84 kB / 0.7574 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.7893, allocations: 326.4 kB / 0.7577 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.7893, allocations: 29.11 kB / 0.7578 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.7895, allocations: 182.1 kB / 0.7579 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.7895, allocations: 64.73 kB / 0.758 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.7896, allocations: 21.88 kB / 0.758 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7898, allocations: 342.8 kB / 0.7583 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.7899, allocations: 75.95 kB / 0.7584 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.7902, allocations: 138.2 kB / 0.7585 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.7905, allocations: 212.5 kB / 0.7587 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7906, allocations: 0 / 0.7587 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004804/0.791, allocations: 257.2 kB / 0.759 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7911, allocations: 10.34 kB / 0.759 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7911, allocations: 0 / 0.759 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7911, allocations: 4 kB / 0.759 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.7913, allocations: 51.91 kB / 0.7591 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7913, allocations: 4 kB / 0.7591 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.7916, allocations: 43.73 kB / 0.7591 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.7916, allocations: 8.547 kB / 0.7591 GB, free: 12.92 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.0001558/0.7918, allocations: 153.7 kB / 0.7593 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.7918, allocations: 31.62 kB / 0.7593 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.7923, allocations: 244.6 kB / 0.7595 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7923, allocations: 0 / 0.7595 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.7924, allocations: 4 kB / 0.7595 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7924, allocations: 0 / 0.7595 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.7934, allocations: 0.7146 MB / 0.7602 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.7934, allocations: 8.203 kB / 0.7602 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.7936, allocations: 43.92 kB / 0.7603 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7936, allocations: 0 / 0.7603 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.7937, allocations: 7.938 kB / 0.7603 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.7937, allocations: 4 kB / 0.7603 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.7937, allocations: 4.812 kB / 0.7603 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.7944, allocations: 467 kB / 0.7607 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.7945, allocations: 124.7 kB / 0.7608 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.7946, allocations: 7.938 kB / 0.7609 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.7948, allocations: 19.98 kB / 0.7609 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.7948, allocations: 15.98 kB / 0.7609 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.7949, allocations: 12 kB / 0.7609 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002217/0.7951, allocations: 227 kB / 0.7611 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7951, allocations: 0 / 0.7611 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004092/0.7955, allocations: 91.92 kB / 0.7612 GB, free: 10.62 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.0004504/0.796, allocations: 165.5 kB / 0.7614 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.7964, allocations: 195.7 kB / 0.7615 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7965, allocations: 4.062 kB / 0.7616 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.7967, allocations: 95.83 kB / 0.7616 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.7977, allocations: 162.2 kB / 0.7618 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.7989, allocations: 0.7658 MB / 0.7625 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.7993, allocations: 0.7836 MB / 0.7633 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.7995, allocations: 74.86 kB / 0.7634 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.7996, allocations: 23.44 kB / 0.7634 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.7996, allocations: 0 / 0.7634 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.01164/0.8113, allocations: 5.5 MB / 0.7688 GB, free: 2.926 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)