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.005236/0.005236, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001367/0.001367, allocations: 198.1 kB / 16.68 MB, free: 5.977 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.89 kB / 0.5858 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4119, allocations: 81.02 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1907/0.6027, allocations: 167.4 MB / 0.8283 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.6057, allocations: 1.553 MB / 0.8298 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.6062, allocations: 11.94 kB / 0.8298 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.6068, allocations: 146.9 kB / 0.83 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.6087, allocations: 0.7039 MB / 0.8307 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.6105, allocations: 0.6016 MB / 0.8313 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009248/0.6114, allocations: 0.7128 MB / 0.832 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.6118, allocations: 217.2 kB / 0.8322 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.6124, allocations: 342.7 kB / 0.8325 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.6127, allocations: 219.1 kB / 0.8327 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.6127, allocations: 20 kB / 0.8327 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.6142, allocations: 0.8689 MB / 0.8336 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.6144, allocations: 99.7 kB / 0.8337 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.6146, allocations: 175.1 kB / 0.8338 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.6157, allocations: 0.7291 MB / 0.8345 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6157, allocations: 0 / 0.8345 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6157, allocations: 4 kB / 0.8345 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.6158, allocations: 0 / 0.8345 GB, free: 2.578 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009664/0.6167, allocations: 0.6653 MB / 0.8352 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6168, allocations: 8.031 kB / 0.8352 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.6169, allocations: 62.47 kB / 0.8353 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.618, allocations: 151.6 kB / 0.8354 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.6185, allocations: 321.9 kB / 0.8357 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.6185, allocations: 24.38 kB / 0.8357 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.6186, allocations: 20 kB / 0.8358 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.6191, allocations: 279.4 kB / 0.836 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6191, allocations: 0 / 0.836 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.6191, allocations: 12 kB / 0.836 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6191, allocations: 4 kB / 0.836 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.6195, allocations: 191.8 kB / 0.8362 GB, free: 0.7383 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.001455/0.621, allocations: 1.225 MB / 0.8374 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.6213, allocations: 134.5 kB / 0.8375 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.6215, allocations: 92.8 kB / 0.8376 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.6221, allocations: 299.2 kB / 0.8379 GB, free: 14.83 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.6221, allocations: 34.56 kB / 0.838 GB, free: 14.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.6221, allocations: 0 / 0.838 GB, free: 14.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007625/0.6229, allocations: 285.5 kB / 0.8382 GB, free: 14.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.623, allocations: 59.41 kB / 0.8383 GB, free: 14.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.6233, allocations: 308.5 kB / 0.8386 GB, free: 14.12 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.6233, allocations: 33.7 kB / 0.8386 GB, free: 14.08 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.6235, allocations: 184.3 kB / 0.8388 GB, free: 13.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.6235, allocations: 59.52 kB / 0.8388 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.6236, allocations: 41.7 kB / 0.8389 GB, free: 13.79 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6238, allocations: 342.8 kB / 0.8392 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.624, allocations: 67.95 kB / 0.8393 GB, free: 13.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.6242, allocations: 122.6 kB / 0.8394 GB, free: 13.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.6246, allocations: 190.8 kB / 0.8396 GB, free: 13.04 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6246, allocations: 0 / 0.8396 GB, free: 13.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004717/0.6251, allocations: 241.3 kB / 0.8398 GB, free: 12.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6251, allocations: 4 kB / 0.8398 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6251, allocations: 0 / 0.8398 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6251, allocations: 8.094 kB / 0.8398 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.6253, allocations: 43.91 kB / 0.8399 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.6253, allocations: 7.938 kB / 0.8399 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.6255, allocations: 31.77 kB / 0.8399 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.6256, allocations: 11.98 kB / 0.8399 GB, free: 12.7 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 (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.0001572/0.6257, allocations: 149.8 kB / 0.84 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.6258, allocations: 27.81 kB / 0.8401 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.6263, allocations: 220.3 kB / 0.8403 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6263, allocations: 4 kB / 0.8403 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.6263, allocations: 0 / 0.8403 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6263, allocations: 8.062 kB / 0.8403 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.6274, allocations: 0.6913 MB / 0.841 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6274, allocations: 4 kB / 0.841 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.6276, allocations: 31.92 kB / 0.841 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.6276, allocations: 4 kB / 0.841 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.6276, allocations: 224 / 0.841 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.6276, allocations: 8 kB / 0.841 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6276, allocations: 4 kB / 0.841 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.6283, allocations: 444 kB / 0.8414 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6285, allocations: 120.9 kB / 0.8416 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.6285, allocations: 8 kB / 0.8416 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.6287, allocations: 4 kB / 0.8416 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.6287, allocations: 23.98 kB / 0.8416 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.6288, allocations: 7.984 kB / 0.8416 GB, free: 10.81 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002289/0.629, allocations: 227 kB / 0.8418 GB, free: 10.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.629, allocations: 0 / 0.8418 GB, free: 10.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003932/0.6294, allocations: 87.88 kB / 0.8419 GB, free: 10.51 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 (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.001272/0.6307, allocations: 1.027 MB / 0.8429 GB, free: 9.445 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.6311, allocations: 171.8 kB / 0.8431 GB, free: 9.277 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6311, allocations: 0 / 0.8431 GB, free: 9.277 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.6313, allocations: 92.02 kB / 0.8432 GB, free: 9.188 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.6322, allocations: 163.6 kB / 0.8433 GB, free: 9.027 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.636, allocations: 2.913 MB / 0.8462 GB, free: 5.973 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.6364, allocations: 0.7795 MB / 0.8469 GB, free: 5.168 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000215/0.6366, allocations: 62.94 kB / 0.847 GB, free: 5.105 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.6368, allocations: 87.41 kB / 0.8471 GB, free: 5.02 MB / 0.67 GB Notification: Performance of SimCode: time 3.7e-07/0.6368, allocations: 0 / 0.8471 GB, free: 5.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.6694, allocations: 8.832 MB / 0.8557 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.794, allocations: 3.438 kB / 0.8557 GB, free: 12.36 MB / 0.6856 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)