Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008014/0.008014, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.00204/0.00204, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.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.001407/0.001407, allocations: 67.89 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2578, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9311/1.189, allocations: 185.2 MB / 1.009 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01264/1.202, allocations: 7.03 MB / 1.016 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/1.203, allocations: 26.97 kB / 1.016 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/1.205, allocations: 408.1 kB / 1.016 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004779/1.21, allocations: 1.515 MB / 1.018 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/1.214, allocations: 1.192 MB / 1.019 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003367/1.217, allocations: 2 MB / 1.021 GB, free: 3.816 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/1.219, allocations: 0.6687 MB / 1.021 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/1.221, allocations: 0.8608 MB / 1.022 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/1.223, allocations: 0.6083 MB / 1.023 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/1.223, allocations: 70.28 kB / 1.023 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/1.228, allocations: 1.939 MB / 1.025 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004875/1.228, allocations: 298.1 kB / 1.025 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/1.229, allocations: 437.3 kB / 1.026 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/1.235, allocations: 1.787 MB / 1.027 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.235, allocations: 0 / 1.027 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/1.235, allocations: 0 / 1.027 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.037e-05/1.235, allocations: 0 / 1.027 GB, free: 15.88 MB / 0.7794 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.003119/1.238, allocations: 1.168 MB / 1.028 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/1.238, allocations: 9.594 kB / 1.028 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/1.24, allocations: 268.3 kB / 1.029 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/1.242, allocations: 0.6054 MB / 1.029 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/1.242, allocations: 44.06 kB / 1.029 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/1.242, allocations: 61.62 kB / 1.029 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/1.243, allocations: 0.6445 MB / 1.03 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.243, allocations: 3.938 kB / 1.03 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/1.243, allocations: 24 kB / 1.03 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/1.243, allocations: 21.3 kB / 1.03 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/1.244, allocations: 0.5243 MB / 1.031 GB, free: 13.22 MB / 0.7794 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.004311/1.249, allocations: 2.453 MB / 1.033 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/1.25, allocations: 373.1 kB / 1.033 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/1.25, allocations: 233.4 kB / 1.034 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/1.251, allocations: 311.6 kB / 1.034 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/1.251, allocations: 31.22 kB / 1.034 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 2.375e-06/1.251, allocations: 0 / 1.034 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001555/1.252, allocations: 0.6177 MB / 1.035 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/1.252, allocations: 59.34 kB / 1.035 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/1.253, allocations: 0.4949 MB / 1.035 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/1.253, allocations: 33.7 kB / 1.035 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/1.254, allocations: 320.4 kB / 1.035 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.254, allocations: 141.9 kB / 1.036 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/1.254, allocations: 94.12 kB / 1.036 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003655/1.254, allocations: 366.8 kB / 1.036 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/1.255, allocations: 167.4 kB / 1.036 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/1.255, allocations: 283.3 kB / 1.036 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/1.256, allocations: 448.2 kB / 1.037 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.256, allocations: 0 / 1.037 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001062/1.257, allocations: 0.52 MB / 1.037 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.257, allocations: 4 kB / 1.037 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.257, allocations: 4 kB / 1.037 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.257, allocations: 4 kB / 1.037 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/1.258, allocations: 139.7 kB / 1.037 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006026/1.259, allocations: 0.5938 MB / 1.038 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/1.259, allocations: 51.52 kB / 1.038 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/1.259, allocations: 20 kB / 1.038 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005874/1.26, allocations: 349 kB / 1.038 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004515/1.26, allocations: 279.3 kB / 1.039 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007828/1.261, allocations: 449.2 kB / 1.039 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/1.261, allocations: 0 / 1.039 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009511/1.262, allocations: 0.5125 MB / 1.04 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.262, allocations: 11.94 kB / 1.04 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.262, allocations: 4 kB / 1.04 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/1.262, allocations: 4 kB / 1.04 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/1.263, allocations: 115.8 kB / 1.04 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.263, allocations: 6.188 kB / 1.04 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/1.263, allocations: 41.12 kB / 1.04 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/1.263, allocations: 24 kB / 1.04 GB, free: 3.234 MB / 0.7794 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.0002403/1.264, allocations: 213.2 kB / 1.04 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/1.264, allocations: 59.28 kB / 1.04 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/1.265, allocations: 478.6 kB / 1.041 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.265, allocations: 4 kB / 1.041 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.265, allocations: 0 / 1.041 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008424/1.265, allocations: 0.7042 MB / 1.041 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/1.268, allocations: 1.277 MB / 1.043 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.268, allocations: 0 / 1.043 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/1.268, allocations: 127.8 kB / 1.043 GB, free: 212 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/1.268, allocations: 7.938 kB / 1.043 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/1.268, allocations: 8 kB / 1.043 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004436/1.269, allocations: 0.6068 MB / 1.043 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.269, allocations: 0 / 1.043 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.27, allocations: 0.8143 MB / 1.044 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/1.271, allocations: 192.2 kB / 1.044 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.271, allocations: 8 kB / 1.044 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/1.271, allocations: 30.33 kB / 1.044 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.271, allocations: 31.88 kB / 1.044 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/1.271, allocations: 16 kB / 1.044 GB, free: 14.42 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004645/1.272, allocations: 350.8 kB / 1.045 GB, free: 14.08 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/1.272, allocations: 0 / 1.045 GB, free: 14.08 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001206/1.273, allocations: 367.1 kB / 1.045 GB, free: 13.72 MB / 0.795 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.0006767/1.274, allocations: 213.5 kB / 1.045 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001663/1.275, allocations: 0.6639 MB / 1.046 GB, free: 12.85 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.275, allocations: 3.938 kB / 1.046 GB, free: 12.85 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/1.276, allocations: 211.8 kB / 1.046 GB, free: 12.64 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.278, allocations: 363.2 kB / 1.046 GB, free: 12.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/1.28, allocations: 1.381 MB / 1.048 GB, free: 10.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/1.281, allocations: 0.9457 MB / 1.049 GB, free: 9.895 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007177/1.282, allocations: 204.9 kB / 1.049 GB, free: 9.691 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.282, allocations: 47.44 kB / 1.049 GB, free: 9.645 MB / 0.795 GB Notification: Performance of SimCode: time 7.51e-07/1.282, allocations: 0 / 1.049 GB, free: 9.645 MB / 0.795 GB Notification: Performance of Templates: time 0.02617/1.308, allocations: 12.58 MB / 1.061 GB, free: 13.28 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)