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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_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.005954/0.005954, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.001386/0.001386, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002979/0.00298, allocations: 71.89 kB / 0.5858 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4476, allocations: 81.03 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1968/0.6444, allocations: 167.4 MB / 0.8284 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.6477, allocations: 1.561 MB / 0.8299 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.6481, allocations: 11.94 kB / 0.8299 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.6487, allocations: 146.9 kB / 0.83 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.6506, allocations: 0.7117 MB / 0.8307 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.6524, allocations: 0.6021 MB / 0.8313 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.6535, allocations: 0.7138 MB / 0.832 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.6539, allocations: 233.1 kB / 0.8322 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.6548, allocations: 342.7 kB / 0.8326 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.6552, allocations: 231 kB / 0.8328 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.6552, allocations: 28 kB / 0.8328 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.657, allocations: 0.8728 MB / 0.8337 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.6572, allocations: 99.7 kB / 0.8338 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.6576, allocations: 175.1 kB / 0.8339 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.6597, allocations: 0.7408 MB / 0.8347 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6597, allocations: 0 / 0.8347 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6598, allocations: 0 / 0.8347 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.6598, allocations: 0 / 0.8347 GB, free: 2.441 MB / 0.6544 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.00174/0.6615, allocations: 0.681 MB / 0.8353 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.6616, allocations: 12.03 kB / 0.8353 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.699e-05/0.6617, allocations: 54.55 kB / 0.8354 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.6629, allocations: 159.6 kB / 0.8355 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.6635, allocations: 330.8 kB / 0.8359 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.6636, allocations: 16.56 kB / 0.8359 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.6636, allocations: 24 kB / 0.8359 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.6641, allocations: 289.8 kB / 0.8362 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6642, allocations: 0 / 0.8362 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.6642, allocations: 12 kB / 0.8362 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.6642, allocations: 7.938 kB / 0.8362 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.6647, allocations: 204.9 kB / 0.8364 GB, free: 0.5625 MB / 0.6544 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.001563/0.6662, allocations: 1.235 MB / 0.8376 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.6666, allocations: 142.5 kB / 0.8377 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.6668, allocations: 96.8 kB / 0.8378 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.6674, allocations: 307.2 kB / 0.8381 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6674, allocations: 34.56 kB / 0.8381 GB, free: 14.58 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.6675, allocations: 0 / 0.8381 GB, free: 14.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0008502/0.6683, allocations: 295.7 kB / 0.8384 GB, free: 14.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.6684, allocations: 55.41 kB / 0.8385 GB, free: 14.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.6688, allocations: 316.5 kB / 0.8388 GB, free: 13.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.6688, allocations: 37.7 kB / 0.8388 GB, free: 13.86 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.669, allocations: 184.3 kB / 0.839 GB, free: 13.67 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.6691, allocations: 63.42 kB / 0.8391 GB, free: 13.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.6692, allocations: 49.66 kB / 0.8391 GB, free: 13.55 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6693, allocations: 346.7 kB / 0.8394 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.6695, allocations: 63.95 kB / 0.8395 GB, free: 13.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.6698, allocations: 129.1 kB / 0.8396 GB, free: 13 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.6702, allocations: 200.9 kB / 0.8398 GB, free: 12.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6702, allocations: 4 kB / 0.8398 GB, free: 12.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005174/0.6707, allocations: 252.8 kB / 0.84 GB, free: 12.53 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6708, allocations: 4 kB / 0.8401 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6708, allocations: 4 kB / 0.8401 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.6708, allocations: 0 / 0.8401 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.671, allocations: 47.91 kB / 0.8401 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.671, allocations: 4 kB / 0.8401 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.6713, allocations: 35.86 kB / 0.8401 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.6713, allocations: 12 kB / 0.8402 GB, free: 12.43 MB / 0.67 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.0001862/0.6715, allocations: 153.7 kB / 0.8403 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.6716, allocations: 27.95 kB / 0.8403 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/0.6721, allocations: 240.6 kB / 0.8406 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6721, allocations: 4 kB / 0.8406 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6722, allocations: 4 kB / 0.8406 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6722, allocations: 0 / 0.8406 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.6733, allocations: 0.7068 MB / 0.8413 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6733, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.6735, allocations: 39.95 kB / 0.8413 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.6735, allocations: 11.92 kB / 0.8413 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.6735, allocations: 4 kB / 0.8413 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.6736, allocations: 4 kB / 0.8413 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6736, allocations: 4 kB / 0.8413 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.6743, allocations: 456 kB / 0.8417 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.6744, allocations: 128.7 kB / 0.8419 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.6745, allocations: 11.98 kB / 0.8419 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.6747, allocations: 8 kB / 0.8419 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.6747, allocations: 11.98 kB / 0.8419 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.6748, allocations: 8 kB / 0.8419 GB, free: 10.48 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002837/0.675, allocations: 243 kB / 0.8421 GB, free: 10.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6751, allocations: 4 kB / 0.8421 GB, free: 10.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000426/0.6755, allocations: 79.92 kB / 0.8422 GB, free: 10.17 MB / 0.67 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.001418/0.6769, allocations: 1.045 MB / 0.8432 GB, free: 9.082 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.6774, allocations: 179.8 kB / 0.8434 GB, free: 8.906 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6774, allocations: 0 / 0.8434 GB, free: 8.906 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.6776, allocations: 100.4 kB / 0.8435 GB, free: 8.809 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.6785, allocations: 157.5 kB / 0.8437 GB, free: 8.656 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.6824, allocations: 3.01 MB / 0.8466 GB, free: 5.504 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.6829, allocations: 0.7834 MB / 0.8474 GB, free: 4.695 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000222/0.6831, allocations: 62.94 kB / 0.8474 GB, free: 4.633 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6832, allocations: 99.39 kB / 0.8475 GB, free: 4.535 MB / 0.67 GB Notification: Performance of SimCode: time 5.92e-07/0.6833, allocations: 4 kB / 0.8475 GB, free: 4.531 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.7165, allocations: 9.021 MB / 0.8563 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.877, allocations: 10.08 kB / 0.8563 GB, free: 11.69 MB / 0.6856 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)