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.0055/0.0055, allocations: 98.92 kB / 15.73 MB, free: 6.004 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.001079/0.001079, allocations: 192.5 kB / 16.67 MB, free: 5.922 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7933/0.7933, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 77.06 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 80.92 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5538/0.7089, allocations: 167.4 MB / 0.8276 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.7118, allocations: 1.558 MB / 0.8292 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.7122, allocations: 11.28 kB / 0.8292 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.7128, allocations: 154.1 kB / 0.8293 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.7145, allocations: 0.7439 MB / 0.8301 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.7161, allocations: 0.6064 MB / 0.8306 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.7169, allocations: 0.7182 MB / 0.8313 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.7173, allocations: 239.9 kB / 0.8316 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.718, allocations: 349.5 kB / 0.8319 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.7183, allocations: 229.4 kB / 0.8321 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.7183, allocations: 29.25 kB / 0.8322 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.7199, allocations: 0.8725 MB / 0.833 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.72, allocations: 116.4 kB / 0.8331 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.7202, allocations: 170.9 kB / 0.8333 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.7213, allocations: 0.7441 MB / 0.834 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7213, allocations: 0 / 0.834 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7213, allocations: 0 / 0.834 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.7213, allocations: 0 / 0.834 GB, free: 11.77 MB / 0.6075 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.001004/0.7224, allocations: 0.6708 MB / 0.8347 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7224, allocations: 14.83 kB / 0.8347 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.7225, allocations: 62.06 kB / 0.8347 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.7236, allocations: 158.4 kB / 0.8349 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.7242, allocations: 336.5 kB / 0.8352 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.7242, allocations: 16.31 kB / 0.8352 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.7243, allocations: 25.81 kB / 0.8352 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.7248, allocations: 287 kB / 0.8355 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7248, allocations: 0 / 0.8355 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.7248, allocations: 7 kB / 0.8355 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7248, allocations: 8.812 kB / 0.8355 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.7252, allocations: 203.7 kB / 0.8357 GB, free: 10.41 MB / 0.6075 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.001361/0.7266, allocations: 1.234 MB / 0.8369 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.7269, allocations: 145 kB / 0.8371 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.7271, allocations: 98.58 kB / 0.8372 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/0.7277, allocations: 302.3 kB / 0.8375 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.7277, allocations: 32.38 kB / 0.8375 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.7277, allocations: 0 / 0.8375 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007741/0.7285, allocations: 300.2 kB / 0.8378 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.7285, allocations: 55.34 kB / 0.8378 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.7289, allocations: 320.7 kB / 0.8381 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.7289, allocations: 28.67 kB / 0.8382 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.729, allocations: 183.7 kB / 0.8383 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.7291, allocations: 62.83 kB / 0.8384 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.7292, allocations: 51.28 kB / 0.8384 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7293, allocations: 346.3 kB / 0.8388 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.7295, allocations: 69.92 kB / 0.8388 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.7297, allocations: 127.4 kB / 0.839 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.7301, allocations: 198.6 kB / 0.8392 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7301, allocations: 3 kB / 0.8392 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000468/0.7306, allocations: 251.1 kB / 0.8394 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7306, allocations: 4.969 kB / 0.8394 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7306, allocations: 2.562 kB / 0.8394 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7306, allocations: 6.594 kB / 0.8394 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.7309, allocations: 47.19 kB / 0.8395 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7309, allocations: 2.75 kB / 0.8395 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.7311, allocations: 29.52 kB / 0.8395 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.7311, allocations: 15.78 kB / 0.8395 GB, free: 7.293 MB / 0.6075 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.0001427/0.7313, allocations: 151.5 kB / 0.8396 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.7313, allocations: 30.66 kB / 0.8397 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.7318, allocations: 242.4 kB / 0.8399 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7318, allocations: 0 / 0.8399 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7319, allocations: 1.969 kB / 0.8399 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7319, allocations: 0 / 0.8399 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.7329, allocations: 0.7127 MB / 0.8406 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7329, allocations: 2.5 kB / 0.8406 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.7331, allocations: 35.47 kB / 0.8406 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.7331, allocations: 6.656 kB / 0.8406 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.7331, allocations: 6.375 kB / 0.8407 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7331, allocations: 2.656 kB / 0.8407 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.7331, allocations: 5.75 kB / 0.8407 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.7338, allocations: 452.2 kB / 0.8411 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.7339, allocations: 135.8 kB / 0.8412 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.734, allocations: 6.594 kB / 0.8412 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.7342, allocations: 11.88 kB / 0.8412 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.7342, allocations: 12.75 kB / 0.8412 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.7343, allocations: 11.5 kB / 0.8413 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002074/0.7345, allocations: 228.9 kB / 0.8415 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7345, allocations: 0 / 0.8415 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003876/0.7349, allocations: 82.5 kB / 0.8416 GB, free: 5.73 MB / 0.6075 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.001169/0.736, allocations: 1.049 MB / 0.8426 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.7365, allocations: 186.6 kB / 0.8428 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7365, allocations: 0 / 0.8428 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.7367, allocations: 94.09 kB / 0.8428 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000895/0.7376, allocations: 164.4 kB / 0.843 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.7412, allocations: 3.011 MB / 0.8459 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.7416, allocations: 0.7842 MB / 0.8467 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002299/0.7419, allocations: 68.7 kB / 0.8468 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.742, allocations: 89.22 kB / 0.8469 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.742, allocations: 0 / 0.8469 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.7768, allocations: 9.016 MB / 0.8557 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.668, allocations: 2.938 kB / 0.8557 GB, free: 10.89 MB / 0.6231 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)