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.001111/0.001111, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001151/0.00115, allocations: 189.7 kB / 16.25 MB, free: 6.617 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.127/1.127, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6455/0.6455, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 63.59 kB / 0.5014 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2868, allocations: 80.2 MB / 0.5797 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1409/0.4277, allocations: 165.1 MB / 0.7409 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.4296, allocations: 1.549 MB / 0.7425 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.4298, allocations: 7.938 kB / 0.7425 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.4301, allocations: 123.2 kB / 0.7426 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.4312, allocations: 0.6731 MB / 0.7432 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000931/0.4321, allocations: 0.5481 MB / 0.7438 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00056/0.4327, allocations: 0.7254 MB / 0.7445 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.4329, allocations: 218.3 kB / 0.7447 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.4334, allocations: 362.6 kB / 0.745 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.4336, allocations: 243.1 kB / 0.7453 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.4337, allocations: 24 kB / 0.7453 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009426/0.4346, allocations: 0.8961 MB / 0.7462 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.4347, allocations: 107.6 kB / 0.7463 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4348, allocations: 171.2 kB / 0.7464 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.4356, allocations: 0.7908 MB / 0.7472 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4356, allocations: 0 / 0.7472 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4356, allocations: 7.984 kB / 0.7472 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4356, allocations: 0 / 0.7472 GB, free: 5.559 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.0007208/0.4363, allocations: 0.6621 MB / 0.7479 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.4364, allocations: 12.03 kB / 0.7479 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.4364, allocations: 58.53 kB / 0.7479 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009929/0.4374, allocations: 155.5 kB / 0.7481 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.4378, allocations: 314.6 kB / 0.7484 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4378, allocations: 16.56 kB / 0.7484 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.4378, allocations: 24 kB / 0.7484 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.4383, allocations: 285.8 kB / 0.7487 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4384, allocations: 4 kB / 0.7487 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.4384, allocations: 8 kB / 0.7487 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4384, allocations: 11.98 kB / 0.7487 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.4389, allocations: 200.9 kB / 0.7489 GB, free: 3.715 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.001101/0.44, allocations: 1.227 MB / 0.7501 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.4403, allocations: 146.5 kB / 0.7502 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.4404, allocations: 96.8 kB / 0.7503 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.4409, allocations: 303.2 kB / 0.7506 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.441, allocations: 30.56 kB / 0.7507 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.441, allocations: 3.938 kB / 0.7507 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0006515/0.4416, allocations: 297.4 kB / 0.7509 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.4417, allocations: 59.34 kB / 0.751 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4419, allocations: 320.5 kB / 0.7513 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.442, allocations: 29.7 kB / 0.7513 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.4421, allocations: 184.1 kB / 0.7515 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.4421, allocations: 63.09 kB / 0.7516 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.4422, allocations: 45.7 kB / 0.7516 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.4423, allocations: 342.8 kB / 0.7519 GB, free: 384 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.4424, allocations: 75.94 kB / 0.752 GB, free: 308 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.4426, allocations: 121 kB / 0.7521 GB, free: 168 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.4429, allocations: 203.1 kB / 0.7523 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4429, allocations: 0 / 0.7523 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003967/0.4433, allocations: 253 kB / 0.7526 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4434, allocations: 10.03 kB / 0.7526 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4434, allocations: 4.094 kB / 0.7526 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4434, allocations: 4 kB / 0.7526 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.4436, allocations: 43.91 kB / 0.7526 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4436, allocations: 4 kB / 0.7526 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.4438, allocations: 35.67 kB / 0.7527 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.4438, allocations: 12 kB / 0.7527 GB, free: 15.59 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.0001174/0.4439, allocations: 159.2 kB / 0.7528 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.444, allocations: 27.62 kB / 0.7528 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.4444, allocations: 232.6 kB / 0.7531 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4444, allocations: 4 kB / 0.7531 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4444, allocations: 0 / 0.7531 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4444, allocations: 0 / 0.7531 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.4452, allocations: 0.7068 MB / 0.7538 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4453, allocations: 0 / 0.7538 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.4454, allocations: 44.12 kB / 0.7538 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4454, allocations: 7.938 kB / 0.7538 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4455, allocations: 8 kB / 0.7538 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4455, allocations: 4 kB / 0.7538 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4455, allocations: 4 kB / 0.7538 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.446, allocations: 442.9 kB / 0.7543 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.4461, allocations: 120.7 kB / 0.7544 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.4461, allocations: 15.92 kB / 0.7544 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.4463, allocations: 19.98 kB / 0.7544 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.4464, allocations: 19.92 kB / 0.7544 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4464, allocations: 8.094 kB / 0.7544 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001747/0.4466, allocations: 235 kB / 0.7547 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.4466, allocations: 0 / 0.7547 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003153/0.4469, allocations: 83.91 kB / 0.7547 GB, free: 13.33 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.0009256/0.4478, allocations: 1.049 MB / 0.7558 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.4482, allocations: 190.1 kB / 0.7559 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4482, allocations: 0 / 0.7559 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.4484, allocations: 91.83 kB / 0.756 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.4491, allocations: 170.8 kB / 0.7562 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.4521, allocations: 3.099 MB / 0.7592 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4523, allocations: 0.7833 MB / 0.76 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.4525, allocations: 66.92 kB / 0.76 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4526, allocations: 95.41 kB / 0.7601 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.4526, allocations: 0 / 0.7601 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.275/1.728, allocations: 8.761 MB / 0.7687 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003077/1.728, allocations: 216.4 kB / 0.7689 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/3.599, allocations: 0 / 0.7689 GB, free: 14.8 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)