Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.544/2.544, allocations: 287.9 MB / 302.9 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001415, allocations: 181.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 0.6301 GB, free: 10.34 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.55 kB / 0.7434 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005058, allocations: 13.41 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1534, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8019/0.9553, allocations: 154 MB / 1.129 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.9657, allocations: 6.48 MB / 1.135 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.9669, allocations: 21.75 kB / 1.135 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.9683, allocations: 423.2 kB / 1.136 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.9729, allocations: 1.29 MB / 1.137 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.9768, allocations: 1.039 MB / 1.138 GB, free: 15.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.979, allocations: 1.115 MB / 1.139 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009187/0.98, allocations: 0.5103 MB / 1.14 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.9815, allocations: 0.6084 MB / 1.14 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.9821, allocations: 383.8 kB / 1.141 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.441e-05/0.9823, allocations: 35.88 kB / 1.141 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.985, allocations: 0.8756 MB / 1.142 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.9854, allocations: 227.5 kB / 1.142 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.9857, allocations: 180.5 kB / 1.142 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.9875, allocations: 1.007 MB / 1.143 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.302e-06/0.9875, allocations: 0 / 1.143 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.817e-06/0.9875, allocations: 0 / 1.143 GB, free: 14.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.9876, allocations: 0 / 1.143 GB, free: 14.3 MB / 0.698 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.001901/0.9895, allocations: 0.9791 MB / 1.144 GB, free: 13.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9895, allocations: 9.281 kB / 1.144 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.992, allocations: 274.7 kB / 1.144 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.9934, allocations: 0.5578 MB / 1.145 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.9934, allocations: 40.25 kB / 1.145 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.9936, allocations: 59.58 kB / 1.145 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.995, allocations: 0.6325 MB / 1.145 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.9951, allocations: 1.688 kB / 1.145 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.9951, allocations: 23.19 kB / 1.145 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.9952, allocations: 22.44 kB / 1.145 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.9965, allocations: 0.5275 MB / 1.146 GB, free: 12.78 MB / 0.698 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.004267/1.001, allocations: 2.453 MB / 1.148 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/1.002, allocations: 392.7 kB / 1.149 GB, free: 10.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000464/1.002, allocations: 144.9 kB / 1.149 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.002, allocations: 36.83 kB / 1.149 GB, free: 10.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.423e-06/1.002, allocations: 2.781 kB / 1.149 GB, free: 10.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001912/1.004, allocations: 0.6256 MB / 1.15 GB, free: 10.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.004, allocations: 56.78 kB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/1.005, allocations: 499.1 kB / 1.15 GB, free: 10.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/1.005, allocations: 34.64 kB / 1.15 GB, free: 10.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/1.005, allocations: 325 kB / 1.15 GB, free: 10.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/1.006, allocations: 140.2 kB / 1.151 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/1.006, allocations: 7.062 kB / 1.151 GB, free: 10.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002213/1.006, allocations: 363.8 kB / 1.151 GB, free: 9.746 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/1.006, allocations: 168.2 kB / 1.151 GB, free: 9.715 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/1.007, allocations: 294.1 kB / 1.151 GB, free: 9.559 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/1.007, allocations: 208.9 kB / 1.152 GB, free: 9.531 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.137e-06/1.008, allocations: 1.406 kB / 1.152 GB, free: 9.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001346/1.009, allocations: 0.5253 MB / 1.152 GB, free: 9.395 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004995/1.009, allocations: 0.8759 MB / 1.153 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.009, allocations: 2.312 kB / 1.153 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.009, allocations: 9.969 kB / 1.153 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/1.01, allocations: 137.2 kB / 1.153 GB, free: 8.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005421/1.011, allocations: 0.6049 MB / 1.154 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/1.012, allocations: 80.08 kB / 1.154 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/1.012, allocations: 19.88 kB / 1.154 GB, free: 7.805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.012, allocations: 4.188 kB / 1.154 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/1.013, allocations: 464.9 kB / 1.154 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.154e-06/1.013, allocations: 3.031 kB / 1.154 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/1.013, allocations: 4.562 kB / 1.154 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/1.014, allocations: 128.3 kB / 1.154 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/1.014, allocations: 12.27 kB / 1.154 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/1.015, allocations: 71.52 kB / 1.154 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/1.015, allocations: 17.31 kB / 1.154 GB, free: 7.656 MB / 0.698 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 (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.0005537/1.015, allocations: 311.7 kB / 1.155 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.015, allocations: 68.14 kB / 1.155 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/1.017, allocations: 0.4952 MB / 1.155 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/1.017, allocations: 10 kB / 1.155 GB, free: 7.066 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.017, allocations: 0 / 1.155 GB, free: 7.066 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/1.018, allocations: 0.7084 MB / 1.156 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/1.021, allocations: 1.283 MB / 1.157 GB, free: 5.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.677e-06/1.021, allocations: 1.562 kB / 1.157 GB, free: 5.535 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/1.022, allocations: 141.5 kB / 1.157 GB, free: 5.496 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/1.022, allocations: 2.719 kB / 1.157 GB, free: 5.496 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/1.022, allocations: 9.344 kB / 1.157 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004847/1.023, allocations: 0.5952 MB / 1.158 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.974e-06/1.023, allocations: 6.375 kB / 1.158 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/1.025, allocations: 0.9189 MB / 1.159 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/1.025, allocations: 177.5 kB / 1.159 GB, free: 4.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.025, allocations: 17.45 kB / 1.159 GB, free: 4.059 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/1.026, allocations: 45 kB / 1.159 GB, free: 4.039 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.026, allocations: 29.58 kB / 1.159 GB, free: 4.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/1.026, allocations: 17.42 kB / 1.159 GB, free: 4.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000594/1.027, allocations: 345.2 kB / 1.159 GB, free: 3.812 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.91e-07/1.027, allocations: 0 / 1.159 GB, free: 3.812 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001318/1.028, allocations: 365 kB / 1.16 GB, free: 3.738 MB / 0.698 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 (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.000569/1.029, allocations: 190.4 kB / 1.16 GB, free: 3.609 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002034/1.031, allocations: 0.6866 MB / 1.161 GB, free: 3.301 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.283e-06/1.031, allocations: 1.094 kB / 1.161 GB, free: 3.301 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/1.031, allocations: 225.4 kB / 1.161 GB, free: 3.203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.034, allocations: 361.5 kB / 1.161 GB, free: 3.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/1.037, allocations: 1.705 MB / 1.163 GB, free: 1.789 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008168/1.038, allocations: 0.9611 MB / 1.164 GB, free: 0.957 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001161/1.039, allocations: 217.6 kB / 1.164 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/1.039, allocations: 55.55 kB / 1.164 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of SimCode: time 1.83e-06/1.039, allocations: 0 / 1.164 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of Templates: time 0.02924/1.068, allocations: 11.55 MB / 1.175 GB, free: 11.14 MB / 0.7136 GB