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.533/1.533, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.0009731/0.0009733, allocations: 180.8 kB / 366.7 MB, free: 1.629 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.529/1.529, allocations: 205.3 MB / 0.626 GB, free: 7.141 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.0008591/0.000859, allocations: 88.55 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.239e-05, allocations: 8 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7724, allocations: 116.3 MB / 0.9732 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.037/5.809, allocations: 2.08 GB / 3.054 GB, free: 48.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/5.809, allocations: 87.95 kB / 3.054 GB, free: 48.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.271/8.081, allocations: 477.7 MB / 3.52 GB, free: 232 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.536e-06/8.081, allocations: 0 / 3.52 GB, free: 232 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001476/8.081, allocations: 21.5 kB / 3.52 GB, free: 232 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.003737/8.085, allocations: 1.029 MB / 3.521 GB, free: 231.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/8.085, allocations: 6.531 kB / 3.521 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/8.087, allocations: 266.4 kB / 3.521 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/8.089, allocations: 0.6037 MB / 3.522 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/8.089, allocations: 16.75 kB / 3.522 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/8.089, allocations: 33.28 kB / 3.522 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001275/8.091, allocations: 443.1 kB / 3.522 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/8.092, allocations: 0.517 MB / 3.523 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/8.092, allocations: 0 / 3.523 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/8.092, allocations: 1.469 kB / 3.523 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/8.092, allocations: 18.31 kB / 3.523 GB, free: 231.2 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.003898/8.096, allocations: 2.306 MB / 3.525 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/8.097, allocations: 331.2 kB / 3.526 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/8.097, allocations: 204.9 kB / 3.526 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/8.098, allocations: 306 kB / 3.526 GB, free: 229.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/8.098, allocations: 35.86 kB / 3.526 GB, free: 229.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.374e-06/8.098, allocations: 0 / 3.526 GB, free: 229.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001259/8.099, allocations: 436.2 kB / 3.526 GB, free: 229.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/8.099, allocations: 54.75 kB / 3.527 GB, free: 229.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/8.099, allocations: 369.7 kB / 3.527 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/8.1, allocations: 26.95 kB / 3.527 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/8.1, allocations: 323 kB / 3.527 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/8.1, allocations: 137.7 kB / 3.527 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/8.1, allocations: 3.281 kB / 3.527 GB, free: 229.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000118/8.1, allocations: 359.3 kB / 3.528 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/8.1, allocations: 138.5 kB / 3.528 GB, free: 228.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/8.101, allocations: 261.9 kB / 3.528 GB, free: 228.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/8.101, allocations: 208.6 kB / 3.528 GB, free: 228.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/8.101, allocations: 1.375 kB / 3.528 GB, free: 228.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008345/8.102, allocations: 462.8 kB / 3.529 GB, free: 228.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002694/8.102, allocations: 0.882 MB / 3.53 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/8.102, allocations: 2.781 kB / 3.53 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/8.102, allocations: 4.344 kB / 3.53 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/8.103, allocations: 116.5 kB / 3.53 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000345/8.103, allocations: 0.6061 MB / 3.53 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/8.104, allocations: 63.36 kB / 3.53 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/8.104, allocations: 18.16 kB / 3.53 GB, free: 227.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/8.104, allocations: 5.094 kB / 3.53 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007222/8.105, allocations: 391.7 kB / 3.531 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/8.105, allocations: 0 / 3.531 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/8.105, allocations: 7.375 kB / 3.531 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/8.105, allocations: 104.6 kB / 3.531 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/8.105, allocations: 7.188 kB / 3.531 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/8.106, allocations: 61.39 kB / 3.531 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/8.106, allocations: 21.03 kB / 3.531 GB, free: 227.1 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.0001491/8.106, allocations: 116 kB / 3.531 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/8.107, allocations: 59.53 kB / 3.531 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008206/8.107, allocations: 437.4 kB / 3.532 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/8.107, allocations: 3.562 kB / 3.532 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/8.107, allocations: 0 / 3.532 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006871/8.108, allocations: 0.6564 MB / 3.532 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/8.11, allocations: 1.159 MB / 3.533 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/8.11, allocations: 2.25 kB / 3.533 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/8.111, allocations: 107.6 kB / 3.533 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/8.111, allocations: 3.969 kB / 3.533 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/8.111, allocations: 4 kB / 3.533 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002437/8.111, allocations: 0.5961 MB / 3.534 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/8.111, allocations: 2.656 kB / 3.534 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/8.112, allocations: 0.8306 MB / 3.535 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/8.113, allocations: 179.9 kB / 3.535 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/8.113, allocations: 5.688 kB / 3.535 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/8.113, allocations: 41.48 kB / 3.535 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/8.113, allocations: 32.33 kB / 3.535 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/8.113, allocations: 19.14 kB / 3.535 GB, free: 225.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003829/8.114, allocations: 281 kB / 3.535 GB, free: 225 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.114, allocations: 0.7812 kB / 3.535 GB, free: 225 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001711/8.116, allocations: 436.4 kB / 3.536 GB, free: 225 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.003064/8.119, allocations: 1.556 MB / 3.537 GB, free: 224.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001457/8.12, allocations: 0.5878 MB / 3.538 GB, free: 224.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/8.12, allocations: 0 / 3.538 GB, free: 224.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/8.121, allocations: 196.6 kB / 3.538 GB, free: 224.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/8.122, allocations: 317.2 kB / 3.538 GB, free: 224.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/8.125, allocations: 1.064 MB / 3.539 GB, free: 224.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/8.125, allocations: 0.9625 MB / 3.54 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001132/8.127, allocations: 230.7 kB / 3.541 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/8.127, allocations: 41.75 kB / 3.541 GB, free: 223.5 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/8.127, allocations: 0 / 3.541 GB, free: 223.5 MB / 0.948 GB Notification: Performance of Templates: time 0.03694/8.164, allocations: 18.74 MB / 3.559 GB, free: 222.8 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)