Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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_1.6_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001194/0.001195, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01033/0.01033, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6302/0.6302, allocations: 95.63 MB / 366.4 MB, free: 10.25 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005751/0.0005752, allocations: 12.7 kB / 447.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3529, allocations: 70.33 MB / 0.5057 GB, free: 16.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6409/0.9939, allocations: 202.5 MB / 0.7034 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01082/1.005, allocations: 5.801 MB / 0.7091 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/1.007, allocations: 29.88 kB / 0.7091 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/1.009, allocations: 401 kB / 0.7095 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005325/1.014, allocations: 1.383 MB / 0.7109 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006451/1.02, allocations: 1.769 MB / 0.7126 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004175/1.025, allocations: 3.117 MB / 0.7156 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/1.026, allocations: 0.6163 MB / 0.7162 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/1.028, allocations: 0.6984 MB / 0.7169 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/1.03, allocations: 0.7345 MB / 0.7176 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/1.03, allocations: 41.5 kB / 0.7177 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006935/1.037, allocations: 2.888 MB / 0.7205 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009676/1.038, allocations: 316.5 kB / 0.7208 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/1.04, allocations: 0.4973 MB / 0.7213 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008134/1.048, allocations: 2.746 MB / 0.724 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.048, allocations: 3.938 kB / 0.724 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.876e-06/1.048, allocations: 0 / 0.724 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.507e-05/1.048, allocations: 2.344 kB / 0.724 GB, free: 15.32 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003716/1.052, allocations: 1.297 MB / 0.7252 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.052, allocations: 12.14 kB / 0.7253 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/1.053, allocations: 101.1 kB / 0.7254 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/1.054, allocations: 0.7283 MB / 0.7261 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/1.054, allocations: 52.78 kB / 0.7261 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/1.055, allocations: 68.47 kB / 0.7262 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.057, allocations: 0.8754 MB / 0.727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/1.057, allocations: 0 / 0.727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.057, allocations: 36 kB / 0.7271 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/1.057, allocations: 16 kB / 0.7271 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/1.059, allocations: 0.8717 MB / 0.7279 GB, free: 12.15 MB / 0.5137 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.005682/1.064, allocations: 3.43 MB / 0.7313 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.065, allocations: 471.7 kB / 0.7317 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/1.066, allocations: 261.4 kB / 0.732 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/1.067, allocations: 1.169 MB / 0.7331 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/1.067, allocations: 46.92 kB / 0.7332 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 3.005e-06/1.067, allocations: 0 / 0.7332 GB, free: 6.312 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: vol.dynBal.medium.T 2: vol.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.006408/1.074, allocations: 2.242 MB / 0.7354 GB, free: 4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/1.074, allocations: 59.34 kB / 0.7354 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.075, allocations: 0.7189 MB / 0.7361 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/1.075, allocations: 37.7 kB / 0.7362 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/1.076, allocations: 394.8 kB / 0.7365 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/1.076, allocations: 164.9 kB / 0.7367 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.076, allocations: 57.69 kB / 0.7367 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.076, allocations: 378.8 kB / 0.7371 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/1.077, allocations: 261.2 kB / 0.7374 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/1.077, allocations: 396.7 kB / 0.7377 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.079, allocations: 0.6496 MB / 0.7384 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.079, allocations: 7.938 kB / 0.7384 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001585/1.08, allocations: 0.7879 MB / 0.7391 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002/1.08, allocations: 183.3 kB / 0.7393 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.08, allocations: 8 kB / 0.7393 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.08, allocations: 8 kB / 0.7393 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.081, allocations: 191.7 kB / 0.7395 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005001/1.082, allocations: 0.6055 MB / 0.7401 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/1.083, allocations: 69.92 kB / 0.7402 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.083, allocations: 27.98 kB / 0.7402 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/1.083, allocations: 4 kB / 0.7402 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001554/1.085, allocations: 0.6923 MB / 0.7409 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.085, allocations: 4 kB / 0.7409 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.085, allocations: 8.406 kB / 0.7409 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/1.085, allocations: 175.7 kB / 0.7411 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.086, allocations: 8 kB / 0.7411 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/1.086, allocations: 67.84 kB / 0.7411 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/1.086, allocations: 24 kB / 0.7412 GB, free: 13.85 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (76): * Single equations (assignments): 75 * 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.0006552/1.087, allocations: 344.8 kB / 0.7415 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/1.087, allocations: 75.14 kB / 0.7416 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.089, allocations: 0.8035 MB / 0.7423 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.089, allocations: 8 kB / 0.7424 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.089, allocations: 4.125 kB / 0.7424 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.089, allocations: 7.922 kB / 0.7424 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/1.091, allocations: 0.7509 MB / 0.7431 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/1.091, allocations: 0 / 0.7431 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/1.091, allocations: 147.8 kB / 0.7432 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/1.092, allocations: 88.77 kB / 0.7433 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/1.092, allocations: 15.98 kB / 0.7433 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008451/1.093, allocations: 1.158 MB / 0.7445 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.093, allocations: 0 / 0.7445 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.095, allocations: 1.023 MB / 0.7455 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/1.095, allocations: 252.1 kB / 0.7457 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/1.096, allocations: 16 kB / 0.7457 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/1.096, allocations: 51.89 kB / 0.7458 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.096, allocations: 40.31 kB / 0.7458 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/1.096, allocations: 27.98 kB / 0.7458 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007756/1.097, allocations: 0.5341 MB / 0.7464 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/1.097, allocations: 0 / 0.7464 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00232/1.1, allocations: 0.6676 MB / 0.747 GB, free: 7.703 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/1.102, allocations: 0.6077 MB / 0.7476 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002445/1.104, allocations: 1.038 MB / 0.7486 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.104, allocations: 4.062 kB / 0.7486 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009251/1.105, allocations: 362.4 kB / 0.749 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.108, allocations: 447.1 kB / 0.7494 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/1.111, allocations: 2.096 MB / 0.7514 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/1.112, allocations: 1.006 MB / 0.7524 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001238/1.114, allocations: 258.3 kB / 0.7527 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/1.114, allocations: 71.42 kB / 0.7527 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of SimCode: time 1.342e-06/1.114, allocations: 0 / 0.7527 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of Templates: time 0.04343/1.157, allocations: 22.45 MB / 0.7747 GB, free: 11.52 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: