Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.719/1.719, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 194.9 kB / 384.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 108.1 kB / 0.7808 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004156, allocations: 16 kB / 0.9088 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7283, allocations: 120.3 MB / 1.026 GB, free: 55.75 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.274/5.002, allocations: 1.917 GB / 2.944 GB, free: 282.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/5.003, allocations: 92.23 kB / 2.944 GB, free: 282.3 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/6.58, allocations: 488.7 MB / 3.421 GB, free: 187.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.865e-06/6.58, allocations: 0 / 3.421 GB, free: 187.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.878e-05/6.58, allocations: 21.88 kB / 3.421 GB, free: 187.8 MB / 0.9792 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.0033/6.584, allocations: 1.135 MB / 3.422 GB, free: 186.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/6.584, allocations: 10.88 kB / 3.422 GB, free: 186.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/6.586, allocations: 263 kB / 3.422 GB, free: 186.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/6.587, allocations: 0.6293 MB / 3.423 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/6.587, allocations: 39.41 kB / 3.423 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/6.587, allocations: 62.12 kB / 3.423 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/6.588, allocations: 0.6165 MB / 3.424 GB, free: 185.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/6.589, allocations: 11.38 kB / 3.424 GB, free: 185.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/6.589, allocations: 19.78 kB / 3.424 GB, free: 185.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/6.589, allocations: 19.78 kB / 3.424 GB, free: 185.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/6.59, allocations: 0.5062 MB / 3.424 GB, free: 185.6 MB / 0.9792 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.002998/6.593, allocations: 2.424 MB / 3.427 GB, free: 183.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/6.593, allocations: 366 kB / 3.427 GB, free: 183.3 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/6.593, allocations: 231.3 kB / 3.427 GB, free: 183.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/6.594, allocations: 306.9 kB / 3.427 GB, free: 182.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/6.594, allocations: 38.33 kB / 3.427 GB, free: 182.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=39): time 2.304e-06/6.594, allocations: 0 / 3.427 GB, free: 182.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39): time 0.001253/6.595, allocations: 0.6092 MB / 3.428 GB, free: 182.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/6.595, allocations: 59.38 kB / 3.428 GB, free: 182.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/6.596, allocations: 496 kB / 3.429 GB, free: 182.2 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/6.596, allocations: 33.7 kB / 3.429 GB, free: 182.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/6.596, allocations: 327.4 kB / 3.429 GB, free: 181.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/6.596, allocations: 138.2 kB / 3.429 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/6.596, allocations: 8 kB / 3.429 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000111/6.596, allocations: 369.2 kB / 3.429 GB, free: 181.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/6.597, allocations: 165.7 kB / 3.43 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/6.597, allocations: 291.2 kB / 3.43 GB, free: 181.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/6.598, allocations: 451.5 kB / 3.43 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/6.598, allocations: 4 kB / 3.43 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008244/6.598, allocations: 0.5105 MB / 3.431 GB, free: 180.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/6.599, allocations: 155.5 kB / 3.431 GB, free: 180.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/6.599, allocations: 3.938 kB / 3.431 GB, free: 180.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/6.599, allocations: 6.812 kB / 3.431 GB, free: 180.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/6.599, allocations: 115.9 kB / 3.431 GB, free: 180.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003013/6.6, allocations: 0.6003 MB / 3.432 GB, free: 179.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/6.6, allocations: 83.27 kB / 3.432 GB, free: 179.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/6.6, allocations: 18.72 kB / 3.432 GB, free: 179.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/6.6, allocations: 15.44 kB / 3.432 GB, free: 179.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006932/6.601, allocations: 450.3 kB / 3.432 GB, free: 179.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/6.601, allocations: 2.5 kB / 3.432 GB, free: 179.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/6.601, allocations: 7.312 kB / 3.432 GB, free: 179.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/6.601, allocations: 106.1 kB / 3.432 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/6.601, allocations: 3.312 kB / 3.432 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/6.602, allocations: 72.33 kB / 3.432 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/6.602, allocations: 19.31 kB / 3.432 GB, free: 179.4 MB / 0.9792 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.0003129/6.602, allocations: 319.9 kB / 3.433 GB, free: 179.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/6.602, allocations: 59.88 kB / 3.433 GB, free: 179.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/6.603, allocations: 477.5 kB / 3.433 GB, free: 178.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/6.603, allocations: 11.86 kB / 3.433 GB, free: 178.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.603, allocations: 0 / 3.433 GB, free: 178.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006203/6.604, allocations: 0.7023 MB / 3.434 GB, free: 178.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/6.606, allocations: 1.27 MB / 3.435 GB, free: 177.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/6.606, allocations: 3.875 kB / 3.435 GB, free: 177.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/6.606, allocations: 106 kB / 3.435 GB, free: 177.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/6.606, allocations: 3.438 kB / 3.435 GB, free: 177.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/6.606, allocations: 11.06 kB / 3.435 GB, free: 177.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002161/6.606, allocations: 0.5961 MB / 3.436 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/6.606, allocations: 3.844 kB / 3.436 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/6.607, allocations: 0.8186 MB / 3.437 GB, free: 176.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/6.608, allocations: 194.2 kB / 3.437 GB, free: 176 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/6.608, allocations: 7.938 kB / 3.437 GB, free: 176 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/6.608, allocations: 53.33 kB / 3.437 GB, free: 175.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/6.608, allocations: 30.97 kB / 3.437 GB, free: 175.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/6.608, allocations: 15.72 kB / 3.437 GB, free: 175.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003573/6.609, allocations: 346.6 kB / 3.437 GB, free: 175.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/6.609, allocations: 3.938 kB / 3.437 GB, free: 175.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001539/6.61, allocations: 0.4894 MB / 3.438 GB, free: 175.6 MB / 0.9792 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.00243/6.613, allocations: 1.403 MB / 3.439 GB, free: 174.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001468/6.614, allocations: 0.6548 MB / 3.44 GB, free: 174.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/6.614, allocations: 256 / 3.44 GB, free: 174.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/6.615, allocations: 222 kB / 3.44 GB, free: 174.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/6.616, allocations: 362 kB / 3.44 GB, free: 174.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/6.619, allocations: 1.71 MB / 3.442 GB, free: 173 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/6.619, allocations: 0.9472 MB / 3.443 GB, free: 172.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007417/6.62, allocations: 201.3 kB / 3.443 GB, free: 172.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/6.62, allocations: 54.45 kB / 3.443 GB, free: 172.1 MB / 0.9792 GB Notification: Performance of SimCode: time 2.41e-07/6.62, allocations: 0 / 3.443 GB, free: 172.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.03963/6.66, allocations: 28.1 MB / 3.471 GB, free: 153.7 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)