Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 287.5 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 176.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009115/0.0009113, allocations: 89.22 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006453, allocations: 12.52 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2174, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.488/6.705, allocations: 2.08 GB / 3.059 GB, free: 218.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/6.705, allocations: 99.95 kB / 3.059 GB, free: 218.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.209/8.915, allocations: 482.5 MB / 3.531 GB, free: 107.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.874e-06/8.915, allocations: 0 / 3.531 GB, free: 107.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.047e-05/8.915, allocations: 20 kB / 3.531 GB, free: 107.4 MB / 0.948 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.002819/8.917, allocations: 1.134 MB / 3.532 GB, free: 106.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/8.918, allocations: 8.031 kB / 3.532 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/8.92, allocations: 267.7 kB / 3.532 GB, free: 105.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/8.922, allocations: 0.6274 MB / 3.533 GB, free: 105.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/8.922, allocations: 45.69 kB / 3.533 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/8.922, allocations: 52.38 kB / 3.533 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/8.923, allocations: 0.6172 MB / 3.533 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/8.923, allocations: 7.938 kB / 3.533 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/8.924, allocations: 20 kB / 3.533 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/8.924, allocations: 21.31 kB / 3.533 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/8.925, allocations: 0.497 MB / 3.534 GB, free: 104 MB / 0.948 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.003932/8.929, allocations: 2.431 MB / 3.536 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/8.93, allocations: 371.7 kB / 3.537 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/8.93, allocations: 233.4 kB / 3.537 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/8.931, allocations: 295.6 kB / 3.537 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/8.931, allocations: 46.83 kB / 3.537 GB, free: 100.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.815e-06/8.931, allocations: 0 / 3.537 GB, free: 100.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001919/8.933, allocations: 0.6057 MB / 3.538 GB, free: 99.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/8.933, allocations: 55.41 kB / 3.538 GB, free: 99.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/8.934, allocations: 0.4949 MB / 3.538 GB, free: 99.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/8.934, allocations: 33.7 kB / 3.538 GB, free: 99.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/8.934, allocations: 328.4 kB / 3.539 GB, free: 98.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/8.934, allocations: 134.1 kB / 3.539 GB, free: 98.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/8.934, allocations: 8 kB / 3.539 GB, free: 98.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.934, allocations: 370.8 kB / 3.539 GB, free: 98.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/8.935, allocations: 160.8 kB / 3.539 GB, free: 98.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/8.935, allocations: 294 kB / 3.539 GB, free: 97.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/8.936, allocations: 453 kB / 3.54 GB, free: 97.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/8.936, allocations: 0 / 3.54 GB, free: 97.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001299/8.938, allocations: 0.5241 MB / 3.54 GB, free: 96.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/8.938, allocations: 150.6 kB / 3.541 GB, free: 96.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/8.938, allocations: 0 / 3.541 GB, free: 96.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/8.938, allocations: 7.938 kB / 3.541 GB, free: 96.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/8.939, allocations: 127.8 kB / 3.541 GB, free: 96.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003573/8.939, allocations: 0.5822 MB / 3.541 GB, free: 95.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/8.94, allocations: 83.58 kB / 3.541 GB, free: 95.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/8.941, allocations: 20 kB / 3.541 GB, free: 95.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/8.941, allocations: 0 / 3.541 GB, free: 95.79 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/8.942, allocations: 459.4 kB / 3.542 GB, free: 95.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/8.942, allocations: 7.938 kB / 3.542 GB, free: 95.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/8.942, allocations: 8 kB / 3.542 GB, free: 95.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/8.943, allocations: 112 kB / 3.542 GB, free: 95.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/8.943, allocations: 4 kB / 3.542 GB, free: 95.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000989/8.944, allocations: 75.55 kB / 3.542 GB, free: 95.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/8.944, allocations: 23.98 kB / 3.542 GB, free: 95.11 MB / 0.948 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.0004984/8.944, allocations: 305 kB / 3.542 GB, free: 94.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/8.944, allocations: 55.34 kB / 3.542 GB, free: 94.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/8.946, allocations: 491 kB / 3.543 GB, free: 94.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/8.946, allocations: 7.984 kB / 3.543 GB, free: 94.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/8.946, allocations: 0 / 3.543 GB, free: 94.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/8.947, allocations: 0.6988 MB / 3.544 GB, free: 93.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/8.949, allocations: 1.27 MB / 3.545 GB, free: 92.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/8.949, allocations: 4 kB / 3.545 GB, free: 92.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009384/8.95, allocations: 103.9 kB / 3.545 GB, free: 92.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/8.95, allocations: 4 kB / 3.545 GB, free: 92.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/8.95, allocations: 16.22 kB / 3.545 GB, free: 92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002462/8.951, allocations: 0.5976 MB / 3.545 GB, free: 91.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/8.951, allocations: 0 / 3.545 GB, free: 91.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/8.952, allocations: 0.818 MB / 3.546 GB, free: 90.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/8.953, allocations: 184.2 kB / 3.546 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/8.953, allocations: 8 kB / 3.546 GB, free: 90.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/8.954, allocations: 55.89 kB / 3.547 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/8.954, allocations: 27.95 kB / 3.547 GB, free: 90.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/8.954, allocations: 12 kB / 3.547 GB, free: 90.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005239/8.954, allocations: 346.8 kB / 3.547 GB, free: 89.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/8.954, allocations: 4 kB / 3.547 GB, free: 89.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001761/8.956, allocations: 495.1 kB / 3.547 GB, free: 89.39 MB / 0.948 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.002249/8.958, allocations: 1.378 MB / 3.549 GB, free: 87.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002171/8.961, allocations: 0.6651 MB / 3.549 GB, free: 87.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/8.961, allocations: 4.375 kB / 3.549 GB, free: 87.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006093/8.961, allocations: 220.4 kB / 3.55 GB, free: 87.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/8.964, allocations: 367.2 kB / 3.55 GB, free: 86.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/8.967, allocations: 1.705 MB / 3.552 GB, free: 84.97 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/8.968, allocations: 0.9421 MB / 3.553 GB, free: 84 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001194/8.969, allocations: 204.9 kB / 3.553 GB, free: 83.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/8.969, allocations: 51.44 kB / 3.553 GB, free: 83.75 MB / 0.948 GB Notification: Performance of SimCode: time 2.464e-06/8.969, allocations: 0 / 3.553 GB, free: 83.75 MB / 0.948 GB Notification: Performance of Templates: time 0.05974/9.029, allocations: 27.71 MB / 3.58 GB, free: 56.16 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)