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: translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00799/0.00799, allocations: 100.2 kB / 15.87 MB, free: 6.332 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.002007/0.002007, allocations: 197.2 kB / 16.79 MB, free: 6.258 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.441/1.441, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.116/1.116, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.36 kB / 0.5053 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1757, allocations: 80.92 MB / 0.5843 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5082/0.6839, allocations: 182.8 MB / 0.7628 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.6949, allocations: 7.045 MB / 0.7697 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.6964, allocations: 27.81 kB / 0.7697 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.6977, allocations: 342.1 kB / 0.7701 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.7017, allocations: 1.358 MB / 0.7714 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.7048, allocations: 1.055 MB / 0.7724 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003326/0.7082, allocations: 2.714 MB / 0.7751 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009218/0.7091, allocations: 0.564 MB / 0.7756 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.7108, allocations: 0.7275 MB / 0.7763 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.7123, allocations: 0.624 MB / 0.777 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.7125, allocations: 36 kB / 0.777 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00409/0.7166, allocations: 2.19 MB / 0.7791 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.717, allocations: 263.2 kB / 0.7794 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.7175, allocations: 398.1 kB / 0.7798 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.7195, allocations: 1.282 MB / 0.781 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7195, allocations: 0 / 0.781 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7195, allocations: 0 / 0.781 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.7195, allocations: 4 kB / 0.781 GB, free: 3.98 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.001902/0.7214, allocations: 1.149 MB / 0.7821 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7215, allocations: 8.031 kB / 0.7821 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.7234, allocations: 274.8 kB / 0.7824 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009596/0.7244, allocations: 0.5831 MB / 0.783 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.7244, allocations: 45.31 kB / 0.783 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.7245, allocations: 55.91 kB / 0.7831 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.7256, allocations: 0.6323 MB / 0.7837 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.7257, allocations: 4 kB / 0.7837 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.7257, allocations: 20 kB / 0.7837 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.7258, allocations: 21.3 kB / 0.7837 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.7267, allocations: 0.5243 MB / 0.7842 GB, free: 0.5703 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.003179/0.7299, allocations: 2.445 MB / 0.7866 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.7305, allocations: 375.7 kB / 0.787 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.7309, allocations: 239.8 kB / 0.7872 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.7315, allocations: 303.6 kB / 0.7875 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7315, allocations: 38.89 kB / 0.7875 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.405e-06/0.7315, allocations: 0 / 0.7875 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.00146/0.733, allocations: 0.6161 MB / 0.7881 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.733, allocations: 59.34 kB / 0.7882 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.7336, allocations: 0.495 MB / 0.7887 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.7336, allocations: 37.7 kB / 0.7887 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.7338, allocations: 328.4 kB / 0.789 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.734, allocations: 138 kB / 0.7892 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.7341, allocations: 90.03 kB / 0.7892 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7343, allocations: 366.8 kB / 0.7896 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.7346, allocations: 174.5 kB / 0.7898 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.735, allocations: 288.2 kB / 0.79 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.7357, allocations: 445 kB / 0.7905 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.7357, allocations: 7.922 kB / 0.7905 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008905/0.7366, allocations: 0.525 MB / 0.791 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7366, allocations: 4 kB / 0.791 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.7366, allocations: 4 kB / 0.791 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.7367, allocations: 4 kB / 0.791 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.7374, allocations: 138.4 kB / 0.7911 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004248/0.7379, allocations: 0.6015 MB / 0.7917 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.7385, allocations: 75.67 kB / 0.7918 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.7386, allocations: 19.98 kB / 0.7918 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000566/0.7392, allocations: 348.9 kB / 0.7921 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004121/0.7396, allocations: 288.3 kB / 0.7924 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006859/0.7403, allocations: 451.1 kB / 0.7928 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.245e-06/0.7403, allocations: 0 / 0.7928 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008982/0.7412, allocations: 0.5277 MB / 0.7934 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7412, allocations: 7.938 kB / 0.7934 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.7412, allocations: 4 kB / 0.7934 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.7412, allocations: 4 kB / 0.7934 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.7417, allocations: 120.1 kB / 0.7935 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7418, allocations: 4 kB / 0.7935 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.7424, allocations: 67.64 kB / 0.7936 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.7424, allocations: 20 kB / 0.7936 GB, free: 6.48 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.000182/0.7426, allocations: 204.5 kB / 0.7938 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.7427, allocations: 63.27 kB / 0.7938 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009/0.7436, allocations: 496.9 kB / 0.7943 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.7436, allocations: 4 kB / 0.7943 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.7436, allocations: 0 / 0.7943 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008009/0.7444, allocations: 0.7027 MB / 0.795 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.7464, allocations: 1.274 MB / 0.7962 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7464, allocations: 0 / 0.7962 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.7471, allocations: 130.8 kB / 0.7964 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.7471, allocations: 8 kB / 0.7964 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.7471, allocations: 11.98 kB / 0.7964 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002932/0.7474, allocations: 0.5899 MB / 0.797 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7474, allocations: 15.84 kB / 0.797 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.7486, allocations: 0.818 MB / 0.7978 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.7489, allocations: 188.3 kB / 0.798 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/0.749, allocations: 8 kB / 0.798 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.7495, allocations: 53.92 kB / 0.798 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.7496, allocations: 27.91 kB / 0.798 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.7496, allocations: 15.98 kB / 0.7981 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000401/0.75, allocations: 354.8 kB / 0.7984 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.75, allocations: 0 / 0.7984 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000998/0.751, allocations: 363 kB / 0.7987 GB, free: 0.9414 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.000482/0.7515, allocations: 204.8 kB / 0.7989 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.753, allocations: 0.6743 MB / 0.7996 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.753, allocations: 4 kB / 0.7996 GB, free: 68 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.7534, allocations: 219.7 kB / 0.7998 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.7551, allocations: 362.9 kB / 0.8002 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.7577, allocations: 1.669 MB / 0.8018 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.7582, allocations: 0.9535 MB / 0.8027 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.7584, allocations: 55.44 kB / 0.8028 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.7584, allocations: 0 / 0.8028 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.01815/0.7766, allocations: 13.04 MB / 0.8155 GB, free: 15.82 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)