Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7909/0.7909, allocations: 140.1 MB / 156 MB, free: 5.145 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 181.5 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009851/0.000985, allocations: 85.47 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001885/0.001885, allocations: 269.7 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005455/0.0005456, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3961, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.348/4.744, allocations: 2.05 GB / 2.789 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/4.745, allocations: 98.48 kB / 2.79 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.323/6.067, allocations: 482.7 MB / 3.261 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/6.067, allocations: 0 / 3.261 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.943e-05/6.067, allocations: 20 kB / 3.261 GB, free: 22.77 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.002891/6.07, allocations: 1.131 MB / 3.262 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/6.07, allocations: 8.031 kB / 3.262 GB, free: 21.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/6.072, allocations: 263.8 kB / 3.262 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/6.074, allocations: 0.6313 MB / 3.263 GB, free: 20.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/6.074, allocations: 45.69 kB / 3.263 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/6.074, allocations: 56.31 kB / 3.263 GB, free: 20.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/6.075, allocations: 0.6212 MB / 3.264 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/6.075, allocations: 3.938 kB / 3.264 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/6.075, allocations: 20 kB / 3.264 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/6.075, allocations: 25.3 kB / 3.264 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/6.076, allocations: 0.497 MB / 3.264 GB, free: 19.37 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.002983/6.079, allocations: 2.428 MB / 3.267 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/6.08, allocations: 363.7 kB / 3.267 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/6.08, allocations: 230 kB / 3.267 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/6.081, allocations: 307.6 kB / 3.267 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/6.081, allocations: 38.89 kB / 3.267 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.735e-06/6.081, allocations: 0 / 3.267 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001264/6.082, allocations: 0.6118 MB / 3.268 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/6.082, allocations: 55.41 kB / 3.268 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/6.082, allocations: 0.491 MB / 3.269 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/6.082, allocations: 33.7 kB / 3.269 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/6.083, allocations: 324.4 kB / 3.269 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/6.083, allocations: 138 kB / 3.269 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/6.083, allocations: 12 kB / 3.269 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/6.083, allocations: 366.8 kB / 3.269 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/6.083, allocations: 164.8 kB / 3.27 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/6.083, allocations: 301.9 kB / 3.27 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/6.084, allocations: 448.2 kB / 3.27 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/6.084, allocations: 0 / 3.27 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008082/6.085, allocations: 0.5239 MB / 3.271 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/6.085, allocations: 153.3 kB / 3.271 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/6.085, allocations: 4.094 kB / 3.271 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/6.085, allocations: 11.88 kB / 3.271 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/6.086, allocations: 124.3 kB / 3.271 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000302/6.086, allocations: 0.586 MB / 3.272 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/6.087, allocations: 83.61 kB / 3.272 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/6.087, allocations: 20 kB / 3.272 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/6.087, allocations: 4 kB / 3.272 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006687/6.087, allocations: 451.5 kB / 3.272 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/6.087, allocations: 0 / 3.272 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/6.087, allocations: 4.281 kB / 3.272 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/6.088, allocations: 111.8 kB / 3.272 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/6.088, allocations: 7.984 kB / 3.272 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/6.088, allocations: 79.55 kB / 3.272 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/6.089, allocations: 19.98 kB / 3.272 GB, free: 10.47 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.000355/6.089, allocations: 308.9 kB / 3.273 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/6.089, allocations: 55.34 kB / 3.273 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/6.09, allocations: 482.7 kB / 3.273 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/6.09, allocations: 4 kB / 3.273 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/6.09, allocations: 4 kB / 3.273 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006162/6.09, allocations: 0.7081 MB / 3.274 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/6.092, allocations: 1.266 MB / 3.275 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/6.092, allocations: 0 / 3.275 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/6.093, allocations: 116 kB / 3.275 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/6.093, allocations: 4 kB / 3.275 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/6.093, allocations: 8 kB / 3.275 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002041/6.093, allocations: 0.6053 MB / 3.276 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/6.093, allocations: 4.031 kB / 3.276 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/6.094, allocations: 0.8135 MB / 3.277 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/6.094, allocations: 180.3 kB / 3.277 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/6.094, allocations: 11.98 kB / 3.277 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/6.095, allocations: 55.78 kB / 3.277 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/6.095, allocations: 35.98 kB / 3.277 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/6.095, allocations: 19.98 kB / 3.277 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003423/6.095, allocations: 342.8 kB / 3.277 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/6.095, allocations: 0 / 3.277 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001446/6.097, allocations: 0.4913 MB / 3.278 GB, free: 4.723 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.00201/6.099, allocations: 1.401 MB / 3.279 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001357/6.1, allocations: 0.6651 MB / 3.28 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/6.1, allocations: 4 kB / 3.28 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/6.101, allocations: 220 kB / 3.28 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/6.102, allocations: 356.8 kB / 3.28 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/6.105, allocations: 1.714 MB / 3.282 GB, free: 288 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3534/6.458, allocations: 0.9403 MB / 3.283 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001103/6.459, allocations: 194.8 kB / 3.283 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/6.46, allocations: 52.03 kB / 3.283 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.098e-05/6.46, allocations: 2.438 kB / 3.283 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.0417/6.501, allocations: 28.1 MB / 3.311 GB, free: 138.5 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)