Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_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.001158/0.001158, allocations: 104 kB / 15.6 MB, free: 148 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.001328/0.001328, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.62 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3687, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1763/0.5451, allocations: 167.4 MB / 0.7436 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.5477, allocations: 1.549 MB / 0.7451 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.5481, allocations: 11.94 kB / 0.7451 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.5485, allocations: 146.9 kB / 0.7453 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.5502, allocations: 0.7039 MB / 0.746 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.5517, allocations: 0.6024 MB / 0.7466 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007987/0.5525, allocations: 0.7012 MB / 0.7472 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.5529, allocations: 237 kB / 0.7475 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.5535, allocations: 334.8 kB / 0.7478 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.5539, allocations: 227 kB / 0.748 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.5539, allocations: 24 kB / 0.748 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.5553, allocations: 0.8572 MB / 0.7489 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.5555, allocations: 111.7 kB / 0.749 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.5557, allocations: 159.2 kB / 0.7491 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.5567, allocations: 0.7207 MB / 0.7498 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.5568, allocations: 0 / 0.7498 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5568, allocations: 4 kB / 0.7498 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.5568, allocations: 0 / 0.7498 GB, free: 3.195 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.0009445/0.5577, allocations: 0.6505 MB / 0.7505 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5578, allocations: 12.03 kB / 0.7505 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.5578, allocations: 54.55 kB / 0.7505 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.559, allocations: 155.4 kB / 0.7507 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.5594, allocations: 305.7 kB / 0.751 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.5594, allocations: 20.38 kB / 0.751 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.5595, allocations: 31.88 kB / 0.751 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.5599, allocations: 267.5 kB / 0.7513 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.56, allocations: 0 / 0.7513 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.56, allocations: 12 kB / 0.7513 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.56, allocations: 8 kB / 0.7513 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.5604, allocations: 199.7 kB / 0.7515 GB, free: 1.383 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.001311/0.5617, allocations: 1.221 MB / 0.7527 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.562, allocations: 138.4 kB / 0.7528 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.5622, allocations: 88.81 kB / 0.7529 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/0.5628, allocations: 303.2 kB / 0.7532 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.5629, allocations: 38.5 kB / 0.7532 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.5629, allocations: 0 / 0.7532 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000747/0.5636, allocations: 277.5 kB / 0.7535 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5637, allocations: 51.41 kB / 0.7535 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.564, allocations: 320.5 kB / 0.7538 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.564, allocations: 25.7 kB / 0.7539 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5641, allocations: 180.2 kB / 0.754 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.5642, allocations: 55.2 kB / 0.7541 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.5643, allocations: 41.7 kB / 0.7541 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5644, allocations: 338.8 kB / 0.7545 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.5645, allocations: 71.89 kB / 0.7545 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.5647, allocations: 125 kB / 0.7546 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.5651, allocations: 195.8 kB / 0.7548 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5651, allocations: 0 / 0.7548 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004501/0.5656, allocations: 237.1 kB / 0.7551 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5656, allocations: 4 kB / 0.7551 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5656, allocations: 4.094 kB / 0.7551 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5656, allocations: 4 kB / 0.7551 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.5658, allocations: 47.91 kB / 0.7551 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.5659, allocations: 0 / 0.7551 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5661, allocations: 35.7 kB / 0.7551 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.5661, allocations: 12 kB / 0.7552 GB, free: 13.35 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 (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.0001275/0.5662, allocations: 147.3 kB / 0.7553 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.5663, allocations: 31.62 kB / 0.7553 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.5667, allocations: 220.3 kB / 0.7555 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.5668, allocations: 0 / 0.7555 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5668, allocations: 0 / 0.7555 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5668, allocations: 3.938 kB / 0.7555 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.5678, allocations: 0.6912 MB / 0.7562 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5678, allocations: 3.984 kB / 0.7562 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5679, allocations: 27.98 kB / 0.7562 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.568, allocations: 4 kB / 0.7562 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.568, allocations: 12.22 kB / 0.7563 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.568, allocations: 4 kB / 0.7563 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.568, allocations: 3.938 kB / 0.7563 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.5686, allocations: 435.5 kB / 0.7567 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5687, allocations: 112.8 kB / 0.7568 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.5688, allocations: 23.86 kB / 0.7568 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.569, allocations: 8 kB / 0.7568 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.569, allocations: 16.05 kB / 0.7568 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.569, allocations: 8 kB / 0.7568 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002047/0.5692, allocations: 227 kB / 0.7571 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5692, allocations: 0 / 0.7571 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004291/0.5697, allocations: 83.84 kB / 0.7571 GB, free: 11.17 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 (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.001089/0.5708, allocations: 1.032 MB / 0.7581 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.5712, allocations: 175.7 kB / 0.7583 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/0.5712, allocations: 4.188 kB / 0.7583 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.5714, allocations: 83.88 kB / 0.7584 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.5724, allocations: 168.8 kB / 0.7586 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.5763, allocations: 2.928 MB / 0.7614 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5767, allocations: 0.7795 MB / 0.7622 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.5769, allocations: 58.92 kB / 0.7622 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.5771, allocations: 87.42 kB / 0.7623 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.5771, allocations: 0 / 0.7623 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.6091, allocations: 8.733 MB / 0.7708 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/8.185, allocations: 12.84 kB / 0.7709 GB, free: 13.11 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)