Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",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.001248/0.001247, allocations: 108 kB / 15.6 MB, free: 132 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.001245/0.001245, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9508/0.9508, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 59.78 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1505, allocations: 80.95 MB / 0.5845 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4119/0.5625, allocations: 167.3 MB / 0.7479 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.5652, allocations: 1.537 MB / 0.7494 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.5655, allocations: 12.47 kB / 0.7494 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.566, allocations: 146.2 kB / 0.7495 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.5676, allocations: 0.7079 MB / 0.7502 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.569, allocations: 0.5918 MB / 0.7508 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.5697, allocations: 0.7083 MB / 0.7515 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.5701, allocations: 223.4 kB / 0.7517 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005062/0.5706, allocations: 339.3 kB / 0.752 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.5708, allocations: 219.2 kB / 0.7522 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.5709, allocations: 24.06 kB / 0.7523 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.5723, allocations: 0.8661 MB / 0.7531 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.5724, allocations: 110 kB / 0.7532 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.5725, allocations: 166.6 kB / 0.7534 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000895/0.5734, allocations: 0.7154 MB / 0.7541 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5735, allocations: 4 kB / 0.7541 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5735, allocations: 0 / 0.7541 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5735, allocations: 0 / 0.7541 GB, free: 14.76 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008281/0.5743, allocations: 0.6498 MB / 0.7547 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5744, allocations: 14.72 kB / 0.7547 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.5744, allocations: 57.75 kB / 0.7548 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.5756, allocations: 151.3 kB / 0.7549 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.576, allocations: 311.5 kB / 0.7552 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.576, allocations: 19.56 kB / 0.7552 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.576, allocations: 24.44 kB / 0.7553 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.5765, allocations: 270.8 kB / 0.7555 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5765, allocations: 1.25 kB / 0.7555 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.5766, allocations: 16 kB / 0.7555 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.5766, allocations: 4 kB / 0.7555 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.577, allocations: 203.8 kB / 0.7557 GB, free: 13.32 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.001328/0.5783, allocations: 1.214 MB / 0.7569 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.5786, allocations: 130.5 kB / 0.7571 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.5788, allocations: 96.73 kB / 0.7571 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006189/0.5794, allocations: 307.2 kB / 0.7574 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.5794, allocations: 34.5 kB / 0.7575 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.5794, allocations: 0 / 0.7575 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007512/0.5802, allocations: 278.3 kB / 0.7577 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.5802, allocations: 51.41 kB / 0.7578 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.5805, allocations: 316.5 kB / 0.7581 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.5806, allocations: 25.7 kB / 0.7581 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5807, allocations: 180.1 kB / 0.7583 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.5808, allocations: 63.17 kB / 0.7583 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.5808, allocations: 37.72 kB / 0.7584 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5809, allocations: 346.7 kB / 0.7587 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.5811, allocations: 75.08 kB / 0.7588 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5813, allocations: 123.8 kB / 0.7589 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.5817, allocations: 198.5 kB / 0.7591 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5817, allocations: 0 / 0.7591 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004403/0.5821, allocations: 237.8 kB / 0.7593 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5822, allocations: 8 kB / 0.7593 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5822, allocations: 4.094 kB / 0.7593 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5822, allocations: 4 kB / 0.7593 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.5824, allocations: 39.92 kB / 0.7594 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5824, allocations: 3.984 kB / 0.7594 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.5826, allocations: 27.78 kB / 0.7594 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.5826, allocations: 15.98 kB / 0.7594 GB, free: 9.297 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 (22): * Single equations (assignments): 22 * 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.0001384/0.5828, allocations: 151 kB / 0.7596 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.5828, allocations: 31.62 kB / 0.7596 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.5833, allocations: 219.9 kB / 0.7598 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5833, allocations: 0 / 0.7598 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5833, allocations: 0 / 0.7598 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5833, allocations: 8.078 kB / 0.7598 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.5843, allocations: 0.6842 MB / 0.7605 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5843, allocations: 5.234 kB / 0.7605 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5845, allocations: 35.91 kB / 0.7605 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5845, allocations: 4.219 kB / 0.7605 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5845, allocations: 12 kB / 0.7605 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.5845, allocations: 4 kB / 0.7605 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.5846, allocations: 3.938 kB / 0.7605 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.5852, allocations: 429 kB / 0.7609 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5853, allocations: 128.7 kB / 0.7611 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.5853, allocations: 0 / 0.7611 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.5855, allocations: 17.55 kB / 0.7611 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.5856, allocations: 12.05 kB / 0.7611 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.5856, allocations: 8 kB / 0.7611 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002067/0.5858, allocations: 227 kB / 0.7613 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.463e-06/0.5858, allocations: 0 / 0.7613 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003878/0.5862, allocations: 83.84 kB / 0.7614 GB, free: 7.117 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 (15): * Single equations (assignments): 15 * 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.001148/0.5874, allocations: 1.022 MB / 0.7624 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.5878, allocations: 183.6 kB / 0.7626 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5878, allocations: 8.188 kB / 0.7626 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.588, allocations: 83.88 kB / 0.7627 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.5889, allocations: 168.7 kB / 0.7628 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.5923, allocations: 2.918 MB / 0.7657 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5926, allocations: 0.7793 MB / 0.7664 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.5929, allocations: 59.64 kB / 0.7665 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.593, allocations: 87.41 kB / 0.7666 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.593, allocations: 4 kB / 0.7666 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.621, allocations: 8.744 MB / 0.7751 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/8.247, allocations: 12.8 kB / 0.7751 GB, free: 9.062 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)