Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.355/2.355, allocations: 253.2 MB / 260.6 MB, free: 7.418 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 178.4 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 96.98 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.12e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1964, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.069/7.266, allocations: 2.198 GB / 3.087 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/7.266, allocations: 87.45 kB / 3.087 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.062/9.328, allocations: 464.8 MB / 3.541 GB, free: 31.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/9.328, allocations: 0 / 3.541 GB, free: 31.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.348e-05/9.329, allocations: 23.98 kB / 3.541 GB, free: 31.87 MB / 0.8698 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.003058/9.332, allocations: 1.036 MB / 3.542 GB, free: 30.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/9.332, allocations: 8.031 kB / 3.542 GB, free: 30.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/9.335, allocations: 266.8 kB / 3.542 GB, free: 30.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/9.337, allocations: 0.5974 MB / 3.543 GB, free: 29.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/9.337, allocations: 23.94 kB / 3.543 GB, free: 29.86 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/9.337, allocations: 40 kB / 3.543 GB, free: 29.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00117/9.338, allocations: 442.8 kB / 3.543 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/9.339, allocations: 0.5205 MB / 3.544 GB, free: 28.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/9.339, allocations: 0 / 3.544 GB, free: 28.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/9.34, allocations: 3.984 kB / 3.544 GB, free: 28.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/9.34, allocations: 21.31 kB / 3.544 GB, free: 28.82 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004416/9.344, allocations: 2.305 MB / 3.546 GB, free: 26.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/9.345, allocations: 331.5 kB / 3.546 GB, free: 25.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/9.345, allocations: 199.1 kB / 3.547 GB, free: 25.79 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/9.346, allocations: 307.5 kB / 3.547 GB, free: 25.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/9.346, allocations: 42.83 kB / 3.547 GB, free: 25.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 3.367e-06/9.346, allocations: 0 / 3.547 GB, free: 25.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.001627/9.348, allocations: 423.1 kB / 3.547 GB, free: 24.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/9.348, allocations: 59.41 kB / 3.547 GB, free: 24.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006072/9.348, allocations: 369.3 kB / 3.548 GB, free: 24.53 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/9.348, allocations: 29.64 kB / 3.548 GB, free: 24.49 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/9.349, allocations: 316.3 kB / 3.548 GB, free: 24.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/9.349, allocations: 142 kB / 3.548 GB, free: 24.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/9.349, allocations: 0 / 3.548 GB, free: 24.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001041/9.349, allocations: 358.8 kB / 3.548 GB, free: 23.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/9.349, allocations: 136.8 kB / 3.549 GB, free: 23.54 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/9.35, allocations: 252.8 kB / 3.549 GB, free: 23.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/9.35, allocations: 203.8 kB / 3.549 GB, free: 23.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/9.35, allocations: 0 / 3.549 GB, free: 23.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001175/9.351, allocations: 472.7 kB / 3.549 GB, free: 22.58 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/9.352, allocations: 0.8771 MB / 3.55 GB, free: 21.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/9.352, allocations: 4 kB / 3.55 GB, free: 21.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/9.352, allocations: 4 kB / 3.55 GB, free: 21.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/9.353, allocations: 111.8 kB / 3.55 GB, free: 21.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00041/9.353, allocations: 0.6055 MB / 3.551 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/9.354, allocations: 67.64 kB / 3.551 GB, free: 20.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/9.355, allocations: 20 kB / 3.551 GB, free: 20.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/9.355, allocations: 4 kB / 3.551 GB, free: 20.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/9.356, allocations: 387.8 kB / 3.551 GB, free: 20.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/9.356, allocations: 0 / 3.551 GB, free: 20.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/9.356, allocations: 8.281 kB / 3.552 GB, free: 20.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/9.356, allocations: 99.89 kB / 3.552 GB, free: 20.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/9.357, allocations: 4 kB / 3.552 GB, free: 20.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/9.358, allocations: 63.64 kB / 3.552 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/9.358, allocations: 23.98 kB / 3.552 GB, free: 20.23 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001956/9.358, allocations: 120.7 kB / 3.552 GB, free: 20.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/9.358, allocations: 55.34 kB / 3.552 GB, free: 20.05 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/9.359, allocations: 423.1 kB / 3.552 GB, free: 19.63 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/9.359, allocations: 11.92 kB / 3.552 GB, free: 19.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/9.359, allocations: 0 / 3.552 GB, free: 19.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008919/9.36, allocations: 0.6636 MB / 3.553 GB, free: 18.87 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/9.363, allocations: 1.15 MB / 3.554 GB, free: 17.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/9.363, allocations: 0 / 3.554 GB, free: 17.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/9.364, allocations: 107.9 kB / 3.554 GB, free: 17.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/9.364, allocations: 4 kB / 3.554 GB, free: 17.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/9.364, allocations: 7.984 kB / 3.554 GB, free: 17.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002714/9.364, allocations: 0.5979 MB / 3.555 GB, free: 16.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/9.364, allocations: 3.938 kB / 3.555 GB, free: 16.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/9.366, allocations: 0.8221 MB / 3.556 GB, free: 16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/9.366, allocations: 180.3 kB / 3.556 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/9.366, allocations: 4 kB / 3.556 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009176/9.367, allocations: 39.95 kB / 3.556 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/9.368, allocations: 35.89 kB / 3.556 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/9.368, allocations: 15.95 kB / 3.556 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004318/9.368, allocations: 286.9 kB / 3.556 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/9.368, allocations: 0 / 3.556 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001711/9.37, allocations: 447 kB / 3.557 GB, free: 15 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002511/9.372, allocations: 1.557 MB / 3.558 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001719/9.374, allocations: 0.5724 MB / 3.559 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/9.374, allocations: 4 kB / 3.559 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/9.375, allocations: 189.3 kB / 3.559 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/9.377, allocations: 319.8 kB / 3.559 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/9.38, allocations: 1.067 MB / 3.56 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/9.381, allocations: 0.9581 MB / 3.561 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001542/9.382, allocations: 232.6 kB / 3.561 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/9.383, allocations: 43.44 kB / 3.561 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of SimCode: time 1.803e-06/9.383, allocations: 0 / 3.561 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of Templates: time 0.7823/10.16, allocations: 18.76 MB / 3.58 GB, free: 189.7 MB / 0.8698 GB