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.0007983/0.0007983, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9974/0.9974, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 8 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4883/0.6611, allocations: 163 MB / 0.7478 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.6641, allocations: 1.558 MB / 0.7493 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.6645, allocations: 9.438 kB / 0.7493 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.665, allocations: 114.4 kB / 0.7494 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.6669, allocations: 0.6736 MB / 0.7501 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.6685, allocations: 0.5464 MB / 0.7506 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.6697, allocations: 0.9846 MB / 0.7516 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.6701, allocations: 202.2 kB / 0.7518 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.6707, allocations: 317.8 kB / 0.7521 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.671, allocations: 230 kB / 0.7523 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.6711, allocations: 13.41 kB / 0.7523 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.6728, allocations: 1.019 MB / 0.7533 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.6729, allocations: 98.89 kB / 0.7534 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.6731, allocations: 185.8 kB / 0.7536 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.6738, allocations: 0.4938 MB / 0.7541 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6738, allocations: 0 / 0.7541 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.053e-06/0.6738, allocations: 3.938 kB / 0.7541 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.6738, allocations: 4 kB / 0.7541 GB, free: 1.863 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.0008954/0.6747, allocations: 0.604 MB / 0.7547 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.6748, allocations: 9.031 kB / 0.7547 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.6759, allocations: 163.1 kB / 0.7548 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.6763, allocations: 316.4 kB / 0.7551 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.6763, allocations: 18.06 kB / 0.7551 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.6764, allocations: 23.28 kB / 0.7552 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.6769, allocations: 289.8 kB / 0.7554 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6769, allocations: 4 kB / 0.7554 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.6769, allocations: 11.41 kB / 0.7554 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6769, allocations: 3.719 kB / 0.7555 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.6773, allocations: 217 kB / 0.7557 GB, free: 0.6289 MB / 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.001369/0.6787, allocations: 1.234 MB / 0.7569 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.679, allocations: 156.5 kB / 0.757 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.6792, allocations: 108.7 kB / 0.7571 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/0.6798, allocations: 311.4 kB / 0.7574 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6799, allocations: 41.61 kB / 0.7575 GB, free: 15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 2.264e-06/0.6799, allocations: 3.938 kB / 0.7575 GB, free: 15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007814/0.6806, allocations: 308.8 kB / 0.7578 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.6807, allocations: 54.09 kB / 0.7578 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.681, allocations: 320.2 kB / 0.7581 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.6811, allocations: 36.77 kB / 0.7581 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6812, allocations: 179.9 kB / 0.7583 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.6813, allocations: 57.98 kB / 0.7584 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.6813, allocations: 26.92 kB / 0.7584 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6814, allocations: 340.3 kB / 0.7587 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.6816, allocations: 79.91 kB / 0.7588 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.6818, allocations: 127.7 kB / 0.7589 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.6822, allocations: 212.5 kB / 0.7591 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6822, allocations: 0 / 0.7591 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004751/0.6827, allocations: 261.1 kB / 0.7594 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6827, allocations: 8 kB / 0.7594 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6827, allocations: 0 / 0.7594 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6828, allocations: 4 kB / 0.7594 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.683, allocations: 47.92 kB / 0.7594 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.683, allocations: 8.078 kB / 0.7594 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.6832, allocations: 43.61 kB / 0.7595 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.6833, allocations: 8 kB / 0.7595 GB, free: 13.23 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.0001458/0.6834, allocations: 153.7 kB / 0.7596 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.6835, allocations: 31.62 kB / 0.7597 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.684, allocations: 240.7 kB / 0.7599 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.684, allocations: 3.938 kB / 0.7599 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.684, allocations: 3.984 kB / 0.7599 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.684, allocations: 4 kB / 0.7599 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.6851, allocations: 0.7146 MB / 0.7606 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6851, allocations: 1.25 kB / 0.7606 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.6853, allocations: 43.92 kB / 0.7606 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6853, allocations: 0 / 0.7606 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6853, allocations: 7.938 kB / 0.7607 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.6853, allocations: 7.984 kB / 0.7607 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6853, allocations: 0 / 0.7607 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.686, allocations: 475.5 kB / 0.7611 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.6861, allocations: 120.8 kB / 0.7612 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.6862, allocations: 7.938 kB / 0.7612 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.6864, allocations: 20.92 kB / 0.7613 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.6864, allocations: 19.91 kB / 0.7613 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.6864, allocations: 12.14 kB / 0.7613 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002124/0.6867, allocations: 227 kB / 0.7615 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6867, allocations: 0 / 0.7615 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003979/0.6871, allocations: 87.94 kB / 0.7616 GB, free: 10.94 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.0003741/0.6874, allocations: 170.1 kB / 0.7617 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004267/0.6879, allocations: 195.7 kB / 0.7619 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6879, allocations: 0 / 0.7619 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.6881, allocations: 99.81 kB / 0.762 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.6891, allocations: 158.5 kB / 0.7622 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.6901, allocations: 0.7983 MB / 0.763 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6905, allocations: 0.7797 MB / 0.7637 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.6905, allocations: 27.44 kB / 0.7637 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6905, allocations: 4 kB / 0.7638 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of Templates: time 0.007292/0.6978, allocations: 4.888 MB / 0.7685 GB, free: 3.828 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)