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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 193.7 kB / 16.14 MB, free: 6.688 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.536/1.536, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.5 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.354, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2171/0.5711, allocations: 182.8 MB / 1.246 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6297/1.201, allocations: 7.043 MB / 1.253 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00083/1.202, allocations: 24.09 kB / 1.253 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/1.203, allocations: 342.4 kB / 1.253 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/1.206, allocations: 1.365 MB / 1.255 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/1.209, allocations: 1.048 MB / 1.256 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003052/1.212, allocations: 2.718 MB / 1.258 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008045/1.213, allocations: 0.56 MB / 1.259 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/1.214, allocations: 0.729 MB / 1.26 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/1.215, allocations: 0.6209 MB / 1.26 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/1.215, allocations: 43.91 kB / 1.26 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/1.219, allocations: 2.189 MB / 1.262 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/1.219, allocations: 265.4 kB / 1.263 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004472/1.22, allocations: 396.8 kB / 1.263 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/1.223, allocations: 1.832 MB / 1.265 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.223, allocations: 0 / 1.265 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/1.223, allocations: 2.5 kB / 1.265 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.029e-05/1.223, allocations: 0 / 1.265 GB, free: 5.254 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.001906/1.224, allocations: 1.159 MB / 1.266 GB, free: 20.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.225, allocations: 10.66 kB / 1.266 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.226, allocations: 274.9 kB / 1.266 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/1.227, allocations: 0.5787 MB / 1.267 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/1.227, allocations: 40.94 kB / 1.267 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/1.227, allocations: 57.31 kB / 1.267 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/1.228, allocations: 0.6346 MB / 1.267 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/1.228, allocations: 1.875 kB / 1.267 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/1.228, allocations: 28.03 kB / 1.267 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.229, allocations: 20.03 kB / 1.267 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/1.229, allocations: 0.5197 MB / 1.268 GB, free: 20.16 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.002981/1.232, allocations: 2.455 MB / 1.27 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/1.233, allocations: 363 kB / 1.271 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/1.233, allocations: 239.4 kB / 1.271 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/1.234, allocations: 305 kB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.234, allocations: 44.3 kB / 1.271 GB, free: 18.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 1.834e-06/1.234, allocations: 1.094 kB / 1.271 GB, free: 18.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001373/1.235, allocations: 0.6125 MB / 1.272 GB, free: 18.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.236, allocations: 56.34 kB / 1.272 GB, free: 18.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/1.236, allocations: 0.5007 MB / 1.272 GB, free: 18.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/1.236, allocations: 36.17 kB / 1.272 GB, free: 18.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.236, allocations: 325.8 kB / 1.273 GB, free: 18.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/1.237, allocations: 142.5 kB / 1.273 GB, free: 17.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.237, allocations: 86.27 kB / 1.273 GB, free: 17.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.237, allocations: 362.7 kB / 1.273 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/1.237, allocations: 177.9 kB / 1.274 GB, free: 17.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/1.238, allocations: 279.2 kB / 1.274 GB, free: 17.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/1.238, allocations: 454.7 kB / 1.274 GB, free: 17.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.238, allocations: 0 / 1.274 GB, free: 17.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009935/1.239, allocations: 0.5293 MB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.239, allocations: 9.719 kB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.239, allocations: 2.812 kB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.239, allocations: 4.828 kB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/1.24, allocations: 128.2 kB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/1.241, allocations: 0.5995 MB / 1.275 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/1.241, allocations: 86.33 kB / 1.276 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/1.242, allocations: 20.7 kB / 1.276 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006396/1.242, allocations: 350.9 kB / 1.276 GB, free: 16.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004578/1.243, allocations: 286.5 kB / 1.276 GB, free: 16.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006662/1.243, allocations: 447.8 kB / 1.277 GB, free: 16.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/1.243, allocations: 2.906 kB / 1.277 GB, free: 16.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000929/1.244, allocations: 0.5192 MB / 1.277 GB, free: 16.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.244, allocations: 12.31 kB / 1.277 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.244, allocations: 2.656 kB / 1.277 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/1.244, allocations: 5.094 kB / 1.277 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/1.245, allocations: 120 kB / 1.277 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.245, allocations: 13.69 kB / 1.277 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/1.245, allocations: 76.86 kB / 1.277 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/1.246, allocations: 18.31 kB / 1.277 GB, free: 16.31 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.0002035/1.246, allocations: 203.8 kB / 1.278 GB, free: 16.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.246, allocations: 65.5 kB / 1.278 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009108/1.247, allocations: 478 kB / 1.278 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.247, allocations: 9.25 kB / 1.278 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.247, allocations: 2.656 kB / 1.278 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008271/1.248, allocations: 0.7047 MB / 1.279 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/1.25, allocations: 1.291 MB / 1.28 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.25, allocations: 2.688 kB / 1.28 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/1.25, allocations: 120.8 kB / 1.28 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.25, allocations: 8.031 kB / 1.28 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/1.25, allocations: 10.28 kB / 1.28 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002932/1.251, allocations: 0.597 MB / 1.281 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.251, allocations: 2.906 kB / 1.281 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.252, allocations: 0.7866 MB / 1.282 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/1.252, allocations: 192.9 kB / 1.282 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/1.252, allocations: 10.5 kB / 1.282 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/1.253, allocations: 46.69 kB / 1.282 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.253, allocations: 27.86 kB / 1.282 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/1.253, allocations: 15.33 kB / 1.282 GB, free: 14.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004195/1.253, allocations: 353.6 kB / 1.282 GB, free: 14.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.253, allocations: 0 / 1.282 GB, free: 14.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001033/1.254, allocations: 361.9 kB / 1.282 GB, free: 14.12 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.0004404/1.255, allocations: 211.1 kB / 1.283 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001392/1.256, allocations: 0.6741 MB / 1.283 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.256, allocations: 0.8438 kB / 1.283 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/1.257, allocations: 218.9 kB / 1.284 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.258, allocations: 361.7 kB / 1.284 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/1.26, allocations: 1.637 MB / 1.285 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/1.261, allocations: 0.9491 MB / 1.286 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007325/1.262, allocations: 202.2 kB / 1.287 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.262, allocations: 50.45 kB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.262, allocations: 1.031 kB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of Templates: time 0.02159/1.283, allocations: 11.93 MB / 1.298 GB, free: 11.58 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)