Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Density,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_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.001215/0.001215, 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.001282/0.001282, allocations: 195.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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7782/0.7782, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 57 kB / 0.5019 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 80.21 MB / 0.5802 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4176/0.5983, allocations: 185 MB / 0.7609 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009442/0.6077, allocations: 6.964 MB / 0.7677 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/0.6087, allocations: 27.81 kB / 0.7677 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.6098, allocations: 397.5 kB / 0.7681 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.6131, allocations: 1.439 MB / 0.7695 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.6159, allocations: 1.163 MB / 0.7706 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.6181, allocations: 1.946 MB / 0.7725 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000873/0.619, allocations: 0.6492 MB / 0.7732 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.6203, allocations: 0.8211 MB / 0.774 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.6215, allocations: 0.6075 MB / 0.7746 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.6216, allocations: 68 kB / 0.7746 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.6253, allocations: 1.929 MB / 0.7765 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.6257, allocations: 291.3 kB / 0.7768 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005532/0.6262, allocations: 434 kB / 0.7772 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.6291, allocations: 1.757 MB / 0.7789 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6291, allocations: 0 / 0.7789 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6291, allocations: 0 / 0.7789 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.6291, allocations: 0 / 0.7789 GB, free: 7.25 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.001827/0.631, allocations: 1.163 MB / 0.7801 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.631, allocations: 8.031 kB / 0.7801 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.6311, allocations: 98.45 kB / 0.7802 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.633, allocations: 270.8 kB / 0.7804 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/0.6339, allocations: 0.5792 MB / 0.781 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.6339, allocations: 45.25 kB / 0.781 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.634, allocations: 56 kB / 0.7811 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.6351, allocations: 0.6323 MB / 0.7817 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.6351, allocations: 0 / 0.7817 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.6352, allocations: 24 kB / 0.7817 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.6352, allocations: 21.31 kB / 0.7817 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.6361, allocations: 0.5204 MB / 0.7822 GB, free: 3.727 MB / 0.5919 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.002851/0.639, allocations: 2.465 MB / 0.7847 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.6396, allocations: 378.9 kB / 0.785 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.64, allocations: 233.4 kB / 0.7852 GB, free: 452 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.6405, allocations: 307.6 kB / 0.7855 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.6406, allocations: 42.88 kB / 0.7856 GB, free: 36 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.6406, allocations: 0 / 0.7856 GB, free: 36 kB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001382/0.642, allocations: 0.6151 MB / 0.7862 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.642, allocations: 63.33 kB / 0.7862 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.6426, allocations: 0.495 MB / 0.7867 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.6426, allocations: 29.7 kB / 0.7867 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.6429, allocations: 328.5 kB / 0.7871 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.643, allocations: 138 kB / 0.7872 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.6432, allocations: 97.97 kB / 0.7873 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6433, allocations: 362.8 kB / 0.7876 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.6436, allocations: 174.5 kB / 0.7878 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.6441, allocations: 292.2 kB / 0.7881 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.6448, allocations: 445 kB / 0.7885 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6448, allocations: 0 / 0.7885 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008877/0.6457, allocations: 0.5288 MB / 0.789 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6457, allocations: 8 kB / 0.789 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6457, allocations: 0 / 0.789 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6457, allocations: 4 kB / 0.789 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.6465, allocations: 143.2 kB / 0.7892 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003484/0.6468, allocations: 0.5977 MB / 0.7897 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.6474, allocations: 43.61 kB / 0.7898 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.6474, allocations: 16 kB / 0.7898 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005189/0.648, allocations: 358.5 kB / 0.7901 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003961/0.6484, allocations: 289.9 kB / 0.7904 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000678/0.649, allocations: 444.7 kB / 0.7908 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.6491, allocations: 0 / 0.7908 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008655/0.6499, allocations: 0.5318 MB / 0.7914 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.6499, allocations: 4 kB / 0.7914 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.65, allocations: 4 kB / 0.7914 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.65, allocations: 7.938 kB / 0.7914 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.6505, allocations: 115.9 kB / 0.7915 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6505, allocations: 7.984 kB / 0.7915 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.651, allocations: 39.67 kB / 0.7915 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.651, allocations: 20.03 kB / 0.7916 GB, free: 9.672 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.0001628/0.6512, allocations: 210.8 kB / 0.7918 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.6513, allocations: 59.28 kB / 0.7918 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.6522, allocations: 482.4 kB / 0.7923 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6522, allocations: 4 kB / 0.7923 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6522, allocations: 0 / 0.7923 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007785/0.653, allocations: 0.7107 MB / 0.793 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.6549, allocations: 1.293 MB / 0.7942 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.655, allocations: 3.984 kB / 0.7942 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.6556, allocations: 128.5 kB / 0.7944 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6556, allocations: 7.984 kB / 0.7944 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.6556, allocations: 12 kB / 0.7944 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003078/0.656, allocations: 0.5901 MB / 0.795 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.656, allocations: 4.031 kB / 0.795 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.6571, allocations: 0.8213 MB / 0.7958 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.6574, allocations: 176.3 kB / 0.7959 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.338e-05/0.6575, allocations: 16 kB / 0.7959 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.6579, allocations: 21.88 kB / 0.796 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.658, allocations: 31.89 kB / 0.796 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.658, allocations: 16 kB / 0.796 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003854/0.6584, allocations: 354.8 kB / 0.7964 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6584, allocations: 3.938 kB / 0.7964 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00093/0.6593, allocations: 359.1 kB / 0.7967 GB, free: 4.164 MB / 0.6075 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.001761/0.6611, allocations: 1.471 MB / 0.7981 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.6626, allocations: 0.7105 MB / 0.7988 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6627, allocations: 0 / 0.7988 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.6631, allocations: 225.2 kB / 0.799 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.6647, allocations: 362.6 kB / 0.7994 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/0.6713, allocations: 5.113 MB / 0.8044 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.6719, allocations: 0.9496 MB / 0.8053 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007478/0.6727, allocations: 200.9 kB / 0.8055 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.673, allocations: 227.4 kB / 0.8057 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.673, allocations: 0 / 0.8057 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04239/0.7154, allocations: 17.72 MB / 0.823 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.01, allocations: 64 / 0.823 GB, free: 9.312 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)