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: translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001495/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00202/0.00202, allocations: 198.4 kB / 16.14 MB, free: 6.656 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7819/0.7819, allocations: 132.2 MB / 422.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.75 kB / 0.5011 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1681, allocations: 80.21 MB / 0.5794 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5175/0.6856, allocations: 182.8 MB / 0.7579 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.6967, allocations: 7.043 MB / 0.7648 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.6982, allocations: 23.81 kB / 0.7648 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.6995, allocations: 338.2 kB / 0.7652 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.7037, allocations: 1.355 MB / 0.7665 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.7071, allocations: 1.058 MB / 0.7675 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003765/0.7109, allocations: 2.718 MB / 0.7702 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.7119, allocations: 0.5458 MB / 0.7707 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.7138, allocations: 0.7314 MB / 0.7714 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.7152, allocations: 0.6243 MB / 0.772 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/0.7154, allocations: 36 kB / 0.7721 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004681/0.72, allocations: 2.198 MB / 0.7742 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.7205, allocations: 263.2 kB / 0.7745 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007007/0.7212, allocations: 398.1 kB / 0.7748 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.725, allocations: 1.835 MB / 0.7766 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.725, allocations: 3.938 kB / 0.7766 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.725, allocations: 0 / 0.7766 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.7251, allocations: 0 / 0.7766 GB, free: 9.527 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.001883/0.7269, allocations: 1.168 MB / 0.7778 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.727, allocations: 8.031 kB / 0.7778 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.729, allocations: 266.8 kB / 0.778 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009485/0.7299, allocations: 0.5793 MB / 0.7786 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.73, allocations: 42.19 kB / 0.7786 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.7301, allocations: 55.91 kB / 0.7787 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.7312, allocations: 0.6439 MB / 0.7793 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.7312, allocations: 8 kB / 0.7793 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.7313, allocations: 20 kB / 0.7794 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.7313, allocations: 17.31 kB / 0.7794 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009849/0.7323, allocations: 0.5204 MB / 0.7799 GB, free: 6.098 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.003113/0.7354, allocations: 2.441 MB / 0.7823 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.7361, allocations: 378.7 kB / 0.7826 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.7365, allocations: 233.4 kB / 0.7828 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/0.7372, allocations: 311.5 kB / 0.7831 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7373, allocations: 50.52 kB / 0.7832 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.876e-06/0.7373, allocations: 0 / 0.7832 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001628/0.7389, allocations: 0.6111 MB / 0.7838 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.739, allocations: 63.34 kB / 0.7839 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.7397, allocations: 0.4911 MB / 0.7843 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.7398, allocations: 37.7 kB / 0.7844 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.74, allocations: 320.5 kB / 0.7847 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.7402, allocations: 141.9 kB / 0.7848 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.7404, allocations: 90.03 kB / 0.7849 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.7406, allocations: 370.7 kB / 0.7852 GB, free: 272 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.7409, allocations: 174.5 kB / 0.7854 GB, free: 96 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.7414, allocations: 284.3 kB / 0.7857 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.7421, allocations: 449 kB / 0.7861 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.7422, allocations: 7.938 kB / 0.7861 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009782/0.7431, allocations: 0.5214 MB / 0.7866 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.7432, allocations: 10.66 kB / 0.7866 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.7432, allocations: 4 kB / 0.7866 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.7432, allocations: 4 kB / 0.7866 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.744, allocations: 127.8 kB / 0.7868 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004179/0.7444, allocations: 0.6015 MB / 0.7874 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.7451, allocations: 79.58 kB / 0.7874 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.7452, allocations: 16 kB / 0.7874 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006012/0.7458, allocations: 354.4 kB / 0.7878 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000407/0.7462, allocations: 288.2 kB / 0.7881 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006903/0.7469, allocations: 444.7 kB / 0.7885 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.768e-06/0.7469, allocations: 0 / 0.7885 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009168/0.7478, allocations: 0.5201 MB / 0.789 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7479, allocations: 11.94 kB / 0.789 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.7479, allocations: 0 / 0.789 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.7479, allocations: 4 kB / 0.789 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.7484, allocations: 119.8 kB / 0.7891 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7484, allocations: 4 kB / 0.7891 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.749, allocations: 67.83 kB / 0.7892 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.749, allocations: 21.56 kB / 0.7892 GB, free: 12.02 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.0002173/0.7493, allocations: 216.1 kB / 0.7894 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.7494, allocations: 59.28 kB / 0.7895 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009234/0.7503, allocations: 486.3 kB / 0.7899 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7503, allocations: 4 kB / 0.7899 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7503, allocations: 0.6875 kB / 0.7899 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008007/0.7512, allocations: 0.7107 MB / 0.7906 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.7532, allocations: 1.28 MB / 0.7919 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7532, allocations: 0 / 0.7919 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.7538, allocations: 124.7 kB / 0.792 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.7539, allocations: 4 kB / 0.792 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.7539, allocations: 8 kB / 0.792 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003397/0.7543, allocations: 0.5993 MB / 0.7926 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7543, allocations: 4.031 kB / 0.7926 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.7555, allocations: 0.8218 MB / 0.7934 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.7558, allocations: 180.2 kB / 0.7936 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.7559, allocations: 15.92 kB / 0.7936 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.7564, allocations: 43.97 kB / 0.7936 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.7565, allocations: 31.95 kB / 0.7937 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.7565, allocations: 12 kB / 0.7937 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004221/0.7569, allocations: 362.8 kB / 0.794 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7569, allocations: 0 / 0.794 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001035/0.758, allocations: 363.1 kB / 0.7944 GB, free: 6.484 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.0005113/0.7585, allocations: 205.3 kB / 0.7946 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.76, allocations: 0.666 MB / 0.7952 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.76, allocations: 256 / 0.7952 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.7604, allocations: 228.5 kB / 0.7954 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.7622, allocations: 354.2 kB / 0.7958 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.7647, allocations: 1.629 MB / 0.7974 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.7652, allocations: 0.9457 MB / 0.7983 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007144/0.7659, allocations: 210.9 kB / 0.7985 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.7661, allocations: 59.36 kB / 0.7985 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of SimCode: time 1.303e-06/0.7661, allocations: 0 / 0.7985 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of Templates: time 0.02172/0.7878, allocations: 11.97 MB / 0.8102 GB, free: 6.375 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)