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.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001213/0.001213, allocations: 192.8 kB / 16.25 MB, free: 6.645 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9505/0.9505, allocations: 135.2 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.7 kB / 0.5049 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1618, allocations: 80.93 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5292/0.6911, allocations: 182.6 MB / 0.7623 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.703, allocations: 6.928 MB / 0.769 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.7045, allocations: 27.81 kB / 0.769 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.7058, allocations: 342.2 kB / 0.7694 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.71, allocations: 1.366 MB / 0.7707 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.7132, allocations: 1.067 MB / 0.7718 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002905/0.7161, allocations: 1.941 MB / 0.7736 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.7172, allocations: 0.6447 MB / 0.7743 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.719, allocations: 0.8289 MB / 0.7751 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.7203, allocations: 0.6375 MB / 0.7757 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.7204, allocations: 68 kB / 0.7758 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.7242, allocations: 1.995 MB / 0.7777 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.7246, allocations: 291.1 kB / 0.778 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.7251, allocations: 438.1 kB / 0.7784 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.7284, allocations: 1.866 MB / 0.7802 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.7284, allocations: 0 / 0.7802 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.196e-06/0.7284, allocations: 8 kB / 0.7802 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.7284, allocations: 0 / 0.7802 GB, free: 4.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.001973/0.7304, allocations: 1.156 MB / 0.7814 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.7304, allocations: 12.03 kB / 0.7814 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.7323, allocations: 266.8 kB / 0.7816 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.7335, allocations: 0.5831 MB / 0.7822 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.7335, allocations: 41.31 kB / 0.7822 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.474e-05/0.7336, allocations: 59.84 kB / 0.7823 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.7349, allocations: 0.6401 MB / 0.7829 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.7349, allocations: 0 / 0.7829 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.735, allocations: 24 kB / 0.783 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.735, allocations: 17.31 kB / 0.783 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.7359, allocations: 0.5204 MB / 0.7835 GB, free: 0.832 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.003577/0.7395, allocations: 2.445 MB / 0.7859 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.7402, allocations: 375.7 kB / 0.7862 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.7406, allocations: 241.7 kB / 0.7865 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005817/0.7412, allocations: 307.6 kB / 0.7867 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.7412, allocations: 42.88 kB / 0.7868 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.7412, allocations: 0 / 0.7868 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001423/0.7426, allocations: 0.6083 MB / 0.7874 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.7427, allocations: 59.34 kB / 0.7874 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.7434, allocations: 0.495 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.7435, allocations: 37.7 kB / 0.788 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.7437, allocations: 324.5 kB / 0.7883 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.7439, allocations: 138 kB / 0.7884 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.744, allocations: 90.03 kB / 0.7885 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.7442, allocations: 370.8 kB / 0.7888 GB, free: 11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.7446, allocations: 170.5 kB / 0.789 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.745, allocations: 292.2 kB / 0.7893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.7457, allocations: 445 kB / 0.7897 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7457, allocations: 4 kB / 0.7897 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009327/0.7467, allocations: 0.525 MB / 0.7902 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7467, allocations: 4 kB / 0.7902 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7467, allocations: 4 kB / 0.7902 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7467, allocations: 4 kB / 0.7902 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.7475, allocations: 137.2 kB / 0.7904 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004489/0.748, allocations: 0.6014 MB / 0.791 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.7486, allocations: 75.7 kB / 0.791 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.7486, allocations: 20 kB / 0.791 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005413/0.7492, allocations: 348.9 kB / 0.7914 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005727/0.7498, allocations: 284.3 kB / 0.7916 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007633/0.7506, allocations: 451.1 kB / 0.7921 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.7506, allocations: 4 kB / 0.7921 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00086/0.7514, allocations: 0.5199 MB / 0.7926 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.7515, allocations: 11.94 kB / 0.7926 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.7515, allocations: 3.938 kB / 0.7926 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.7515, allocations: 7.984 kB / 0.7926 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.752, allocations: 120.1 kB / 0.7927 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.752, allocations: 4 kB / 0.7927 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.7526, allocations: 71.64 kB / 0.7928 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.7526, allocations: 16 kB / 0.7928 GB, free: 6.75 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.0001699/0.7528, allocations: 204.5 kB / 0.793 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.7529, allocations: 63.27 kB / 0.7931 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/0.7539, allocations: 0.4889 MB / 0.7935 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.7539, allocations: 7.984 kB / 0.7936 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7539, allocations: 0 / 0.7936 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.755, allocations: 0.6949 MB / 0.7942 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.7572, allocations: 1.277 MB / 0.7955 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7572, allocations: 0 / 0.7955 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.7578, allocations: 136 kB / 0.7956 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.7578, allocations: 4 kB / 0.7956 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.7579, allocations: 8 kB / 0.7956 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/0.7583, allocations: 0.5899 MB / 0.7962 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.7584, allocations: 7.969 kB / 0.7962 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.7598, allocations: 0.8258 MB / 0.797 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.76, allocations: 180.3 kB / 0.7972 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.7601, allocations: 8 kB / 0.7972 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.7607, allocations: 51.86 kB / 0.7972 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.7607, allocations: 35.89 kB / 0.7973 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.7608, allocations: 12 kB / 0.7973 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004084/0.7612, allocations: 350.8 kB / 0.7976 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7612, allocations: 0 / 0.7976 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000978/0.7622, allocations: 371 kB / 0.798 GB, free: 1.211 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.0005754/0.7628, allocations: 211.5 kB / 0.7982 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.7646, allocations: 0.7125 MB / 0.7989 GB, free: 300 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7646, allocations: 0 / 0.7989 GB, free: 300 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.765, allocations: 224 kB / 0.7991 GB, free: 76 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.7666, allocations: 365.8 kB / 0.7994 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.7692, allocations: 1.633 MB / 0.801 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.77, allocations: 0.9458 MB / 0.802 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001004/0.771, allocations: 204.9 kB / 0.8021 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.7713, allocations: 51.42 kB / 0.8022 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.7713, allocations: 0 / 0.8022 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of Templates: time 0.03526/0.8066, allocations: 12.31 MB / 0.8142 GB, free: 0.7422 MB / 0.6231 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)