Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003897/0.003902, allocations: 356.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.577/1.577, allocations: 165.8 MB / 182.5 MB, free: 5.445 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.805/3.805, allocations: 410.8 MB / 0.5995 GB, free: 15.07 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 197.2 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007358/0.000736, allocations: 12 kB / 0.7423 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3537, allocations: 67.45 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.6681/1.022, allocations: 166.4 MB / 0.9706 GB, free: 1.18 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01057/1.032, allocations: 6.896 MB / 0.9774 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/1.034, allocations: 26.28 kB / 0.9774 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/1.035, allocations: 376.6 kB / 0.9777 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005444/1.041, allocations: 1.395 MB / 0.9791 GB, free: 420 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004051/1.045, allocations: 1.019 MB / 0.9801 GB, free: 320 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003499/1.048, allocations: 2.293 MB / 0.9823 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/1.049, allocations: 0.4933 MB / 0.9828 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/1.051, allocations: 0.6632 MB / 0.9835 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/1.052, allocations: 0.5665 MB / 0.984 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/1.052, allocations: 29.5 kB / 0.9841 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/1.055, allocations: 0.7892 MB / 0.9848 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004592/1.055, allocations: 252.2 kB / 0.9851 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/1.056, allocations: 175.4 kB / 0.9852 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/1.058, allocations: 1.017 MB / 0.9862 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.775e-06/1.058, allocations: 3.375 kB / 0.9862 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.058, allocations: 0 / 0.9862 GB, free: 14.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/1.058, allocations: 0 / 0.9862 GB, free: 14.38 MB / 490.7 MB 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.002158/1.06, allocations: 0.9874 MB / 0.9872 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.06, allocations: 11.34 kB / 0.9872 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/1.063, allocations: 275.4 kB / 0.9875 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/1.064, allocations: 0.5519 MB / 0.988 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/1.064, allocations: 42.41 kB / 0.988 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.064, allocations: 54.7 kB / 0.9881 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/1.065, allocations: 0.6382 MB / 0.9887 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.066, allocations: 0 / 0.9887 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/1.066, allocations: 32.61 kB / 0.9888 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/1.066, allocations: 19.72 kB / 0.9888 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/1.067, allocations: 0.5237 MB / 0.9893 GB, free: 12.87 MB / 490.7 MB 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.004288/1.071, allocations: 2.454 MB / 0.9917 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/1.072, allocations: 369.5 kB / 0.992 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/1.073, allocations: 248.2 kB / 0.9923 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/1.073, allocations: 331.1 kB / 0.9926 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.073, allocations: 42.42 kB / 0.9926 GB, free: 10.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 4.19e-06/1.073, allocations: 0 / 0.9926 GB, free: 10.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.001821/1.075, allocations: 0.6279 MB / 0.9932 GB, free: 10.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/1.075, allocations: 60.12 kB / 0.9933 GB, free: 10.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/1.076, allocations: 0.4883 MB / 0.9938 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/1.076, allocations: 33.39 kB / 0.9938 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/1.076, allocations: 325.7 kB / 0.9941 GB, free: 10.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/1.077, allocations: 135.7 kB / 0.9942 GB, free: 9.957 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/1.077, allocations: 10.5 kB / 0.9943 GB, free: 9.957 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/1.077, allocations: 364 kB / 0.9946 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/1.077, allocations: 166.8 kB / 0.9948 GB, free: 9.598 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/1.078, allocations: 294.2 kB / 0.995 GB, free: 9.445 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/1.078, allocations: 210.1 kB / 0.9952 GB, free: 9.418 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.594e-06/1.078, allocations: 0 / 0.9952 GB, free: 9.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001262/1.08, allocations: 0.5317 MB / 0.9958 GB, free: 9.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.08, allocations: 163.7 kB / 0.9959 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.08, allocations: 5.734 kB / 0.9959 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.08, allocations: 8.141 kB / 0.9959 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/1.081, allocations: 139.5 kB / 0.9961 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005265/1.081, allocations: 0.5923 MB / 0.9966 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/1.082, allocations: 79.36 kB / 0.9967 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/1.082, allocations: 21.05 kB / 0.9967 GB, free: 8.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.082, allocations: 2.906 kB / 0.9967 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/1.083, allocations: 460.1 kB / 0.9972 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.474e-06/1.083, allocations: 3.312 kB / 0.9972 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.683e-06/1.083, allocations: 6.438 kB / 0.9972 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/1.084, allocations: 130.2 kB / 0.9973 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.643e-06/1.084, allocations: 1.75 kB / 0.9973 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/1.085, allocations: 80.33 kB / 0.9974 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/1.085, allocations: 21.02 kB / 0.9974 GB, free: 8.289 MB / 490.7 MB 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.0004855/1.085, allocations: 305.7 kB / 0.9977 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/1.086, allocations: 63.52 kB / 0.9978 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/1.087, allocations: 489.4 kB / 0.9982 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.087, allocations: 5.188 kB / 0.9982 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.193e-06/1.087, allocations: 1.75 kB / 0.9982 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/1.088, allocations: 0.7219 MB / 0.9989 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/1.091, allocations: 1.285 MB / 1 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.091, allocations: 2.406 kB / 1 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/1.091, allocations: 144.8 kB / 1 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/1.092, allocations: 3.344 kB / 1 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/1.092, allocations: 14.86 kB / 1 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004611/1.092, allocations: 0.5918 MB / 1.001 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.703e-06/1.092, allocations: 3.312 kB / 1.001 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/1.094, allocations: 0.8271 MB / 1.002 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/1.094, allocations: 186.4 kB / 1.002 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/1.094, allocations: 10.75 kB / 1.002 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/1.095, allocations: 49.39 kB / 1.002 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.095, allocations: 28.95 kB / 1.002 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/1.095, allocations: 23.05 kB / 1.002 GB, free: 5.676 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005396/1.096, allocations: 344.9 kB / 1.002 GB, free: 5.543 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.37e-07/1.096, allocations: 0 / 1.002 GB, free: 5.543 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001225/1.097, allocations: 356.4 kB / 1.003 GB, free: 5.496 MB / 490.7 MB 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.0005391/1.097, allocations: 216.7 kB / 1.003 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001797/1.099, allocations: 0.6754 MB / 1.004 GB, free: 5.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.099, allocations: 1 kB / 1.004 GB, free: 5.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006379/1.1, allocations: 228.1 kB / 1.004 GB, free: 5.188 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.102, allocations: 352.7 kB / 1.004 GB, free: 5.066 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/1.105, allocations: 1.707 MB / 1.006 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007546/1.106, allocations: 0.9639 MB / 1.007 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001144/1.107, allocations: 204.7 kB / 1.007 GB, free: 3.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/1.107, allocations: 50.97 kB / 1.007 GB, free: 3.047 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/1.107, allocations: 0 / 1.007 GB, free: 3.047 MB / 490.7 MB Notification: Performance of Templates: time 0.03064/1.138, allocations: 11.55 MB / 1.018 GB, free: 9.477 MB / 0.4949 GB