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 5.146/5.146, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002521, allocations: 358.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.313/4.313, allocations: 410.7 MB / 1.113 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001812, allocations: 187.2 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004985, allocations: 16 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7174, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.616/7.334, allocations: 2.08 GB / 3.541 GB, free: 275.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/7.334, allocations: 96.28 kB / 3.541 GB, free: 275.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.29/9.624, allocations: 482.3 MB / 4.012 GB, free: 212.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.817e-06/9.624, allocations: 0 / 4.012 GB, free: 212.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.234e-05/9.624, allocations: 23.94 kB / 4.012 GB, free: 212.6 MB / 0.948 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.003319/9.628, allocations: 1.127 MB / 4.013 GB, free: 211.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/9.628, allocations: 15.62 kB / 4.013 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/9.631, allocations: 274.1 kB / 4.014 GB, free: 211.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/9.633, allocations: 0.6062 MB / 4.014 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/9.633, allocations: 45.31 kB / 4.014 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/9.633, allocations: 55.91 kB / 4.014 GB, free: 210.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/9.634, allocations: 0.6214 MB / 4.015 GB, free: 209.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/9.634, allocations: 0 / 4.015 GB, free: 209.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/9.635, allocations: 24 kB / 4.015 GB, free: 209.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/9.635, allocations: 21.25 kB / 4.015 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/9.636, allocations: 0.497 MB / 4.015 GB, free: 209.2 MB / 0.948 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.004335/9.64, allocations: 2.417 MB / 4.018 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/9.641, allocations: 371.1 kB / 4.018 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/9.642, allocations: 229.4 kB / 4.018 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007179/9.643, allocations: 301.8 kB / 4.019 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/9.643, allocations: 42.83 kB / 4.019 GB, free: 205.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 4.418e-06/9.643, allocations: 0 / 4.019 GB, free: 205.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.002095/9.645, allocations: 0.6098 MB / 4.019 GB, free: 205 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/9.645, allocations: 55.41 kB / 4.019 GB, free: 205 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/9.646, allocations: 498.9 kB / 4.02 GB, free: 204.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/9.646, allocations: 33.7 kB / 4.02 GB, free: 204.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/9.646, allocations: 331.7 kB / 4.02 GB, free: 204.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/9.646, allocations: 142 kB / 4.02 GB, free: 204 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/9.646, allocations: 11.88 kB / 4.02 GB, free: 204 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001237/9.646, allocations: 370.7 kB / 4.021 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/9.647, allocations: 164.8 kB / 4.021 GB, free: 203.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/9.647, allocations: 293.9 kB / 4.021 GB, free: 203.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/9.648, allocations: 209.7 kB / 4.021 GB, free: 202.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/9.648, allocations: 4 kB / 4.021 GB, free: 202.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001436/9.65, allocations: 0.5136 MB / 4.022 GB, free: 202.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/9.65, allocations: 163.6 kB / 4.022 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/9.65, allocations: 0 / 4.022 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/9.65, allocations: 4 kB / 4.022 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/9.651, allocations: 122.6 kB / 4.022 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000402/9.651, allocations: 0.6016 MB / 4.023 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/9.652, allocations: 79.64 kB / 4.023 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/9.653, allocations: 19.98 kB / 4.023 GB, free: 201.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/9.653, allocations: 4 kB / 4.023 GB, free: 201.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001252/9.654, allocations: 447.8 kB / 4.023 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/9.654, allocations: 4 kB / 4.023 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/9.654, allocations: 4 kB / 4.023 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/9.655, allocations: 103.8 kB / 4.023 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/9.655, allocations: 4 kB / 4.023 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/9.656, allocations: 75.55 kB / 4.023 GB, free: 200.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/9.656, allocations: 23.98 kB / 4.023 GB, free: 200.7 MB / 0.948 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.0005414/9.656, allocations: 312.9 kB / 4.024 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/9.657, allocations: 55.34 kB / 4.024 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/9.658, allocations: 481.6 kB / 4.024 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/9.658, allocations: 8 kB / 4.024 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/9.658, allocations: 0 / 4.024 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/9.659, allocations: 0.7043 MB / 4.025 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/9.662, allocations: 1.283 MB / 4.026 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/9.662, allocations: 4 kB / 4.026 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009747/9.663, allocations: 99.88 kB / 4.026 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/9.663, allocations: 7.938 kB / 4.026 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/9.663, allocations: 16 kB / 4.026 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002736/9.663, allocations: 0.5978 MB / 4.027 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/9.663, allocations: 3.938 kB / 4.027 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/9.665, allocations: 0.8221 MB / 4.028 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/9.666, allocations: 180.3 kB / 4.028 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/9.666, allocations: 15.98 kB / 4.028 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/9.667, allocations: 47.88 kB / 4.028 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/9.667, allocations: 31.89 kB / 4.028 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/9.667, allocations: 16 kB / 4.028 GB, free: 195.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005599/9.667, allocations: 342.8 kB / 4.028 GB, free: 195.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/9.667, allocations: 0 / 4.028 GB, free: 195.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001877/9.669, allocations: 495.1 kB / 4.029 GB, free: 195 MB / 0.948 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.002504/9.672, allocations: 1.375 MB / 4.03 GB, free: 193.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002359/9.674, allocations: 0.6705 MB / 4.031 GB, free: 193.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/9.674, allocations: 0 / 4.031 GB, free: 193.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/9.675, allocations: 225.1 kB / 4.031 GB, free: 192.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/9.678, allocations: 354 kB / 4.031 GB, free: 192.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/9.682, allocations: 1.706 MB / 4.033 GB, free: 190.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/9.682, allocations: 0.9538 MB / 4.034 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00133/9.684, allocations: 208.7 kB / 4.034 GB, free: 189.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/9.684, allocations: 51.42 kB / 4.034 GB, free: 189.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.713e-06/9.684, allocations: 0 / 4.034 GB, free: 189.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06122/9.745, allocations: 27.67 MB / 4.061 GB, free: 162.2 MB / 0.948 GB