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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 108 kB / 15.61 MB, free: 152 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.001876/0.001876, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7983/0.7983, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 60.06 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.383, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1704/0.5534, allocations: 167.4 MB / 0.7437 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.5562, allocations: 1.562 MB / 0.7452 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.5565, allocations: 7.938 kB / 0.7452 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.5569, allocations: 150.9 kB / 0.7453 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.5585, allocations: 0.7078 MB / 0.746 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.5599, allocations: 0.5946 MB / 0.7466 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007374/0.5606, allocations: 0.7215 MB / 0.7473 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.561, allocations: 245.1 kB / 0.7476 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.5616, allocations: 342.7 kB / 0.7479 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.5619, allocations: 219.1 kB / 0.7481 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.562, allocations: 28 kB / 0.7481 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.5634, allocations: 0.8689 MB / 0.749 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.5635, allocations: 107.7 kB / 0.7491 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.5637, allocations: 171.2 kB / 0.7492 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009595/0.5647, allocations: 0.7246 MB / 0.7499 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5647, allocations: 0 / 0.7499 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5647, allocations: 3.938 kB / 0.7499 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5647, allocations: 0 / 0.7499 GB, free: 3.117 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.0009871/0.5657, allocations: 0.6661 MB / 0.7506 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5657, allocations: 12.03 kB / 0.7506 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.5658, allocations: 58.55 kB / 0.7507 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.5669, allocations: 151.4 kB / 0.7508 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.5673, allocations: 322.5 kB / 0.7511 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.5674, allocations: 20.56 kB / 0.7511 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.5674, allocations: 24 kB / 0.7512 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.5679, allocations: 277.9 kB / 0.7514 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5679, allocations: 7.938 kB / 0.7514 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.5679, allocations: 4 kB / 0.7514 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5679, allocations: 8 kB / 0.7514 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.5684, allocations: 200.9 kB / 0.7516 GB, free: 1.273 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.001372/0.5697, allocations: 1.234 MB / 0.7528 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.57, allocations: 152.5 kB / 0.753 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.5702, allocations: 100.7 kB / 0.7531 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/0.5709, allocations: 299.2 kB / 0.7534 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.5709, allocations: 34.56 kB / 0.7534 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.5709, allocations: 0 / 0.7534 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007786/0.5717, allocations: 293.4 kB / 0.7537 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.5718, allocations: 51.41 kB / 0.7537 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.5721, allocations: 324.5 kB / 0.754 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.5721, allocations: 37.64 kB / 0.7541 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.5723, allocations: 180.2 kB / 0.7542 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.5723, allocations: 67.03 kB / 0.7543 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.5724, allocations: 41.7 kB / 0.7543 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5725, allocations: 342.8 kB / 0.7547 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.5727, allocations: 67.95 kB / 0.7547 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.5729, allocations: 129.1 kB / 0.7549 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.5733, allocations: 189 kB / 0.755 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5733, allocations: 4 kB / 0.755 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004497/0.5737, allocations: 251.6 kB / 0.7553 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5738, allocations: 7.984 kB / 0.7553 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5738, allocations: 4 kB / 0.7553 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5738, allocations: 0 / 0.7553 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.574, allocations: 51.92 kB / 0.7553 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.574, allocations: 0 / 0.7553 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.5742, allocations: 39.77 kB / 0.7554 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.5742, allocations: 8 kB / 0.7554 GB, free: 13.15 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.0001832/0.5744, allocations: 159.2 kB / 0.7555 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.5745, allocations: 27.77 kB / 0.7556 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.575, allocations: 239.2 kB / 0.7558 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.575, allocations: 8 kB / 0.7558 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.575, allocations: 0 / 0.7558 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.575, allocations: 0 / 0.7558 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009884/0.576, allocations: 0.7029 MB / 0.7565 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.576, allocations: 4 kB / 0.7565 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.5762, allocations: 43.91 kB / 0.7565 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5762, allocations: 3.938 kB / 0.7565 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.5762, allocations: 4 kB / 0.7565 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5762, allocations: 4 kB / 0.7566 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5762, allocations: 4.031 kB / 0.7566 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.5769, allocations: 453.2 kB / 0.757 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.577, allocations: 124.6 kB / 0.7571 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.577, allocations: 4 kB / 0.7571 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.5772, allocations: 11.98 kB / 0.7571 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.5773, allocations: 19.86 kB / 0.7571 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.5773, allocations: 12 kB / 0.7572 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002014/0.5775, allocations: 231.1 kB / 0.7574 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5775, allocations: 0 / 0.7574 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003663/0.5779, allocations: 91.84 kB / 0.7575 GB, free: 10.89 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.001099/0.579, allocations: 1.047 MB / 0.7585 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.5794, allocations: 187.6 kB / 0.7587 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5794, allocations: 4 kB / 0.7587 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.5796, allocations: 92.39 kB / 0.7588 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.5805, allocations: 164.4 kB / 0.7589 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.5841, allocations: 3.021 MB / 0.7619 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5844, allocations: 0.7834 MB / 0.7626 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.5847, allocations: 62.94 kB / 0.7627 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.5848, allocations: 91.41 kB / 0.7628 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5848, allocations: 0 / 0.7628 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.6113, allocations: 8.922 MB / 0.7715 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.59, allocations: 0.5625 kB / 0.7715 GB, free: 12.5 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)