Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.503/2.503, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.001469/0.001469, allocations: 190.2 kB / 371.4 MB, free: 10.66 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 1.97/1.97, allocations: 205.4 MB / 0.6301 GB, free: 10.33 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.001046/0.001046, allocations: 97.39 kB / 0.7434 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004663, allocations: 15 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001315/0.1874, allocations: 1.096 MB / 0.9798 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1894, allocations: 1.632 MB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1895, allocations: 0 / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1905, allocations: 366.6 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.1906, allocations: 11.98 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.684e-06/0.1906, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1907, allocations: 107.7 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.1908, allocations: 21.48 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.1909, allocations: 35.88 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.191, allocations: 59.72 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.191, allocations: 0 / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.1915, allocations: 235.9 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.1916, allocations: 31.84 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1916, allocations: 49.64 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1919, allocations: 167.9 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.1919, allocations: 0 / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.248e-06/0.1919, allocations: 0 / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.034e-06/0.1919, allocations: 0 / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00059/0.1925, allocations: 482.4 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1926, allocations: 12.03 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1927, allocations: 99 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1929, allocations: 286.1 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.193, allocations: 154.6 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.193, allocations: 150.6 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.086e-05/0.1931, allocations: 104.9 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1931, allocations: 79.28 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.1931, allocations: 154.6 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.1932, allocations: 154.6 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.1932, allocations: 150.6 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.1935, allocations: 0.5132 MB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/0.1935, allocations: 177.1 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1936, allocations: 75.28 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1936, allocations: 105.8 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.473e-06/0.1936, allocations: 7.922 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001913/0.1938, allocations: 49.5 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1939, allocations: 130.7 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1942, allocations: 322.2 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.631e-06/0.1942, allocations: 25.7 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.1943, allocations: 112.5 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-06/0.1943, allocations: 0 / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-06/0.1943, allocations: 4 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.334e-05/0.1944, allocations: 330.8 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.1945, allocations: 63.95 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1946, allocations: 118 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1947, allocations: 75.97 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.276e-06/0.1948, allocations: 3.953 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004629/0.1952, allocations: 237.1 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1953, allocations: 4 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.477e-06/0.1953, allocations: 4 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1953, allocations: 4.219 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-06/0.1953, allocations: 4 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.103e-06/0.1953, allocations: 0 / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1955, allocations: 27.69 kB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1955, allocations: 4 kB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.1957, allocations: 236.9 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.1957, allocations: 120.7 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1958, allocations: 117.8 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.1958, allocations: 184.2 kB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/0.1959, allocations: 176.3 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/0.1959, allocations: 184.2 kB / 0.9875 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1961, allocations: 453.2 kB / 0.9879 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.1962, allocations: 105 kB / 0.988 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.1962, allocations: 108.9 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.998e-05/0.1962, allocations: 184.2 kB / 0.9883 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.1963, allocations: 180.4 kB / 0.9885 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.839e-05/0.1963, allocations: 180.3 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.908e-05/0.1964, allocations: 184.3 kB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.64e-05/0.1965, allocations: 323.6 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.1965, allocations: 197.8 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.1966, allocations: 180.2 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1967, allocations: 109 kB / 0.9896 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1968, allocations: 184.2 kB / 0.9898 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1968, allocations: 101 kB / 0.9899 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001987/0.197, allocations: 209.9 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.46e-07/0.197, allocations: 0 / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004387/0.1975, allocations: 71.92 kB / 0.9901 GB, free: 16.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002865/0.1978, allocations: 267.1 kB / 0.9904 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.198, allocations: 103.8 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.728e-06/0.198, allocations: 0 / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.198, allocations: 4 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.1983, allocations: 0.5288 MB / 0.991 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.1988, allocations: 410 kB / 0.9914 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.199, allocations: 0.7472 MB / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.288e-05/0.199, allocations: 0 / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.199, allocations: 15.44 kB / 0.9921 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.283e-06/0.199, allocations: 0 / 0.9921 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.00615/0.2052, allocations: 2.186 MB / 0.9943 GB, free: 11.75 MB / 0.6198 GB