Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 71.59 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3039, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.197/0.501, allocations: 185.1 MB / 1.249 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6953/1.196, allocations: 6.963 MB / 1.256 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/1.198, allocations: 28.5 kB / 1.256 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/1.199, allocations: 401.8 kB / 1.256 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003578/1.202, allocations: 1.446 MB / 1.258 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/1.206, allocations: 1.158 MB / 1.259 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003014/1.209, allocations: 1.942 MB / 1.261 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/1.21, allocations: 0.6607 MB / 1.261 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/1.212, allocations: 0.8269 MB / 1.262 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/1.213, allocations: 0.6 MB / 1.263 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/1.213, allocations: 69.47 kB / 1.263 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004028/1.217, allocations: 1.922 MB / 1.265 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004017/1.218, allocations: 292 kB / 1.265 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006043/1.218, allocations: 429.3 kB / 1.265 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004086/1.222, allocations: 1.744 MB / 1.267 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.222, allocations: 4 kB / 1.267 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.222, allocations: 3.938 kB / 1.267 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.459e-05/1.222, allocations: 0.9062 kB / 1.267 GB, free: 5.559 MB / 0.9981 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.002252/1.225, allocations: 1.159 MB / 1.268 GB, free: 20.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.225, allocations: 10.97 kB / 1.268 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/1.227, allocations: 269.8 kB / 1.268 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/1.228, allocations: 0.5853 MB / 1.269 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/1.228, allocations: 40.25 kB / 1.269 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/1.228, allocations: 55.03 kB / 1.269 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/1.229, allocations: 0.6368 MB / 1.27 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/1.229, allocations: 0 / 1.27 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/1.229, allocations: 23.94 kB / 1.27 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/1.229, allocations: 18.67 kB / 1.27 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/1.23, allocations: 0.5221 MB / 1.27 GB, free: 20.47 MB / 1.014 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.003216/1.233, allocations: 2.471 MB / 1.273 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/1.234, allocations: 364.5 kB / 1.273 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/1.234, allocations: 239.4 kB / 1.273 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/1.235, allocations: 309.4 kB / 1.273 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.235, allocations: 40.25 kB / 1.273 GB, free: 18.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.404e-06/1.235, allocations: 0 / 1.273 GB, free: 18.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001479/1.237, allocations: 0.6246 MB / 1.274 GB, free: 18.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.237, allocations: 55.69 kB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/1.237, allocations: 0.4912 MB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/1.237, allocations: 35.92 kB / 1.275 GB, free: 18.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/1.238, allocations: 323.4 kB / 1.275 GB, free: 18.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.238, allocations: 140.8 kB / 1.275 GB, free: 18.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/1.238, allocations: 86.56 kB / 1.275 GB, free: 18.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.238, allocations: 368.3 kB / 1.276 GB, free: 17.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/1.238, allocations: 176.2 kB / 1.276 GB, free: 17.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/1.239, allocations: 283.2 kB / 1.276 GB, free: 17.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/1.24, allocations: 444.8 kB / 1.276 GB, free: 17.74 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.24, allocations: 1.781 kB / 1.276 GB, free: 17.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001014/1.241, allocations: 0.534 MB / 1.277 GB, free: 17.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.241, allocations: 5.719 kB / 1.277 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.241, allocations: 4.953 kB / 1.277 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.241, allocations: 7.969 kB / 1.277 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/1.242, allocations: 134.9 kB / 1.277 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/1.242, allocations: 0.5905 MB / 1.278 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/1.243, allocations: 52.66 kB / 1.278 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/1.243, allocations: 18.66 kB / 1.278 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009898/1.244, allocations: 353.5 kB / 1.278 GB, free: 16.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005329/1.244, allocations: 285 kB / 1.278 GB, free: 16.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007992/1.245, allocations: 450.3 kB / 1.279 GB, free: 16.78 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.748e-06/1.245, allocations: 2.312 kB / 1.279 GB, free: 16.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001055/1.246, allocations: 0.5249 MB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.246, allocations: 7.062 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.246, allocations: 2.594 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/1.246, allocations: 4.875 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/1.247, allocations: 117.7 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.247, allocations: 7.266 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/1.247, allocations: 44.44 kB / 1.279 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/1.247, allocations: 18.22 kB / 1.279 GB, free: 16.69 MB / 1.014 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.248, allocations: 211.1 kB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.248, allocations: 61.31 kB / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/1.249, allocations: 484.8 kB / 1.28 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.249, allocations: 5.984 kB / 1.28 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.249, allocations: 2.625 kB / 1.28 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008338/1.25, allocations: 0.7095 MB / 1.281 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/1.252, allocations: 1.283 MB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.252, allocations: 3.094 kB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/1.253, allocations: 122.3 kB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.253, allocations: 4.406 kB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/1.253, allocations: 11.69 kB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002983/1.253, allocations: 0.5974 MB / 1.283 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.253, allocations: 6.203 kB / 1.283 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.254, allocations: 0.7995 MB / 1.284 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/1.255, allocations: 188.2 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/1.255, allocations: 9.969 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/1.255, allocations: 21.47 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.255, allocations: 27.73 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/1.255, allocations: 15.38 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000455/1.256, allocations: 351.4 kB / 1.284 GB, free: 14.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 0 / 1.284 GB, free: 14.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001183/1.257, allocations: 369.2 kB / 1.285 GB, free: 14.52 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005772/1.257, allocations: 212 kB / 1.285 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.259, allocations: 0.7129 MB / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.259, allocations: 1.844 kB / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004717/1.26, allocations: 221.6 kB / 1.286 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.262, allocations: 368.1 kB / 1.286 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/1.264, allocations: 1.389 MB / 1.287 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/1.265, allocations: 0.9474 MB / 1.288 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007994/1.265, allocations: 210.5 kB / 1.289 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.266, allocations: 53.72 kB / 1.289 GB, free: 13.07 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.266, allocations: 6.234 kB / 1.289 GB, free: 13.07 MB / 1.014 GB Notification: Performance of Templates: time 0.0245/1.29, allocations: 12.38 MB / 1.301 GB, free: 12.32 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)