Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001171/0.001171, allocations: 105.4 kB / 15.7 MB, free: 24 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.001235/0.001235, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.364/1.364, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 72.14 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2854, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7532/1.039, allocations: 185 MB / 0.9648 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01144/1.05, allocations: 6.945 MB / 0.9716 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/1.052, allocations: 25.94 kB / 0.9716 GB, free: 64 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/1.054, allocations: 407.6 kB / 0.972 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/1.059, allocations: 1.441 MB / 0.9734 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004175/1.063, allocations: 1.162 MB / 0.9746 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00401/1.067, allocations: 1.921 MB / 0.9764 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/1.068, allocations: 0.6596 MB / 0.9771 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/1.071, allocations: 0.8299 MB / 0.9779 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/1.073, allocations: 0.5978 MB / 0.9785 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/1.073, allocations: 67.38 kB / 0.9785 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005767/1.079, allocations: 1.928 MB / 0.9804 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005481/1.079, allocations: 292.9 kB / 0.9807 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007961/1.08, allocations: 425.3 kB / 0.9811 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/1.085, allocations: 1.766 MB / 0.9828 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.085, allocations: 0 / 0.9828 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/1.085, allocations: 0 / 0.9828 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.847e-05/1.085, allocations: 1.5 kB / 0.9828 GB, free: 12.57 MB / 0.7325 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.002378/1.088, allocations: 1.162 MB / 0.984 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.088, allocations: 10.03 kB / 0.984 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/1.09, allocations: 270.3 kB / 0.9842 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.091, allocations: 0.6059 MB / 0.9848 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/1.091, allocations: 39.72 kB / 0.9849 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.091, allocations: 65.81 kB / 0.9849 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.092, allocations: 0.629 MB / 0.9855 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.092, allocations: 6.375 kB / 0.9855 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/1.092, allocations: 20.91 kB / 0.9856 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/1.092, allocations: 19.12 kB / 0.9856 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/1.093, allocations: 0.525 MB / 0.9861 GB, free: 10.36 MB / 0.7325 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.00324/1.097, allocations: 2.449 MB / 0.9885 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/1.097, allocations: 374.1 kB / 0.9888 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/1.098, allocations: 234.3 kB / 0.9891 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/1.098, allocations: 309.2 kB / 0.9894 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.099, allocations: 37.56 kB / 0.9894 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/1.099, allocations: 0 / 0.9894 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001504/1.1, allocations: 0.6149 MB / 0.99 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/1.1, allocations: 58.19 kB / 0.9901 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/1.101, allocations: 498.9 kB / 0.9905 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/1.101, allocations: 38.7 kB / 0.9906 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/1.101, allocations: 320 kB / 0.9909 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/1.101, allocations: 143.3 kB / 0.991 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.101, allocations: 94.72 kB / 0.9911 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.102, allocations: 370.5 kB / 0.9915 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/1.102, allocations: 169.6 kB / 0.9916 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/1.102, allocations: 293.8 kB / 0.9919 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/1.103, allocations: 448.1 kB / 0.9923 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.103, allocations: 0 / 0.9923 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009382/1.104, allocations: 0.5257 MB / 0.9928 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.104, allocations: 6.031 kB / 0.9928 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.104, allocations: 6.078 kB / 0.9928 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.104, allocations: 4.656 kB / 0.9929 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/1.105, allocations: 137.4 kB / 0.993 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004026/1.105, allocations: 0.5916 MB / 0.9936 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/1.106, allocations: 50.33 kB / 0.9936 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/1.106, allocations: 23.58 kB / 0.9936 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005295/1.107, allocations: 353 kB / 0.994 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004221/1.107, allocations: 283 kB / 0.9942 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007158/1.108, allocations: 454.7 kB / 0.9947 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/1.108, allocations: 160 / 0.9947 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009344/1.109, allocations: 0.5317 MB / 0.9952 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.109, allocations: 8 kB / 0.9952 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.109, allocations: 6.281 kB / 0.9952 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.481e-06/1.109, allocations: 2.688 kB / 0.9952 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/1.109, allocations: 115.8 kB / 0.9953 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.109, allocations: 4.875 kB / 0.9953 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/1.11, allocations: 44.3 kB / 0.9954 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/1.11, allocations: 24.77 kB / 0.9954 GB, free: 3.43 MB / 0.7325 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.0002577/1.11, allocations: 205.8 kB / 0.9956 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/1.11, allocations: 63.53 kB / 0.9956 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/1.111, allocations: 483.1 kB / 0.9961 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.111, allocations: 5.688 kB / 0.9961 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.111, allocations: 0 / 0.9961 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009005/1.112, allocations: 0.7 MB / 0.9968 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/1.114, allocations: 1.275 MB / 0.998 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.115, allocations: 2.938 kB / 0.998 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/1.115, allocations: 124.2 kB / 0.9982 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.115, allocations: 2.719 kB / 0.9982 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/1.115, allocations: 11.53 kB / 0.9982 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003774/1.116, allocations: 0.601 MB / 0.9988 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.116, allocations: 6.688 kB / 0.9988 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.117, allocations: 0.8141 MB / 0.9996 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/1.117, allocations: 180.6 kB / 0.9997 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/1.117, allocations: 17.14 kB / 0.9998 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/1.118, allocations: 26.23 kB / 0.9998 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/1.118, allocations: 32.42 kB / 0.9998 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/1.118, allocations: 10.09 kB / 0.9998 GB, free: 16 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004641/1.118, allocations: 355 kB / 1 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.118, allocations: 0 / 1 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001211/1.12, allocations: 358.5 kB / 1 GB, free: 15.74 MB / 0.7481 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 (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.0005993/1.12, allocations: 209 kB / 1.001 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001562/1.122, allocations: 0.6684 MB / 1.001 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.122, allocations: 2.125 kB / 1.001 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004515/1.122, allocations: 224.3 kB / 1.002 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.124, allocations: 367.4 kB / 1.002 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/1.127, allocations: 1.385 MB / 1.003 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/1.127, allocations: 0.9441 MB / 1.004 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007215/1.128, allocations: 205.7 kB / 1.004 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/1.128, allocations: 56.05 kB / 1.004 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/1.128, allocations: 0 / 1.004 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.02492/1.153, allocations: 12.41 MB / 1.017 GB, free: 7.133 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)