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.0007643/0.0007644, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004782/0.004782, allocations: 171.5 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9018/0.9018, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 11.98 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 82.3 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4004/0.5552, allocations: 180.4 MB / 0.7642 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009771/0.565, allocations: 6.961 MB / 0.771 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009669/0.566, allocations: 23.81 kB / 0.771 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.5671, allocations: 342.2 kB / 0.7714 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.5705, allocations: 1.363 MB / 0.7727 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.5731, allocations: 1.034 MB / 0.7737 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002893/0.576, allocations: 2.722 MB / 0.7764 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.5769, allocations: 0.5472 MB / 0.7769 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.5784, allocations: 0.7158 MB / 0.7776 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.5796, allocations: 0.5836 MB / 0.7782 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.5798, allocations: 28 kB / 0.7782 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.5831, allocations: 2.186 MB / 0.7803 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.5834, allocations: 259.2 kB / 0.7806 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.5839, allocations: 407.8 kB / 0.781 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.5864, allocations: 1.815 MB / 0.7827 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5864, allocations: 0 / 0.7827 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5864, allocations: 0 / 0.7827 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.5864, allocations: 4 kB / 0.7827 GB, free: 4.945 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.001741/0.5882, allocations: 1.02 MB / 0.7837 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5882, allocations: 11.97 kB / 0.7838 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.5884, allocations: 94.52 kB / 0.7838 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.5903, allocations: 266.8 kB / 0.7841 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.5912, allocations: 0.5832 MB / 0.7847 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.5913, allocations: 45.25 kB / 0.7847 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.5914, allocations: 63.84 kB / 0.7848 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5925, allocations: 0.6401 MB / 0.7854 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5925, allocations: 0 / 0.7854 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.5926, allocations: 24 kB / 0.7854 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.5926, allocations: 17.31 kB / 0.7854 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009916/0.5936, allocations: 0.5321 MB / 0.786 GB, free: 1.547 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.002934/0.5966, allocations: 2.449 MB / 0.7883 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.5972, allocations: 386.5 kB / 0.7887 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.5976, allocations: 239.6 kB / 0.7889 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/0.5982, allocations: 327.5 kB / 0.7893 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5982, allocations: 34.89 kB / 0.7893 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.5982, allocations: 0 / 0.7893 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001337/0.5996, allocations: 0.6355 MB / 0.7899 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.5996, allocations: 55.41 kB / 0.79 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.6002, allocations: 0.4989 MB / 0.7905 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.6002, allocations: 33.7 kB / 0.7905 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.6005, allocations: 320.5 kB / 0.7908 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.6006, allocations: 145.9 kB / 0.7909 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.6007, allocations: 41.69 kB / 0.791 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6008, allocations: 366.8 kB / 0.7913 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.6012, allocations: 172.8 kB / 0.7915 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.6016, allocations: 296.2 kB / 0.7918 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/0.6023, allocations: 457 kB / 0.7922 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6023, allocations: 4 kB / 0.7922 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009198/0.6033, allocations: 0.5366 MB / 0.7927 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.01e-05/0.6034, allocations: 153 kB / 0.7929 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6034, allocations: 8 kB / 0.7929 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6034, allocations: 4 kB / 0.7929 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.6041, allocations: 140.3 kB / 0.793 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003498/0.6045, allocations: 0.6053 MB / 0.7936 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006052/0.6051, allocations: 81.47 kB / 0.7937 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.6051, allocations: 16 kB / 0.7937 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/0.6052, allocations: 4 kB / 0.7937 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000813/0.606, allocations: 463.6 kB / 0.7941 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.606, allocations: 1.75 kB / 0.7942 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.606, allocations: 4 kB / 0.7942 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.6065, allocations: 136 kB / 0.7943 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.6065, allocations: 4 kB / 0.7943 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.6071, allocations: 77.92 kB / 0.7944 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.6071, allocations: 16 kB / 0.7944 GB, free: 8.453 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.0003279/0.6075, allocations: 313.2 kB / 0.7947 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6076, allocations: 63.19 kB / 0.7947 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.6088, allocations: 497 kB / 0.7952 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.6088, allocations: 4 kB / 0.7952 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6088, allocations: 1.312 kB / 0.7952 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008779/0.6097, allocations: 0.7183 MB / 0.7959 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.6117, allocations: 1.282 MB / 0.7972 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6117, allocations: 0 / 0.7972 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.6123, allocations: 136.1 kB / 0.7973 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.6124, allocations: 4 kB / 0.7973 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.6124, allocations: 19.92 kB / 0.7973 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003154/0.6127, allocations: 0.5975 MB / 0.7979 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6127, allocations: 8.125 kB / 0.7979 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.614, allocations: 0.8342 MB / 0.7987 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.6142, allocations: 188.2 kB / 0.7989 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.6143, allocations: 16 kB / 0.7989 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.6148, allocations: 43.89 kB / 0.799 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.6149, allocations: 31.97 kB / 0.799 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.6149, allocations: 23.92 kB / 0.799 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004015/0.6154, allocations: 350.8 kB / 0.7994 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6154, allocations: 0 / 0.7994 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009936/0.6164, allocations: 363.1 kB / 0.7997 GB, free: 2.746 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.001881/0.6182, allocations: 1.495 MB / 0.8012 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.6197, allocations: 0.6723 MB / 0.8018 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6197, allocations: 0 / 0.8018 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.6201, allocations: 228.8 kB / 0.802 GB, free: 328 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.6221, allocations: 365.6 kB / 0.8024 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/0.6294, allocations: 5.462 MB / 0.8077 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.6299, allocations: 0.9493 MB / 0.8086 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006866/0.6306, allocations: 201 kB / 0.8088 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.6309, allocations: 231.4 kB / 0.8091 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of SimCode: time 5.82e-07/0.6309, allocations: 0 / 0.8091 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/0.7697, allocations: 16.97 MB / 0.8256 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.77, allocations: 252.8 kB / 0.8259 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.004, allocations: 0 / 0.8259 GB, free: 8.031 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)