Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001086/0.001086, allocations: 183 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.2 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009423/0.0009424, allocations: 90.72 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.523e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3116, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.176/6.488, allocations: 2.081 GB / 3.061 GB, free: 115 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/6.488, allocations: 86 kB / 3.061 GB, free: 114.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.602/8.09, allocations: 483.2 MB / 3.533 GB, free: 11.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/8.09, allocations: 0 / 3.533 GB, free: 11.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.132e-05/8.091, allocations: 31.86 kB / 3.533 GB, free: 11.01 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.001985/8.092, allocations: 1.025 MB / 3.534 GB, free: 9.941 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/8.093, allocations: 8.031 kB / 3.534 GB, free: 9.934 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/8.094, allocations: 270.8 kB / 3.534 GB, free: 9.668 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/8.095, allocations: 0.6011 MB / 3.535 GB, free: 9.027 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/8.095, allocations: 45.31 kB / 3.535 GB, free: 8.984 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/8.096, allocations: 59.91 kB / 3.535 GB, free: 8.926 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/8.096, allocations: 0.5936 MB / 3.535 GB, free: 8.316 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/8.096, allocations: 0 / 3.535 GB, free: 8.316 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/8.097, allocations: 20 kB / 3.535 GB, free: 8.297 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/8.097, allocations: 17.31 kB / 3.535 GB, free: 8.277 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/8.097, allocations: 465.1 kB / 3.536 GB, free: 7.824 MB / 0.948 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.002486/8.1, allocations: 2.424 MB / 3.538 GB, free: 5.191 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/8.1, allocations: 344.8 kB / 3.538 GB, free: 4.844 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/8.1, allocations: 213.4 kB / 3.539 GB, free: 4.633 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/8.101, allocations: 303.6 kB / 3.539 GB, free: 4.281 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/8.101, allocations: 38.88 kB / 3.539 GB, free: 4.234 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/8.101, allocations: 0 / 3.539 GB, free: 4.234 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.0008351/8.102, allocations: 435.3 kB / 3.539 GB, free: 3.805 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/8.102, allocations: 59.34 kB / 3.539 GB, free: 3.734 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/8.102, allocations: 428.8 kB / 3.54 GB, free: 3.305 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/8.102, allocations: 37.7 kB / 3.54 GB, free: 3.262 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/8.102, allocations: 328.4 kB / 3.54 GB, free: 2.938 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/8.103, allocations: 141.9 kB / 3.54 GB, free: 2.797 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/8.103, allocations: 7.938 kB / 3.54 GB, free: 2.789 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/8.103, allocations: 366.8 kB / 3.541 GB, free: 2.422 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/8.103, allocations: 152.8 kB / 3.541 GB, free: 2.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/8.103, allocations: 266.1 kB / 3.541 GB, free: 1.965 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/8.103, allocations: 195.8 kB / 3.541 GB, free: 1.773 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/8.103, allocations: 4 kB / 3.541 GB, free: 1.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000609/8.104, allocations: 488.6 kB / 3.542 GB, free: 1.285 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/8.104, allocations: 0.8655 MB / 3.543 GB, free: 360 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/8.104, allocations: 4 kB / 3.543 GB, free: 356 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/8.104, allocations: 15.88 kB / 3.543 GB, free: 340 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/8.105, allocations: 107.9 kB / 3.543 GB, free: 232 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.728/8.833, allocations: 0.5894 MB / 3.543 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/8.834, allocations: 80.17 kB / 3.543 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/8.834, allocations: 21.08 kB / 3.543 GB, free: 176.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/8.834, allocations: 6.656 kB / 3.543 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009844/8.835, allocations: 412.4 kB / 3.544 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/8.835, allocations: 1.781 kB / 3.544 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/8.835, allocations: 7.531 kB / 3.544 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/8.836, allocations: 105.2 kB / 3.544 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/8.836, allocations: 6.812 kB / 3.544 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/8.836, allocations: 77.78 kB / 3.544 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/8.836, allocations: 17.12 kB / 3.544 GB, free: 176.4 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 () * 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.000185/8.837, allocations: 135.3 kB / 3.544 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/8.837, allocations: 58.38 kB / 3.544 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/8.838, allocations: 433.3 kB / 3.545 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/8.838, allocations: 2.625 kB / 3.545 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/8.838, allocations: 5.719 kB / 3.545 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/8.839, allocations: 0.6701 MB / 3.545 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/8.841, allocations: 1.232 MB / 3.546 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/8.841, allocations: 2.219 kB / 3.546 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/8.842, allocations: 104.1 kB / 3.547 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/8.842, allocations: 6.781 kB / 3.547 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/8.842, allocations: 18.31 kB / 3.547 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002858/8.842, allocations: 0.5899 MB / 3.547 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/8.842, allocations: 11.28 kB / 3.547 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/8.843, allocations: 0.8423 MB / 3.548 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/8.844, allocations: 179.2 kB / 3.548 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/8.844, allocations: 8.438 kB / 3.548 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/8.844, allocations: 54.27 kB / 3.548 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/8.844, allocations: 31.06 kB / 3.548 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/8.844, allocations: 14.09 kB / 3.548 GB, free: 174.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005017/8.845, allocations: 347.5 kB / 3.549 GB, free: 174.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.845, allocations: 0 / 3.549 GB, free: 174.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00236/8.847, allocations: 490.9 kB / 3.549 GB, free: 174.3 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 () * 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.00307/8.85, allocations: 1.38 MB / 3.55 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001768/8.852, allocations: 0.6121 MB / 3.551 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/8.852, allocations: 1.5 kB / 3.551 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/8.852, allocations: 200.8 kB / 3.551 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/8.854, allocations: 358.3 kB / 3.552 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/8.857, allocations: 1.093 MB / 3.553 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/8.858, allocations: 0.9613 MB / 3.554 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001056/8.859, allocations: 249.5 kB / 3.554 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/8.859, allocations: 41.47 kB / 3.554 GB, free: 173 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/8.859, allocations: 0 / 3.554 GB, free: 173 MB / 0.948 GB Notification: Performance of Templates: time 0.04965/8.908, allocations: 32.32 MB / 3.585 GB, free: 172.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)