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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01044/0.01044, allocations: 171.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7381/0.7381, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 406.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.000935, allocations: 93.92 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 12 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4205, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.979/4.4, allocations: 1.888 GB / 2.538 GB, free: 48.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/4.4, allocations: 95.11 kB / 2.538 GB, free: 48.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/5.994, allocations: 490.2 MB / 3.017 GB, free: 94.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.063e-06/5.994, allocations: 4 kB / 3.017 GB, free: 94.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.223e-05/5.994, allocations: 16 kB / 3.017 GB, free: 94.5 MB / 0.6823 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.002708/5.997, allocations: 1.145 MB / 3.018 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/5.997, allocations: 8.031 kB / 3.018 GB, free: 93.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/5.999, allocations: 270.8 kB / 3.018 GB, free: 93.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/6, allocations: 0.6189 MB / 3.019 GB, free: 92.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/6, allocations: 41.27 kB / 3.019 GB, free: 92.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/6, allocations: 60 kB / 3.019 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/6.001, allocations: 0.6167 MB / 3.019 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/6.001, allocations: 3.984 kB / 3.019 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/6.002, allocations: 20 kB / 3.02 GB, free: 91.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/6.002, allocations: 17.31 kB / 3.02 GB, free: 91.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/6.002, allocations: 0.5048 MB / 3.02 GB, free: 91.1 MB / 0.6823 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.002887/6.005, allocations: 2.416 MB / 3.022 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/6.006, allocations: 379.8 kB / 3.023 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/6.006, allocations: 303.6 kB / 3.023 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/6.006, allocations: 38.88 kB / 3.023 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.736e-06/6.006, allocations: 0 / 3.023 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001259/6.008, allocations: 0.6057 MB / 3.024 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/6.008, allocations: 59.39 kB / 3.024 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/6.008, allocations: 438.1 kB / 3.024 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/6.008, allocations: 37.7 kB / 3.024 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/6.008, allocations: 324.5 kB / 3.024 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/6.009, allocations: 137.9 kB / 3.025 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/6.009, allocations: 16 kB / 3.025 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001115/6.009, allocations: 362.8 kB / 3.025 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/6.009, allocations: 160.8 kB / 3.025 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/6.009, allocations: 294 kB / 3.025 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/6.01, allocations: 211.8 kB / 3.026 GB, free: 85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/6.01, allocations: 3.953 kB / 3.026 GB, free: 85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007568/6.01, allocations: 0.5267 MB / 3.026 GB, free: 84.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/6.011, allocations: 0.8736 MB / 3.027 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/6.011, allocations: 4 kB / 3.027 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/6.011, allocations: 8 kB / 3.027 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/6.011, allocations: 111.9 kB / 3.027 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002802/6.012, allocations: 0.5977 MB / 3.028 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/6.012, allocations: 79.58 kB / 3.028 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/6.012, allocations: 20 kB / 3.028 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/6.012, allocations: 4.938 kB / 3.028 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000657/6.013, allocations: 459.4 kB / 3.028 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/6.013, allocations: 288 / 3.028 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/6.013, allocations: 11.95 kB / 3.028 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/6.013, allocations: 99.89 kB / 3.028 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/6.013, allocations: 7.938 kB / 3.028 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/6.014, allocations: 71.64 kB / 3.028 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/6.014, allocations: 16 kB / 3.028 GB, free: 82.03 MB / 0.6823 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000364/6.014, allocations: 305 kB / 3.029 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/6.015, allocations: 59.25 kB / 3.029 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/6.015, allocations: 483 kB / 3.029 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/6.015, allocations: 7.953 kB / 3.029 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/6.015, allocations: 11.92 kB / 3.029 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006044/6.016, allocations: 0.7027 MB / 3.03 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/6.018, allocations: 1.286 MB / 3.031 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/6.018, allocations: 0 / 3.031 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/6.018, allocations: 112.1 kB / 3.031 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/6.018, allocations: 4 kB / 3.031 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/6.018, allocations: 8 kB / 3.031 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002094/6.019, allocations: 0.5938 MB / 3.032 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/6.019, allocations: 0 / 3.032 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/6.02, allocations: 0.9108 MB / 3.033 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/6.02, allocations: 172.4 kB / 3.033 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/6.02, allocations: 15.98 kB / 3.033 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/6.02, allocations: 51.81 kB / 3.033 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/6.021, allocations: 31.91 kB / 3.033 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/6.021, allocations: 12 kB / 3.033 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003542/6.021, allocations: 350.8 kB / 3.033 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/6.021, allocations: 4 kB / 3.033 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001567/6.023, allocations: 491.2 kB / 3.034 GB, free: 76.15 MB / 0.6823 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002122/6.025, allocations: 1.37 MB / 3.035 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00139/6.026, allocations: 0.6497 MB / 3.036 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/6.026, allocations: 7.938 kB / 3.036 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/6.026, allocations: 223.9 kB / 3.036 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/6.028, allocations: 354 kB / 3.036 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/6.03, allocations: 1.706 MB / 3.038 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/6.031, allocations: 0.9616 MB / 3.039 GB, free: 70.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007751/6.032, allocations: 204.9 kB / 3.039 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/6.032, allocations: 47.44 kB / 3.039 GB, free: 70.53 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/6.032, allocations: 0 / 3.039 GB, free: 70.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.03654/6.068, allocations: 27.66 MB / 3.066 GB, free: 43.02 MB / 0.6823 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)