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.001081/0.001081, allocations: 115.6 kB / 16.37 MB, free: 6.016 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.001102/0.001102, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7981/0.7981, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 0.5068 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 80.91 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.163/0.5344, allocations: 167.4 MB / 0.7492 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.537, allocations: 1.557 MB / 0.7508 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.5373, allocations: 11.94 kB / 0.7508 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.5378, allocations: 150.8 kB / 0.7509 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.5393, allocations: 0.7 MB / 0.7516 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3324/0.8717, allocations: 0.6082 MB / 0.7522 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.8728, allocations: 0.7175 MB / 0.7529 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.8732, allocations: 231.1 kB / 0.7531 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006178/0.8738, allocations: 348.1 kB / 0.7535 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.8741, allocations: 224.6 kB / 0.7537 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.8742, allocations: 24.66 kB / 0.7537 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.8755, allocations: 0.8676 MB / 0.7545 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.8756, allocations: 112.7 kB / 0.7546 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.8757, allocations: 168.4 kB / 0.7548 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.8766, allocations: 0.7407 MB / 0.7555 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8766, allocations: 0.75 kB / 0.7555 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8766, allocations: 0 / 0.7555 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.8767, allocations: 5.203 kB / 0.7555 GB, free: 2.27 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.0009473/0.8776, allocations: 0.6605 MB / 0.7562 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.8777, allocations: 11.23 kB / 0.7562 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.8788, allocations: 151 kB / 0.7563 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.8793, allocations: 333.2 kB / 0.7567 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.8793, allocations: 19.16 kB / 0.7567 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.8793, allocations: 23.72 kB / 0.7567 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.8798, allocations: 281.6 kB / 0.757 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.8798, allocations: 9.828 kB / 0.757 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.8798, allocations: 11.88 kB / 0.757 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.8798, allocations: 5.438 kB / 0.757 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.8802, allocations: 202.8 kB / 0.7572 GB, free: 17.45 MB / 0.5919 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.00135/0.8815, allocations: 1.22 MB / 0.7584 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.8818, allocations: 153.8 kB / 0.7585 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.882, allocations: 99.12 kB / 0.7586 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.8825, allocations: 299.5 kB / 0.7589 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.8826, allocations: 35.72 kB / 0.7589 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/0.8826, allocations: 0.9375 kB / 0.7589 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007907/0.8834, allocations: 294.9 kB / 0.7592 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.8834, allocations: 53.41 kB / 0.7593 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.8838, allocations: 324.2 kB / 0.7596 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.8838, allocations: 30.42 kB / 0.7596 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.8839, allocations: 182.7 kB / 0.7598 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.884, allocations: 62.95 kB / 0.7598 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.8841, allocations: 43.42 kB / 0.7599 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8842, allocations: 343.9 kB / 0.7602 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.8844, allocations: 70.14 kB / 0.7603 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.8846, allocations: 125.1 kB / 0.7604 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.885, allocations: 199.8 kB / 0.7606 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.885, allocations: 6.156 kB / 0.7606 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004729/0.8855, allocations: 259.1 kB / 0.7608 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8855, allocations: 6.016 kB / 0.7608 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8855, allocations: 2.562 kB / 0.7608 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8856, allocations: 2.125 kB / 0.7608 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.8858, allocations: 47.95 kB / 0.7609 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.8858, allocations: 4.219 kB / 0.7609 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.886, allocations: 31.5 kB / 0.7609 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.886, allocations: 7.797 kB / 0.7609 GB, free: 15.37 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.0001436/0.8862, allocations: 160.5 kB / 0.7611 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.8862, allocations: 31.61 kB / 0.7611 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.8867, allocations: 236 kB / 0.7613 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.8867, allocations: 1.594 kB / 0.7613 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8868, allocations: 2.078 kB / 0.7613 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8868, allocations: 1.656 kB / 0.7613 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.8879, allocations: 0.7018 MB / 0.762 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.8879, allocations: 2.156 kB / 0.762 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.8881, allocations: 41.66 kB / 0.7621 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.8881, allocations: 2.969 kB / 0.7621 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.8881, allocations: 4.469 kB / 0.7621 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.8881, allocations: 11.41 kB / 0.7621 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8882, allocations: 2.875 kB / 0.7621 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.8889, allocations: 450.2 kB / 0.7625 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.8891, allocations: 123 kB / 0.7626 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.8891, allocations: 7.359 kB / 0.7626 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.8893, allocations: 16.53 kB / 0.7627 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.8894, allocations: 21.67 kB / 0.7627 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.8894, allocations: 5.844 kB / 0.7627 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002724/0.8897, allocations: 231.5 kB / 0.7629 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8897, allocations: 0.5312 kB / 0.7629 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004638/0.8902, allocations: 88.91 kB / 0.763 GB, free: 14.42 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.0004347/0.8906, allocations: 159.9 kB / 0.7631 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.8911, allocations: 190.3 kB / 0.7633 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8911, allocations: 0.5 kB / 0.7633 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.8913, allocations: 97.86 kB / 0.7634 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.8923, allocations: 168.9 kB / 0.7636 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.8935, allocations: 0.6229 MB / 0.7642 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.894, allocations: 0.7833 MB / 0.765 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000261/0.8943, allocations: 68.22 kB / 0.765 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.8943, allocations: 25.94 kB / 0.765 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8943, allocations: 3.594 kB / 0.7651 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01075/0.9051, allocations: 5.811 MB / 0.7707 GB, free: 13.13 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)