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 4.661/4.661, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002404/0.002403, allocations: 359.4 kB / 0.6441 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 3.84/3.84, allocations: 410.7 MB / 1.112 GB, free: 5.988 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.001753/0.001753, allocations: 180.3 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000552/0.0005522, allocations: 20 kB / 1.348 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5667, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1582/0.725, allocations: 166.4 MB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009485/0.7345, allocations: 6.912 MB / 1.63 GB, free: 111 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/0.7354, allocations: 23.81 kB / 1.63 GB, free: 111 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.7364, allocations: 377.6 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.74, allocations: 1.387 MB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.7432, allocations: 1.02 MB / 1.633 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.7454, allocations: 2.275 MB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006977/0.7462, allocations: 0.4943 MB / 1.635 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.7473, allocations: 0.6573 MB / 1.636 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/0.748, allocations: 0.5758 MB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.044e-05/0.7481, allocations: 28 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.7502, allocations: 0.7869 MB / 1.637 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.7504, allocations: 251.2 kB / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.7506, allocations: 173.3 kB / 1.638 GB, free: 103 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.7518, allocations: 1.025 MB / 1.639 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.406e-06/0.7519, allocations: 0 / 1.639 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.845e-06/0.7519, allocations: 3.938 kB / 1.639 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.7519, allocations: 0 / 1.639 GB, free: 101.9 MB / 0.8542 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.001556/0.7535, allocations: 0.9816 MB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.7535, allocations: 11.62 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.7558, allocations: 274.8 kB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.7568, allocations: 0.564 MB / 1.641 GB, free: 100 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.996e-05/0.7568, allocations: 41.31 kB / 1.641 GB, free: 99.97 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.7569, allocations: 59.91 kB / 1.641 GB, free: 99.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.7581, allocations: 0.6323 MB / 1.641 GB, free: 99.27 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.7582, allocations: 0 / 1.641 GB, free: 99.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.7583, allocations: 20 kB / 1.641 GB, free: 99.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.7583, allocations: 21.3 kB / 1.641 GB, free: 99.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.7594, allocations: 0.5243 MB / 1.642 GB, free: 98.7 MB / 0.8542 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.003107/0.7625, allocations: 2.452 MB / 1.644 GB, free: 96.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.7633, allocations: 379.7 kB / 1.645 GB, free: 95.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.7637, allocations: 242 kB / 1.645 GB, free: 95.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.7643, allocations: 319.2 kB / 1.645 GB, free: 95.06 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.7644, allocations: 38.56 kB / 1.645 GB, free: 95.01 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=39): time 4.39e-06/0.7644, allocations: 0 / 1.645 GB, free: 95.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39): time 0.001649/0.766, allocations: 0.6274 MB / 1.646 GB, free: 94.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.7661, allocations: 59.36 kB / 1.646 GB, free: 94.31 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.7667, allocations: 0.491 MB / 1.646 GB, free: 93.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.7668, allocations: 33.7 kB / 1.646 GB, free: 93.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.767, allocations: 324.5 kB / 1.647 GB, free: 93.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.7671, allocations: 137.9 kB / 1.647 GB, free: 93.31 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.7671, allocations: 8 kB / 1.647 GB, free: 93.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.7673, allocations: 370.8 kB / 1.647 GB, free: 92.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.7677, allocations: 168.8 kB / 1.647 GB, free: 92.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.7681, allocations: 292.2 kB / 1.648 GB, free: 92.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.7686, allocations: 207.9 kB / 1.648 GB, free: 92.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.695e-06/0.7686, allocations: 0 / 1.648 GB, free: 92.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001112/0.7697, allocations: 0.525 MB / 1.648 GB, free: 91.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.7698, allocations: 163.9 kB / 1.649 GB, free: 91.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.743e-06/0.7698, allocations: 7.953 kB / 1.649 GB, free: 91.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7699, allocations: 4 kB / 1.649 GB, free: 91.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/0.7707, allocations: 143.8 kB / 1.649 GB, free: 91.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002978/0.7711, allocations: 0.5938 MB / 1.649 GB, free: 90.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/0.7718, allocations: 79.58 kB / 1.649 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.7719, allocations: 19.98 kB / 1.649 GB, free: 90.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.73e-06/0.7719, allocations: 4 kB / 1.649 GB, free: 90.64 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009694/0.7729, allocations: 459.5 kB / 1.65 GB, free: 90.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-06/0.7729, allocations: 3.984 kB / 1.65 GB, free: 90.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.7729, allocations: 4 kB / 1.65 GB, free: 90.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.7735, allocations: 136.1 kB / 1.65 GB, free: 90.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.97e-06/0.7735, allocations: 7.953 kB / 1.65 GB, free: 90.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.7742, allocations: 71.64 kB / 1.65 GB, free: 89.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.7742, allocations: 16 kB / 1.65 GB, free: 89.96 MB / 0.8542 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.0003611/0.7746, allocations: 308.9 kB / 1.65 GB, free: 89.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.7747, allocations: 59.25 kB / 1.65 GB, free: 89.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.7761, allocations: 0.4896 MB / 1.651 GB, free: 89.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.684e-06/0.7761, allocations: 4 kB / 1.651 GB, free: 89.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.078e-06/0.7761, allocations: 3.953 kB / 1.651 GB, free: 89.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00093/0.7771, allocations: 0.7082 MB / 1.652 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.7793, allocations: 1.296 MB / 1.653 GB, free: 86.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.665e-06/0.7793, allocations: 4 kB / 1.653 GB, free: 86.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.7801, allocations: 136.1 kB / 1.653 GB, free: 86.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.7802, allocations: 4 kB / 1.653 GB, free: 86.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.7802, allocations: 12 kB / 1.653 GB, free: 86.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000251/0.7805, allocations: 0.5938 MB / 1.654 GB, free: 86.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.36e-06/0.7805, allocations: 8.016 kB / 1.654 GB, free: 86.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.7819, allocations: 0.8449 MB / 1.654 GB, free: 85.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.7822, allocations: 180.2 kB / 1.655 GB, free: 85.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/0.7823, allocations: 15.98 kB / 1.655 GB, free: 85.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.7829, allocations: 43.97 kB / 1.655 GB, free: 85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.783, allocations: 31.91 kB / 1.655 GB, free: 84.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.7831, allocations: 16 kB / 1.655 GB, free: 84.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000436/0.7835, allocations: 342.8 kB / 1.655 GB, free: 84.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.65e-07/0.7835, allocations: 0 / 1.655 GB, free: 84.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001119/0.7847, allocations: 363.1 kB / 1.655 GB, free: 84.27 MB / 0.8542 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.0004475/0.7851, allocations: 201.1 kB / 1.656 GB, free: 84.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.7868, allocations: 0.6821 MB / 1.656 GB, free: 83.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.224e-06/0.7868, allocations: 1 kB / 1.656 GB, free: 83.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.7874, allocations: 227.9 kB / 1.656 GB, free: 83.17 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.7895, allocations: 354.3 kB / 1.657 GB, free: 82.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.7921, allocations: 1.716 MB / 1.658 GB, free: 81.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.7925, allocations: 0.9571 MB / 1.659 GB, free: 80.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001065/0.7936, allocations: 212.9 kB / 1.66 GB, free: 79.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.7938, allocations: 47.44 kB / 1.66 GB, free: 79.84 MB / 0.8542 GB Notification: Performance of SimCode: time 1.62e-06/0.7938, allocations: 4 kB / 1.66 GB, free: 79.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.02403/0.8179, allocations: 11.55 MB / 1.671 GB, free: 68.57 MB / 0.8542 GB