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.001196/0.001196, allocations: 108 kB / 15.6 MB, free: 132 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.001193/0.001193, allocations: 193 kB / 16.53 MB, free: 6.391 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.183/1.183, 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/package.mo): time 0.6658/0.6658, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.88 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3367, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.1733/0.5101, allocations: 185 MB / 0.7609 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008457/0.5186, allocations: 6.97 MB / 0.7677 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006564/0.5193, allocations: 27.88 kB / 0.7677 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.5202, allocations: 405.5 kB / 0.7681 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.5231, allocations: 1.445 MB / 0.7695 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.5255, allocations: 1.151 MB / 0.7706 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.5274, allocations: 1.945 MB / 0.7725 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007224/0.5281, allocations: 0.6609 MB / 0.7732 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.5292, allocations: 0.8133 MB / 0.774 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009644/0.5302, allocations: 0.6021 MB / 0.7746 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.5303, allocations: 68 kB / 0.7746 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.5332, allocations: 1.929 MB / 0.7765 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.5334, allocations: 287.2 kB / 0.7768 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.5338, allocations: 434 kB / 0.7772 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.5359, allocations: 1.757 MB / 0.7789 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.5359, allocations: 0 / 0.7789 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5359, allocations: 0 / 0.7789 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.5359, allocations: 0 / 0.7789 GB, free: 5.363 MB / 0.6075 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.001448/0.5374, allocations: 1.161 MB / 0.7801 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5374, allocations: 12.02 kB / 0.7801 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.836e-05/0.5375, allocations: 98.52 kB / 0.7802 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.5392, allocations: 270.8 kB / 0.7804 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007275/0.5399, allocations: 0.5792 MB / 0.781 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.54, allocations: 41.31 kB / 0.781 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.5401, allocations: 59.94 kB / 0.7811 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.541, allocations: 0.6401 MB / 0.7817 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.541, allocations: 4 kB / 0.7817 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.5411, allocations: 20 kB / 0.7817 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.5411, allocations: 21.31 kB / 0.7818 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008291/0.5419, allocations: 0.5126 MB / 0.7823 GB, free: 1.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.002585/0.5445, allocations: 2.464 MB / 0.7847 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.5451, allocations: 384.8 kB / 0.785 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.5454, allocations: 233.4 kB / 0.7853 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005043/0.546, allocations: 311.6 kB / 0.7855 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.546, allocations: 38.89 kB / 0.7856 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.546, allocations: 0 / 0.7856 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001206/0.5472, allocations: 0.619 MB / 0.7862 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.5472, allocations: 55.41 kB / 0.7862 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.5477, allocations: 0.5027 MB / 0.7867 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.5478, allocations: 37.64 kB / 0.7868 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.548, allocations: 320.5 kB / 0.7871 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5481, allocations: 142 kB / 0.7872 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.5482, allocations: 90.03 kB / 0.7873 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5484, allocations: 366.8 kB / 0.7876 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.5487, allocations: 170.5 kB / 0.7878 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.5491, allocations: 284.3 kB / 0.7881 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.5497, allocations: 449 kB / 0.7885 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5497, allocations: 4 kB / 0.7885 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008145/0.5505, allocations: 0.5288 MB / 0.789 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5506, allocations: 6.188 kB / 0.789 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5506, allocations: 4 kB / 0.789 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5506, allocations: 7.938 kB / 0.789 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.5513, allocations: 132.1 kB / 0.7892 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002967/0.5516, allocations: 0.5898 MB / 0.7897 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.552, allocations: 51.59 kB / 0.7898 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.5521, allocations: 24.09 kB / 0.7898 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004412/0.5525, allocations: 350.4 kB / 0.7902 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003573/0.5529, allocations: 284.3 kB / 0.7904 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006226/0.5535, allocations: 452.4 kB / 0.7909 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.5535, allocations: 0 / 0.7909 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007902/0.5543, allocations: 0.5278 MB / 0.7914 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.5544, allocations: 8 kB / 0.7914 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.5544, allocations: 0 / 0.7914 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.5544, allocations: 8 kB / 0.7914 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.5548, allocations: 115.8 kB / 0.7915 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5548, allocations: 4 kB / 0.7915 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.5553, allocations: 55.78 kB / 0.7916 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.5553, allocations: 20 kB / 0.7916 GB, free: 7.766 MB / 0.6231 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.0001205/0.5555, allocations: 204.1 kB / 0.7918 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.5556, allocations: 55.34 kB / 0.7918 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007581/0.5563, allocations: 487.9 kB / 0.7923 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5563, allocations: 8 kB / 0.7923 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5563, allocations: 3.938 kB / 0.7923 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007035/0.5571, allocations: 0.7068 MB / 0.793 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.5587, allocations: 1.282 MB / 0.7942 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5587, allocations: 4 kB / 0.7942 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.5593, allocations: 123.8 kB / 0.7944 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5593, allocations: 4.219 kB / 0.7944 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.5593, allocations: 15.98 kB / 0.7944 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002447/0.5596, allocations: 0.5938 MB / 0.795 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5596, allocations: 4.156 kB / 0.795 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5606, allocations: 0.8212 MB / 0.7958 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.5608, allocations: 176.4 kB / 0.7959 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.5609, allocations: 16 kB / 0.796 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.5613, allocations: 15.98 kB / 0.796 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.5614, allocations: 31.95 kB / 0.796 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.5614, allocations: 12 kB / 0.796 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003229/0.5617, allocations: 354.8 kB / 0.7963 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5617, allocations: 0 / 0.7963 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007715/0.5625, allocations: 367.1 kB / 0.7967 GB, free: 2.266 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.001529/0.564, allocations: 1.479 MB / 0.7981 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.5653, allocations: 0.7114 MB / 0.7988 GB, free: 32 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5653, allocations: 0 / 0.7988 GB, free: 32 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.5657, allocations: 224 kB / 0.799 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.5672, allocations: 357.8 kB / 0.7994 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.5729, allocations: 5.113 MB / 0.8044 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.5733, allocations: 0.9495 MB / 0.8053 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005789/0.5739, allocations: 208.9 kB / 0.8055 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.5742, allocations: 231.3 kB / 0.8057 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.5742, allocations: 4 kB / 0.8057 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5497/1.124, allocations: 17.69 MB / 0.823 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.37, allocations: 5.906 kB / 0.823 GB, free: 216.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)