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.00694/0.00694, allocations: 98.27 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.001619/0.00162, allocations: 197.2 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 64.41 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.179, allocations: 80.21 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5821/0.7612, allocations: 167.3 MB / 0.8226 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.7643, allocations: 1.545 MB / 0.8241 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.7647, allocations: 14.31 kB / 0.8242 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.7653, allocations: 148.3 kB / 0.8243 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.7674, allocations: 0.7365 MB / 0.825 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.7693, allocations: 0.6055 MB / 0.8256 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.7703, allocations: 0.7054 MB / 0.8263 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.7708, allocations: 229.3 kB / 0.8265 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006748/0.7715, allocations: 341.3 kB / 0.8268 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.7718, allocations: 225.2 kB / 0.8271 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.7719, allocations: 23.38 kB / 0.8271 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.7735, allocations: 0.8729 MB / 0.8279 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.7736, allocations: 108.1 kB / 0.828 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.7738, allocations: 164.2 kB / 0.8282 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.775, allocations: 0.729 MB / 0.8289 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.775, allocations: 6.219 kB / 0.8289 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.332e-06/0.775, allocations: 0 / 0.8289 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.775, allocations: 0.8125 kB / 0.8289 GB, free: 2.738 MB / 0.6387 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.0009045/0.7759, allocations: 0.6671 MB / 0.8296 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.776, allocations: 9.844 kB / 0.8296 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.776, allocations: 58.38 kB / 0.8296 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.7772, allocations: 157.8 kB / 0.8298 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.7777, allocations: 323.9 kB / 0.8301 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.7777, allocations: 16.88 kB / 0.8301 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.7778, allocations: 22.66 kB / 0.8301 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.7783, allocations: 278.3 kB / 0.8304 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7783, allocations: 3.891 kB / 0.8304 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.7783, allocations: 9.281 kB / 0.8304 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.7783, allocations: 6.312 kB / 0.8304 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.7788, allocations: 198.9 kB / 0.8306 GB, free: 1.863 MB / 0.6387 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.001341/0.7801, allocations: 1.214 MB / 0.8318 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.7804, allocations: 138.4 kB / 0.8319 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.7806, allocations: 95.64 kB / 0.832 GB, free: 17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.7812, allocations: 303.7 kB / 0.8323 GB, free: 16.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.7812, allocations: 36 kB / 0.8323 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.7812, allocations: 1.094 kB / 0.8323 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007402/0.782, allocations: 279 kB / 0.8326 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.782, allocations: 56.81 kB / 0.8327 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.7823, allocations: 322.2 kB / 0.833 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.7824, allocations: 30.8 kB / 0.833 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.7825, allocations: 187.7 kB / 0.8332 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.7825, allocations: 50.39 kB / 0.8332 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.7826, allocations: 46.12 kB / 0.8333 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7827, allocations: 338.1 kB / 0.8336 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.7829, allocations: 63.47 kB / 0.8336 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.7831, allocations: 122.3 kB / 0.8338 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.7834, allocations: 189.2 kB / 0.8339 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7834, allocations: 0.9062 kB / 0.8339 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00044/0.7839, allocations: 248.6 kB / 0.8342 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7839, allocations: 10.81 kB / 0.8342 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7839, allocations: 1.344 kB / 0.8342 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7839, allocations: 3.406 kB / 0.8342 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.7841, allocations: 42.05 kB / 0.8342 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7842, allocations: 3.219 kB / 0.8342 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.7844, allocations: 30.81 kB / 0.8343 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.7844, allocations: 13.81 kB / 0.8343 GB, free: 15.8 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.0001358/0.7845, allocations: 150.7 kB / 0.8344 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.7846, allocations: 34.44 kB / 0.8345 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.785, allocations: 217.9 kB / 0.8347 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.785, allocations: 1.375 kB / 0.8347 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7851, allocations: 3.297 kB / 0.8347 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7851, allocations: 0 / 0.8347 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.786, allocations: 0.6878 MB / 0.8353 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.786, allocations: 3.391 kB / 0.8353 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.7862, allocations: 30.83 kB / 0.8354 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.7862, allocations: 11.48 kB / 0.8354 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.7862, allocations: 2.812 kB / 0.8354 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.7862, allocations: 8.703 kB / 0.8354 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7862, allocations: 5.938 kB / 0.8354 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.7868, allocations: 434.4 kB / 0.8358 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.787, allocations: 121 kB / 0.8359 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.787, allocations: 10.36 kB / 0.8359 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.7872, allocations: 11.17 kB / 0.8359 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.7873, allocations: 17.72 kB / 0.836 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.7873, allocations: 6.125 kB / 0.836 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001955/0.7875, allocations: 225.7 kB / 0.8362 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7875, allocations: 2.125 kB / 0.8362 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004116/0.7879, allocations: 80.92 kB / 0.8363 GB, free: 14.85 MB / 0.6544 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.001107/0.789, allocations: 1.029 MB / 0.8373 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.7894, allocations: 171.5 kB / 0.8374 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7894, allocations: 0 / 0.8374 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.7896, allocations: 90.3 kB / 0.8375 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.7905, allocations: 168.3 kB / 0.8377 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.7938, allocations: 2.904 MB / 0.8405 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.7942, allocations: 0.7783 MB / 0.8413 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.7944, allocations: 69.12 kB / 0.8413 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.7945, allocations: 85.73 kB / 0.8414 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.7945, allocations: 3.031 kB / 0.8414 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.8259, allocations: 8.83 MB / 0.8501 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.802, allocations: 9.969 kB / 0.8501 GB, free: 11.14 MB / 0.6544 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)