Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001413, allocations: 179.8 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.336/2.336, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000955/0.000955, allocations: 97.78 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 11.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.156/7.364, allocations: 2.198 GB / 3.098 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/7.364, allocations: 97.17 kB / 3.098 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.173/9.537, allocations: 469.6 MB / 3.556 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.738e-06/9.537, allocations: 0 / 3.556 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001139/9.537, allocations: 26.06 kB / 3.556 GB, free: 211.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004019/9.541, allocations: 1.141 MB / 3.557 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/9.541, allocations: 9.75 kB / 3.557 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/9.545, allocations: 268.5 kB / 3.558 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/9.547, allocations: 0.6062 MB / 3.558 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/9.547, allocations: 44.59 kB / 3.558 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/9.547, allocations: 64.61 kB / 3.558 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/9.549, allocations: 0.6213 MB / 3.559 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/9.549, allocations: 3.938 kB / 3.559 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.301e-05/9.549, allocations: 29.38 kB / 3.559 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/9.549, allocations: 16.78 kB / 3.559 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/9.551, allocations: 0.5059 MB / 3.559 GB, free: 209.4 MB / 0.8855 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.005051/9.556, allocations: 2.426 MB / 3.562 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/9.557, allocations: 363.1 kB / 3.562 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/9.557, allocations: 228.7 kB / 3.562 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007946/9.558, allocations: 310.4 kB / 3.563 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/9.558, allocations: 34.89 kB / 3.563 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 3.056e-06/9.558, allocations: 0 / 3.563 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.002254/9.56, allocations: 0.6073 MB / 3.563 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/9.56, allocations: 58.25 kB / 3.563 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/9.561, allocations: 0.491 MB / 3.564 GB, free: 205 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/9.561, allocations: 37.7 kB / 3.564 GB, free: 205 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/9.562, allocations: 324.4 kB / 3.564 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/9.562, allocations: 140.8 kB / 3.564 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/9.562, allocations: 8 kB / 3.564 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001234/9.562, allocations: 369.3 kB / 3.565 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/9.563, allocations: 164.7 kB / 3.565 GB, free: 204 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/9.563, allocations: 292 kB / 3.565 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/9.564, allocations: 202.7 kB / 3.565 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/9.564, allocations: 0 / 3.565 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001467/9.565, allocations: 0.5149 MB / 3.566 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/9.566, allocations: 156.2 kB / 3.566 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/9.566, allocations: 7.938 kB / 3.566 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/9.566, allocations: 4 kB / 3.566 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/9.567, allocations: 119.1 kB / 3.566 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004355/9.567, allocations: 0.5899 MB / 3.567 GB, free: 202 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/9.569, allocations: 75.27 kB / 3.567 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/9.569, allocations: 27.75 kB / 3.567 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/9.569, allocations: 4 kB / 3.567 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001282/9.57, allocations: 447 kB / 3.567 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/9.57, allocations: 4 kB / 3.567 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/9.57, allocations: 11.92 kB / 3.567 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/9.571, allocations: 99.89 kB / 3.567 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/9.571, allocations: 11.88 kB / 3.567 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/9.572, allocations: 81.95 kB / 3.567 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.798e-05/9.572, allocations: 20 kB / 3.567 GB, free: 201.3 MB / 0.8855 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.0006845/9.573, allocations: 305.5 kB / 3.568 GB, free: 201 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/9.573, allocations: 59.19 kB / 3.568 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/9.575, allocations: 477.5 kB / 3.568 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/9.575, allocations: 4 kB / 3.568 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/9.575, allocations: 0 / 3.568 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/9.576, allocations: 0.7077 MB / 3.569 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/9.579, allocations: 1.276 MB / 3.57 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/9.579, allocations: 0 / 3.57 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/9.58, allocations: 107.9 kB / 3.57 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/9.58, allocations: 7.125 kB / 3.57 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/9.58, allocations: 8 kB / 3.57 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/9.581, allocations: 0.5977 MB / 3.571 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/9.581, allocations: 0 / 3.571 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/9.583, allocations: 0.8231 MB / 3.572 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/9.583, allocations: 188.3 kB / 3.572 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/9.583, allocations: 11.94 kB / 3.572 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/9.584, allocations: 51.86 kB / 3.572 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/9.584, allocations: 27.95 kB / 3.572 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/9.584, allocations: 20 kB / 3.572 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006218/9.585, allocations: 346.8 kB / 3.572 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/9.585, allocations: 0 / 3.572 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00225/9.587, allocations: 495.1 kB / 3.573 GB, free: 195.6 MB / 0.8855 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.002795/9.59, allocations: 1.376 MB / 3.574 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002479/9.593, allocations: 0.6641 MB / 3.575 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/9.593, allocations: 0 / 3.575 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006965/9.593, allocations: 215.7 kB / 3.575 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/9.597, allocations: 368.1 kB / 3.575 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/9.6, allocations: 1.711 MB / 3.577 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/9.601, allocations: 0.9499 MB / 3.578 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001359/9.602, allocations: 212.1 kB / 3.578 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/9.603, allocations: 43.44 kB / 3.578 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.262e-06/9.603, allocations: 0 / 3.578 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.06276/9.665, allocations: 27.72 MB / 3.605 GB, free: 162.8 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)