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.005317/0.005317, allocations: 101.9 kB / 15.73 MB, free: 6.066 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.001281/0.001281, allocations: 196.8 kB / 16.68 MB, free: 5.973 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.91 kB / 0.5809 GB, free: 7.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4279, allocations: 80.21 MB / 0.6592 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2009/0.6289, allocations: 167.4 MB / 0.8226 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.6318, allocations: 1.547 MB / 0.8241 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.6321, allocations: 11.94 kB / 0.8242 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.6325, allocations: 142.9 kB / 0.8243 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.6343, allocations: 0.7117 MB / 0.825 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.6358, allocations: 0.601 MB / 0.8256 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008649/0.6367, allocations: 0.709 MB / 0.8263 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.6371, allocations: 227.2 kB / 0.8265 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.6377, allocations: 334.7 kB / 0.8268 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.638, allocations: 219.1 kB / 0.827 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.638, allocations: 24 kB / 0.827 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.6395, allocations: 0.865 MB / 0.8279 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.6397, allocations: 107.7 kB / 0.828 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.6399, allocations: 163.2 kB / 0.8281 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.641, allocations: 0.7319 MB / 0.8289 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.641, allocations: 4 kB / 0.8289 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.641, allocations: 0 / 0.8289 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.641, allocations: 0 / 0.8289 GB, free: 7.77 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.001018/0.642, allocations: 0.6653 MB / 0.8295 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6421, allocations: 11.97 kB / 0.8295 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/0.6422, allocations: 58.55 kB / 0.8296 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6433, allocations: 151.6 kB / 0.8297 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.6438, allocations: 325.9 kB / 0.83 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.6439, allocations: 24.38 kB / 0.8301 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.6439, allocations: 20 kB / 0.8301 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.6444, allocations: 279.5 kB / 0.8303 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6444, allocations: 4 kB / 0.8303 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.6445, allocations: 8 kB / 0.8303 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.6445, allocations: 8 kB / 0.8304 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.6449, allocations: 195.8 kB / 0.8305 GB, free: 5.922 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.001625/0.6465, allocations: 1.229 MB / 0.8317 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.6468, allocations: 130.5 kB / 0.8319 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.647, allocations: 84.8 kB / 0.8319 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.6476, allocations: 303.2 kB / 0.8322 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.6477, allocations: 46.48 kB / 0.8323 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.6477, allocations: 0 / 0.8323 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007574/0.6485, allocations: 280.3 kB / 0.8325 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.6485, allocations: 59.39 kB / 0.8326 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.6489, allocations: 308.6 kB / 0.8329 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.6489, allocations: 29.7 kB / 0.8329 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.6491, allocations: 184.3 kB / 0.8331 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.6491, allocations: 55.53 kB / 0.8332 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.6492, allocations: 41.7 kB / 0.8332 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6494, allocations: 350.7 kB / 0.8335 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.6495, allocations: 63.95 kB / 0.8336 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.6498, allocations: 119 kB / 0.8337 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.6503, allocations: 192.9 kB / 0.8339 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6503, allocations: 0 / 0.8339 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005573/0.6509, allocations: 241.3 kB / 0.8341 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.6509, allocations: 8.094 kB / 0.8341 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6509, allocations: 4 kB / 0.8341 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6509, allocations: 0 / 0.8341 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.6511, allocations: 43.86 kB / 0.8342 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6511, allocations: 7.938 kB / 0.8342 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.6513, allocations: 31.83 kB / 0.8342 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.6514, allocations: 4 kB / 0.8342 GB, free: 1.898 MB / 0.6544 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.0001643/0.6515, allocations: 150.5 kB / 0.8344 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.6516, allocations: 31.81 kB / 0.8344 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.6521, allocations: 228.4 kB / 0.8346 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6521, allocations: 3.984 kB / 0.8346 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6521, allocations: 7.938 kB / 0.8346 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.6521, allocations: 0 / 0.8346 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.6532, allocations: 0.6835 MB / 0.8353 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6532, allocations: 0 / 0.8353 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.6534, allocations: 39.91 kB / 0.8353 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6534, allocations: 8.219 kB / 0.8353 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.6534, allocations: 4 kB / 0.8353 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6534, allocations: 0 / 0.8353 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6535, allocations: 4 kB / 0.8353 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.6542, allocations: 433.1 kB / 0.8358 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.6543, allocations: 120.9 kB / 0.8359 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.6543, allocations: 8 kB / 0.8359 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.6545, allocations: 7.984 kB / 0.8359 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.6546, allocations: 23.98 kB / 0.8359 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.6546, allocations: 7.938 kB / 0.8359 GB, free: 12 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002537/0.6549, allocations: 227 kB / 0.8361 GB, free: 15.79 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6549, allocations: 3.938 kB / 0.8361 GB, free: 15.79 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003745/0.6553, allocations: 79.89 kB / 0.8362 GB, free: 15.71 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.001327/0.6566, allocations: 1.035 MB / 0.8372 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.6571, allocations: 171.3 kB / 0.8374 GB, free: 14.47 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6571, allocations: 4.062 kB / 0.8374 GB, free: 14.47 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.6573, allocations: 91.77 kB / 0.8375 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.6582, allocations: 168.8 kB / 0.8376 GB, free: 14.21 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.6624, allocations: 2.908 MB / 0.8405 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.6629, allocations: 0.7795 MB / 0.8412 GB, free: 10.36 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002164/0.6631, allocations: 62.94 kB / 0.8413 GB, free: 10.29 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.6632, allocations: 83.41 kB / 0.8414 GB, free: 10.21 MB / 0.67 GB Notification: Performance of SimCode: time 3.6e-07/0.6633, allocations: 4 kB / 0.8414 GB, free: 10.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.6992, allocations: 8.823 MB / 0.85 GB, free: 1.602 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.86, allocations: 7.719 kB / 0.85 GB, free: 1.594 MB / 0.67 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)