Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.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.Density,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density",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.00107/0.00107, allocations: 108 kB / 15.61 MB, free: 152 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.001127/0.001127, allocations: 194.3 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.928/0.928, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 66.52 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4885/0.6399, allocations: 185 MB / 0.7652 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009525/0.6495, allocations: 6.966 MB / 0.772 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.6506, allocations: 27.88 kB / 0.772 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.6517, allocations: 401.5 kB / 0.7724 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.6552, allocations: 1.44 MB / 0.7738 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.6581, allocations: 1.159 MB / 0.7749 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002315/0.6605, allocations: 1.946 MB / 0.7768 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.6615, allocations: 0.6531 MB / 0.7774 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.6633, allocations: 0.8211 MB / 0.7782 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.6647, allocations: 0.5984 MB / 0.7788 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6648, allocations: 68 kB / 0.7789 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/0.6696, allocations: 1.925 MB / 0.7808 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.6701, allocations: 295.1 kB / 0.7811 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.6707, allocations: 430.1 kB / 0.7815 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.6744, allocations: 1.753 MB / 0.7832 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.6745, allocations: 0 / 0.7832 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6745, allocations: 4 kB / 0.7832 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.6745, allocations: 0 / 0.7832 GB, free: 1.359 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001919/0.6764, allocations: 1.164 MB / 0.7843 GB, free: 152 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6765, allocations: 12.03 kB / 0.7843 GB, free: 140 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.6766, allocations: 98.45 kB / 0.7844 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.6786, allocations: 271 kB / 0.7847 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.6796, allocations: 0.5715 MB / 0.7852 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.6797, allocations: 45.31 kB / 0.7853 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.6798, allocations: 55.91 kB / 0.7853 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.6809, allocations: 0.6478 MB / 0.786 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.6809, allocations: 0 / 0.786 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.681, allocations: 20 kB / 0.786 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.681, allocations: 17.31 kB / 0.786 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/0.6819, allocations: 0.5165 MB / 0.7865 GB, free: 13.84 MB / 0.6075 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.002896/0.6848, allocations: 2.472 MB / 0.7889 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.6855, allocations: 386.7 kB / 0.7893 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.6858, allocations: 236 kB / 0.7895 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.6864, allocations: 303.6 kB / 0.7898 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.6865, allocations: 42.88 kB / 0.7898 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.6865, allocations: 0 / 0.7898 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001335/0.6878, allocations: 0.6044 MB / 0.7904 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.6879, allocations: 63.33 kB / 0.7905 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.6884, allocations: 0.5028 MB / 0.791 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.6885, allocations: 37.7 kB / 0.791 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.6887, allocations: 324.5 kB / 0.7913 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.6888, allocations: 134 kB / 0.7915 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.689, allocations: 90.03 kB / 0.7915 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6891, allocations: 362.8 kB / 0.7919 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.6894, allocations: 174.5 kB / 0.7921 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.6898, allocations: 288.3 kB / 0.7923 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.6906, allocations: 453 kB / 0.7928 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6906, allocations: 0 / 0.7928 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000868/0.6914, allocations: 0.5213 MB / 0.7933 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6915, allocations: 12.03 kB / 0.7933 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6915, allocations: 0 / 0.7933 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.6915, allocations: 8 kB / 0.7933 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/0.6922, allocations: 132.8 kB / 0.7934 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000362/0.6926, allocations: 0.6055 MB / 0.794 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.6932, allocations: 50.92 kB / 0.7941 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.6932, allocations: 20 kB / 0.7941 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004836/0.6937, allocations: 344.9 kB / 0.7944 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003907/0.6941, allocations: 297 kB / 0.7947 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006611/0.6948, allocations: 455.1 kB / 0.7951 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.6948, allocations: 0 / 0.7951 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008431/0.6956, allocations: 0.5238 MB / 0.7956 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.6956, allocations: 8 kB / 0.7956 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.6957, allocations: 0 / 0.7956 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.6957, allocations: 4 kB / 0.7957 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.6962, allocations: 124.1 kB / 0.7958 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6962, allocations: 9.547 kB / 0.7958 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.6966, allocations: 43.67 kB / 0.7958 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.6967, allocations: 12 kB / 0.7958 GB, free: 3.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.6969, allocations: 205.9 kB / 0.796 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.697, allocations: 67.22 kB / 0.7961 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/0.6978, allocations: 485 kB / 0.7966 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6978, allocations: 4 kB / 0.7966 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6978, allocations: 0 / 0.7966 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007699/0.6986, allocations: 0.7066 MB / 0.7972 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.7005, allocations: 1.28 MB / 0.7985 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7005, allocations: 7.984 kB / 0.7985 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.7011, allocations: 116.1 kB / 0.7986 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.7011, allocations: 9.234 kB / 0.7986 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.7011, allocations: 16 kB / 0.7986 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002988/0.7014, allocations: 0.5898 MB / 0.7992 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7015, allocations: 0 / 0.7992 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.7026, allocations: 0.8336 MB / 0.8 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.7028, allocations: 184.3 kB / 0.8002 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.7029, allocations: 8 kB / 0.8002 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.7033, allocations: 15.98 kB / 0.8002 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.7034, allocations: 27.95 kB / 0.8003 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.7034, allocations: 16.56 kB / 0.8003 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003651/0.7038, allocations: 358.8 kB / 0.8006 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7038, allocations: 4 kB / 0.8006 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008691/0.7047, allocations: 355.1 kB / 0.801 GB, free: 14.27 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/0.7065, allocations: 1.48 MB / 0.8024 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.7079, allocations: 0.7089 MB / 0.8031 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7079, allocations: 0 / 0.8031 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.7083, allocations: 227.7 kB / 0.8033 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.71, allocations: 354.8 kB / 0.8037 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/0.7167, allocations: 5.108 MB / 0.8086 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.7172, allocations: 0.9496 MB / 0.8096 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007361/0.718, allocations: 212.9 kB / 0.8098 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.7183, allocations: 227.4 kB / 0.81 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.7183, allocations: 4 kB / 0.81 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.7562, allocations: 17.71 MB / 0.8273 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.1, allocations: 14.45 kB / 0.8273 GB, free: 3.359 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density_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_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)