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.001786/0.001786, 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.002862/0.002862, allocations: 196.6 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.562/1.562, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7915/0.7915, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.94 kB / 0.5019 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1676, allocations: 80.2 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4825/0.6502, allocations: 167.4 MB / 0.7437 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.6533, allocations: 1.556 MB / 0.7452 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.654, allocations: 12.44 kB / 0.7452 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.6546, allocations: 149.2 kB / 0.7453 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.6567, allocations: 0.708 MB / 0.746 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.6583, allocations: 0.6077 MB / 0.7466 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.6593, allocations: 0.7094 MB / 0.7473 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.6598, allocations: 237.6 kB / 0.7475 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007721/0.6605, allocations: 351.2 kB / 0.7479 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.6609, allocations: 233.2 kB / 0.7481 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.6609, allocations: 23.88 kB / 0.7481 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.6626, allocations: 0.8632 MB / 0.749 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.6628, allocations: 118.8 kB / 0.7491 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.663, allocations: 171.9 kB / 0.7492 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.6641, allocations: 0.7229 MB / 0.7499 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6641, allocations: 0 / 0.7499 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6641, allocations: 0 / 0.7499 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.6641, allocations: 1.812 kB / 0.7499 GB, free: 3.836 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.0009892/0.6651, allocations: 0.6692 MB / 0.7506 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6652, allocations: 11.75 kB / 0.7506 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.337e-05/0.6652, allocations: 54.45 kB / 0.7507 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.6664, allocations: 158.3 kB / 0.7508 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.6668, allocations: 313.3 kB / 0.7511 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.6669, allocations: 16.5 kB / 0.7511 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.6669, allocations: 23.25 kB / 0.7512 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.6674, allocations: 286.2 kB / 0.7514 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6675, allocations: 0 / 0.7514 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.6675, allocations: 9.938 kB / 0.7514 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.6675, allocations: 5.531 kB / 0.7514 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.6679, allocations: 202.5 kB / 0.7516 GB, free: 2.512 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.001395/0.6693, allocations: 1.238 MB / 0.7528 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.6696, allocations: 145 kB / 0.753 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.6698, allocations: 98.83 kB / 0.7531 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/0.6705, allocations: 297.4 kB / 0.7534 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6705, allocations: 33.06 kB / 0.7534 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.6705, allocations: 4 kB / 0.7534 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007769/0.6713, allocations: 300.3 kB / 0.7537 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.6714, allocations: 54.34 kB / 0.7537 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.6717, allocations: 318.2 kB / 0.754 GB, free: 448 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.6717, allocations: 33.7 kB / 0.7541 GB, free: 408 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.6718, allocations: 188.1 kB / 0.7542 GB, free: 216 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.6719, allocations: 59.11 kB / 0.7543 GB, free: 156 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.672, allocations: 45.7 kB / 0.7543 GB, free: 104 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6721, allocations: 346.8 kB / 0.7547 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.6723, allocations: 67.94 kB / 0.7547 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.6725, allocations: 131.7 kB / 0.7549 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.6729, allocations: 192.8 kB / 0.7551 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6729, allocations: 7.875 kB / 0.7551 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004718/0.6734, allocations: 261 kB / 0.7553 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6734, allocations: 4 kB / 0.7553 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6734, allocations: 4 kB / 0.7553 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6734, allocations: 0 / 0.7553 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.6736, allocations: 49.11 kB / 0.7554 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6737, allocations: 3.984 kB / 0.7554 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.6739, allocations: 27.78 kB / 0.7554 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.6739, allocations: 19.98 kB / 0.7554 GB, free: 14.96 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.0001349/0.6741, allocations: 155.2 kB / 0.7556 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.6741, allocations: 27.62 kB / 0.7556 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.6746, allocations: 231.9 kB / 0.7558 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6746, allocations: 0 / 0.7558 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.6746, allocations: 4 kB / 0.7558 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6746, allocations: 4 kB / 0.7558 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.6757, allocations: 0.7068 MB / 0.7565 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6757, allocations: 4 kB / 0.7565 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.6759, allocations: 35.92 kB / 0.7565 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.6759, allocations: 0 / 0.7565 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.6759, allocations: 11.94 kB / 0.7566 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.6759, allocations: 4 kB / 0.7566 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6759, allocations: 0 / 0.7566 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.6766, allocations: 455.5 kB / 0.757 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6767, allocations: 120.7 kB / 0.7571 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.6768, allocations: 11.94 kB / 0.7571 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.6769, allocations: 11.98 kB / 0.7571 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.677, allocations: 11.98 kB / 0.7571 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.677, allocations: 15.94 kB / 0.7572 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002114/0.6772, allocations: 227 kB / 0.7574 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6773, allocations: 0 / 0.7574 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004059/0.6777, allocations: 91.91 kB / 0.7575 GB, free: 12.72 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.001163/0.6788, allocations: 1.04 MB / 0.7585 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.6793, allocations: 191.7 kB / 0.7587 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6793, allocations: 4 kB / 0.7587 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.6795, allocations: 83.89 kB / 0.7587 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.6805, allocations: 179.3 kB / 0.7589 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.6842, allocations: 3.011 MB / 0.7619 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.6845, allocations: 0.7881 MB / 0.7626 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.6848, allocations: 62.92 kB / 0.7627 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.6849, allocations: 95.34 kB / 0.7628 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.685, allocations: 0 / 0.7628 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.7143, allocations: 8.916 MB / 0.7715 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/8.145, allocations: 10.64 kB / 0.7715 GB, free: 14.36 MB / 0.5919 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)