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.001023/0.001023, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007779/0.007779, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7193/0.7193, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 12 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3651, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.159/0.5241, allocations: 163 MB / 0.7429 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.5264, allocations: 1.549 MB / 0.7444 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.5266, allocations: 11.94 kB / 0.7445 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.527, allocations: 119.2 kB / 0.7446 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.5283, allocations: 0.6731 MB / 0.7452 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.5296, allocations: 0.5521 MB / 0.7458 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008354/0.5304, allocations: 0.9828 MB / 0.7467 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.5307, allocations: 209.1 kB / 0.7469 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.5312, allocations: 310.7 kB / 0.7472 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.5315, allocations: 243 kB / 0.7475 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.5315, allocations: 12 kB / 0.7475 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.5328, allocations: 1.001 MB / 0.7484 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.5329, allocations: 99.69 kB / 0.7485 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.5331, allocations: 196.8 kB / 0.7487 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.5339, allocations: 0.7673 MB / 0.7495 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5339, allocations: 0 / 0.7495 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5339, allocations: 0 / 0.7495 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.5339, allocations: 0 / 0.7495 GB, free: 6.113 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.0008021/0.5347, allocations: 0.6116 MB / 0.7501 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5348, allocations: 16.03 kB / 0.7501 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.5348, allocations: 58.48 kB / 0.7501 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.5359, allocations: 155.4 kB / 0.7503 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.5363, allocations: 306.7 kB / 0.7506 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.5363, allocations: 20.55 kB / 0.7506 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.5363, allocations: 24 kB / 0.7506 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.5368, allocations: 289.8 kB / 0.7509 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5368, allocations: 0 / 0.7509 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.5368, allocations: 8 kB / 0.7509 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5369, allocations: 8 kB / 0.7509 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.5373, allocations: 220.9 kB / 0.7511 GB, free: 4.305 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.001236/0.5385, allocations: 1.238 MB / 0.7523 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.5388, allocations: 150.4 kB / 0.7525 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.539, allocations: 100.8 kB / 0.7526 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005621/0.5396, allocations: 319.2 kB / 0.7529 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.5396, allocations: 38.56 kB / 0.7529 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.5396, allocations: 0 / 0.7529 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007349/0.5403, allocations: 306.8 kB / 0.7532 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5404, allocations: 55.41 kB / 0.7533 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.5407, allocations: 324.5 kB / 0.7536 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5407, allocations: 29.7 kB / 0.7536 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.5408, allocations: 180.2 kB / 0.7538 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.5409, allocations: 59.11 kB / 0.7538 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.5409, allocations: 29.7 kB / 0.7539 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5411, allocations: 338.8 kB / 0.7542 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.5412, allocations: 79.94 kB / 0.7543 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.5414, allocations: 129.1 kB / 0.7544 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.5418, allocations: 205 kB / 0.7546 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5418, allocations: 3.984 kB / 0.7546 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004855/0.5423, allocations: 272.6 kB / 0.7548 GB, free: 236 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5423, allocations: 6.344 kB / 0.7548 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5424, allocations: 4.031 kB / 0.7549 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5424, allocations: 8 kB / 0.7549 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.5426, allocations: 43.92 kB / 0.7549 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5426, allocations: 7.984 kB / 0.7549 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.5428, allocations: 35.77 kB / 0.7549 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.5428, allocations: 12 kB / 0.755 GB, free: 120 kB / 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.0001424/0.543, allocations: 155.2 kB / 0.7551 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.543, allocations: 31.62 kB / 0.7551 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.5435, allocations: 240.7 kB / 0.7554 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5435, allocations: 7.984 kB / 0.7554 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5436, allocations: 4 kB / 0.7554 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5436, allocations: 0 / 0.7554 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009728/0.5445, allocations: 0.7146 MB / 0.7561 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5446, allocations: 4 kB / 0.7561 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.5447, allocations: 36.02 kB / 0.7561 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5447, allocations: 11.88 kB / 0.7561 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.5448, allocations: 12.2 kB / 0.7561 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5448, allocations: 4 kB / 0.7561 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5448, allocations: 4 kB / 0.7561 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.5454, allocations: 464.9 kB / 0.7566 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5455, allocations: 120.7 kB / 0.7567 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.5456, allocations: 11.98 kB / 0.7567 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.5458, allocations: 19.94 kB / 0.7567 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.5458, allocations: 15.97 kB / 0.7567 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5459, allocations: 4 kB / 0.7567 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002055/0.5461, allocations: 239.1 kB / 0.757 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.392e-06/0.5461, allocations: 0 / 0.757 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003702/0.5464, allocations: 79.94 kB / 0.7571 GB, free: 13.82 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.001094/0.5476, allocations: 1.059 MB / 0.7581 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.548, allocations: 203.6 kB / 0.7583 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.548, allocations: 0 / 0.7583 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.5482, allocations: 104.4 kB / 0.7584 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.5491, allocations: 158.6 kB / 0.7585 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.5526, allocations: 3.164 MB / 0.7616 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5529, allocations: 0.7797 MB / 0.7624 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.5531, allocations: 70.92 kB / 0.7625 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.5532, allocations: 91.41 kB / 0.7625 GB, free: 8 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.5532, allocations: 0 / 0.7625 GB, free: 8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2211/0.7743, allocations: 8.385 MB / 0.7707 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.7747, allocations: 222.4 kB / 0.7709 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.8, allocations: 3.984 kB / 0.7709 GB, free: 15.57 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)