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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.778/0.778, allocations: 130.7 MB / 138.7 MB, free: 3.574 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0009068/0.000907, allocations: 102 kB / 473.9 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.328e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4851, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.106/5.591, allocations: 1.888 GB / 2.516 GB, free: 63.54 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/5.592, allocations: 87.95 kB / 2.516 GB, free: 63.45 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.052/7.644, allocations: 484.3 MB / 2.989 GB, free: 94.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.252e-06/7.644, allocations: 0 / 2.989 GB, free: 94.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001203/7.644, allocations: 23.12 kB / 2.989 GB, free: 94.91 MB / 0.6667 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.003291/7.647, allocations: 1.028 MB / 2.99 GB, free: 93.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/7.647, allocations: 8.031 kB / 2.99 GB, free: 93.83 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/7.65, allocations: 270.7 kB / 2.99 GB, free: 93.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/7.651, allocations: 0.6182 MB / 2.991 GB, free: 92.92 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/7.651, allocations: 16 kB / 2.991 GB, free: 92.91 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/7.651, allocations: 32 kB / 2.991 GB, free: 92.88 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008176/7.652, allocations: 438.4 kB / 2.991 GB, free: 92.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/7.653, allocations: 0.5166 MB / 2.992 GB, free: 91.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/7.653, allocations: 4 kB / 2.992 GB, free: 91.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/7.653, allocations: 0 / 2.992 GB, free: 91.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/7.653, allocations: 17.31 kB / 2.992 GB, free: 91.89 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.002919/7.656, allocations: 2.311 MB / 2.994 GB, free: 89.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/7.656, allocations: 328.2 kB / 2.994 GB, free: 89.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/7.657, allocations: 201.5 kB / 2.994 GB, free: 88.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/7.657, allocations: 311.1 kB / 2.995 GB, free: 88.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/7.657, allocations: 34.89 kB / 2.995 GB, free: 88.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 1.913e-06/7.657, allocations: 0 / 2.995 GB, free: 88.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.001096/7.658, allocations: 427 kB / 2.995 GB, free: 88.05 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/7.658, allocations: 55.41 kB / 2.995 GB, free: 87.99 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/7.659, allocations: 369.3 kB / 2.996 GB, free: 87.62 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/7.659, allocations: 29.7 kB / 2.996 GB, free: 87.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/7.659, allocations: 328.3 kB / 2.996 GB, free: 87.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/7.659, allocations: 134 kB / 2.996 GB, free: 87.13 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/7.659, allocations: 0 / 2.996 GB, free: 87.13 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000106/7.659, allocations: 362.7 kB / 2.996 GB, free: 86.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/7.66, allocations: 140.8 kB / 2.996 GB, free: 86.63 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/7.66, allocations: 265.1 kB / 2.997 GB, free: 86.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/7.66, allocations: 201.7 kB / 2.997 GB, free: 86.13 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/7.66, allocations: 3.953 kB / 2.997 GB, free: 86.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007929/7.661, allocations: 476.5 kB / 2.997 GB, free: 85.65 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/7.661, allocations: 0.881 MB / 2.998 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/7.661, allocations: 4 kB / 2.998 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/7.661, allocations: 4 kB / 2.998 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/7.662, allocations: 111.8 kB / 2.998 GB, free: 84.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/7.662, allocations: 0.5939 MB / 2.999 GB, free: 83.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/7.663, allocations: 67.64 kB / 2.999 GB, free: 83.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/7.663, allocations: 20 kB / 2.999 GB, free: 83.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/7.663, allocations: 12.88 kB / 2.999 GB, free: 83.87 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006022/7.664, allocations: 384 kB / 2.999 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/7.664, allocations: 4 kB / 2.999 GB, free: 83.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/7.664, allocations: 7.953 kB / 2.999 GB, free: 83.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/7.664, allocations: 104.1 kB / 3 GB, free: 83.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/7.664, allocations: 8 kB / 3 GB, free: 83.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/7.665, allocations: 59.64 kB / 3 GB, free: 83.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/7.665, allocations: 23.98 kB / 3 GB, free: 83.29 MB / 0.6667 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 () * 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.0001614/7.665, allocations: 112.9 kB / 3 GB, free: 83.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/7.665, allocations: 55.34 kB / 3 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/7.666, allocations: 427.8 kB / 3 GB, free: 82.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/7.666, allocations: 7.953 kB / 3 GB, free: 82.69 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/7.666, allocations: 0 / 3 GB, free: 82.69 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006321/7.667, allocations: 0.6753 MB / 3.001 GB, free: 81.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/7.669, allocations: 1.151 MB / 3.002 GB, free: 80.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/7.669, allocations: 8.219 kB / 3.002 GB, free: 80.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/7.669, allocations: 103.9 kB / 3.002 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/7.669, allocations: 4 kB / 3.002 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/7.669, allocations: 8 kB / 3.002 GB, free: 80.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002244/7.669, allocations: 0.59 MB / 3.003 GB, free: 79.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/7.669, allocations: 4.031 kB / 3.003 GB, free: 79.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008929/7.67, allocations: 0.8343 MB / 3.003 GB, free: 79.06 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/7.671, allocations: 168.4 kB / 3.004 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/7.671, allocations: 7.984 kB / 3.004 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/7.671, allocations: 43.97 kB / 3.004 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/7.671, allocations: 43.78 kB / 3.004 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/7.671, allocations: 16 kB / 3.004 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000272/7.672, allocations: 282.9 kB / 3.004 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3e-07/7.672, allocations: 0 / 3.004 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001433/7.673, allocations: 451 kB / 3.004 GB, free: 78.05 MB / 0.6667 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 () * 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.00235/7.675, allocations: 1.544 MB / 3.006 GB, free: 76.53 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001131/7.677, allocations: 0.589 MB / 3.007 GB, free: 75.94 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/7.677, allocations: 0 / 3.007 GB, free: 75.94 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/7.677, allocations: 187.8 kB / 3.007 GB, free: 75.76 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/7.679, allocations: 321.7 kB / 3.007 GB, free: 75.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/7.68, allocations: 1.068 MB / 3.008 GB, free: 74.33 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/7.681, allocations: 0.9621 MB / 3.009 GB, free: 73.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009217/7.682, allocations: 228.7 kB / 3.009 GB, free: 73.12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/7.682, allocations: 43.42 kB / 3.009 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of SimCode: time 6.72e-07/7.682, allocations: 0 / 3.009 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of Templates: time 0.02718/7.709, allocations: 18.78 MB / 3.028 GB, free: 54.43 MB / 0.6667 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)