Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7697/0.7697, allocations: 117.9 MB / 133.9 MB, free: 4.523 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009524/0.0009526, allocations: 184 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 394.8 MB, free: 20.94 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 96.14 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.000367, allocations: 19.98 kB / 0.5423 GB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.352, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.518/4.87, allocations: 2.155 GB / 2.771 GB, free: 227.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/4.871, allocations: 95.69 kB / 2.771 GB, free: 227.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.677/6.548, allocations: 481 MB / 3.24 GB, free: 121.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/6.548, allocations: 1.469 kB / 3.24 GB, free: 121.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.867e-05/6.548, allocations: 25.95 kB / 3.24 GB, free: 121.6 MB / 0.6355 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.00214/6.55, allocations: 1.129 MB / 3.242 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/6.55, allocations: 13.72 kB / 3.242 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/6.552, allocations: 267.5 kB / 3.242 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/6.553, allocations: 0.6478 MB / 3.242 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/6.553, allocations: 40.41 kB / 3.242 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/6.553, allocations: 58.5 kB / 3.243 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/6.555, allocations: 0.661 MB / 3.243 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/6.555, allocations: 7.906 kB / 3.243 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/6.555, allocations: 23 kB / 3.243 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/6.555, allocations: 27.2 kB / 3.243 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/6.556, allocations: 0.5361 MB / 3.244 GB, free: 120.7 MB / 0.6355 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.002488/6.558, allocations: 2.424 MB / 3.246 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007644/6.559, allocations: 415.2 kB / 3.247 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/6.559, allocations: 227.1 kB / 3.247 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/6.56, allocations: 305.5 kB / 3.247 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/6.56, allocations: 40.22 kB / 3.247 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.667e-06/6.56, allocations: 2.062 kB / 3.247 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.001519/6.561, allocations: 0.6538 MB / 3.248 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/6.561, allocations: 58.66 kB / 3.248 GB, free: 119 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/6.562, allocations: 497.2 kB / 3.248 GB, free: 118.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/6.562, allocations: 35.58 kB / 3.248 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/6.562, allocations: 329.4 kB / 3.249 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/6.562, allocations: 138 kB / 3.249 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/6.562, allocations: 6.625 kB / 3.249 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/6.562, allocations: 363.4 kB / 3.249 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/6.563, allocations: 175.3 kB / 3.249 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/6.563, allocations: 285 kB / 3.25 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/6.564, allocations: 453.6 kB / 3.25 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/6.564, allocations: 0 / 3.25 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008529/6.564, allocations: 0.5336 MB / 3.25 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/6.565, allocations: 148.1 kB / 3.251 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/6.565, allocations: 0 / 3.251 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/6.565, allocations: 10.56 kB / 3.251 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/6.566, allocations: 186.9 kB / 3.251 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/6.568, allocations: 1.536 MB / 3.252 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/6.569, allocations: 84.92 kB / 3.252 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/6.569, allocations: 21.53 kB / 3.252 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-06/6.569, allocations: 3.812 kB / 3.252 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006866/6.569, allocations: 441.1 kB / 3.253 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/6.569, allocations: 0 / 3.253 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/6.569, allocations: 10.53 kB / 3.253 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/6.57, allocations: 99.58 kB / 3.253 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/6.57, allocations: 7.984 kB / 3.253 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/6.57, allocations: 76.34 kB / 3.253 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/6.57, allocations: 15.62 kB / 3.253 GB, free: 116.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (52): * Single equations (assignments): 51 * 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.0003384/6.571, allocations: 318.2 kB / 3.253 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/6.571, allocations: 57 kB / 3.253 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/6.572, allocations: 489.6 kB / 3.254 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/6.572, allocations: 3.906 kB / 3.254 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/6.572, allocations: 0 / 3.254 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006699/6.572, allocations: 0.7202 MB / 3.255 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/6.574, allocations: 1.272 MB / 3.256 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/6.574, allocations: 6.812 kB / 3.256 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/6.575, allocations: 202.7 kB / 3.256 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/6.575, allocations: 3.719 kB / 3.256 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/6.575, allocations: 10.81 kB / 3.256 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/6.577, allocations: 1.5 MB / 3.257 GB, free: 114.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/6.577, allocations: 7.5 kB / 3.257 GB, free: 114.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/6.578, allocations: 0.8298 MB / 3.258 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/6.578, allocations: 183.8 kB / 3.258 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/6.578, allocations: 14.19 kB / 3.258 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/6.579, allocations: 52.02 kB / 3.259 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/6.579, allocations: 39.58 kB / 3.259 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/6.579, allocations: 9.125 kB / 3.259 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003303/6.579, allocations: 347.1 kB / 3.259 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/6.579, allocations: 0 / 3.259 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001365/6.581, allocations: 492.9 kB / 3.259 GB, free: 113.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 37 * 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.001985/6.583, allocations: 1.41 MB / 3.261 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001814/6.584, allocations: 0.749 MB / 3.261 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/6.584, allocations: 3.062 kB / 3.262 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009921/6.585, allocations: 326.4 kB / 3.262 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/6.587, allocations: 354.6 kB / 3.262 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/6.589, allocations: 1.725 MB / 3.264 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/6.59, allocations: 0.9397 MB / 3.265 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007798/6.591, allocations: 204 kB / 3.265 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/6.591, allocations: 50.06 kB / 3.265 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/6.591, allocations: 0 / 3.265 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.03729/6.628, allocations: 28.24 MB / 3.293 GB, free: 111.2 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)