Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.804/2.804, allocations: 287.9 MB / 302.9 MB, free: 8.223 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.001409/0.001409, allocations: 183.7 kB / 371.4 MB, free: 10.65 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.029/2.029, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.00104/0.00104, allocations: 100.4 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.000473, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002267/0.2128, allocations: 1.14 MB / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.2135, allocations: 156.6 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.2135, allocations: 0 / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.2136, allocations: 3.938 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.2138, allocations: 19.97 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.2142, allocations: 47.88 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.484e-05/0.2143, allocations: 23.95 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.2145, allocations: 15.98 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.2145, allocations: 15.94 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.2147, allocations: 23.89 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.2147, allocations: 4 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.062e-05/0.2147, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.2148, allocations: 8 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.2148, allocations: 29.7 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.215, allocations: 36.14 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.745e-06/0.215, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.548e-06/0.215, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.676e-06/0.215, allocations: 4 kB / 0.9802 GB, free: 26.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005961/0.2156, allocations: 331.3 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2157, allocations: 16.02 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.2158, allocations: 0 / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2159, allocations: 182.8 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.216, allocations: 0 / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.216, allocations: 0 / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.2162, allocations: 72.25 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2163, allocations: 0 / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.2163, allocations: 0 / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-06/0.2163, allocations: 8 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.2164, allocations: 11.98 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.217, allocations: 276.8 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.2172, allocations: 42.56 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2172, allocations: 0 / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.2175, allocations: 59.48 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 5.815e-06/0.2175, allocations: 0 / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000358/0.2179, allocations: 81.53 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.218, allocations: 106.8 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.2181, allocations: 105.9 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2181, allocations: 25.7 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.2182, allocations: 88.12 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2182, allocations: 11.81 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-06/0.2182, allocations: 0 / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.2183, allocations: 318.8 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.2184, allocations: 11.98 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.2185, allocations: 30.58 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.2186, allocations: 19.97 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-06/0.2187, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002277/0.2189, allocations: 53.69 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.219, allocations: 8 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-06/0.219, allocations: 0 / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.219, allocations: 0 / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2191, allocations: 7.984 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.015e-06/0.2192, allocations: 0 / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.2194, allocations: 15.98 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2195, allocations: 8 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001066/0.2196, allocations: 109.8 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.2197, allocations: 4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.2197, allocations: 7.5 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.488e-06/0.2197, allocations: 0 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.083e-06/0.2198, allocations: 7.938 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.525e-06/0.2198, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.22, allocations: 169.5 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-06/0.22, allocations: 8 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.746e-05/0.2201, allocations: 448 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.205e-06/0.2201, allocations: 3.938 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.2201, allocations: 8 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-06/0.2202, allocations: 4 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.2202, allocations: 3.984 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.2204, allocations: 89.06 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.2206, allocations: 89.03 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.2206, allocations: 7.938 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.2209, allocations: 13.2 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.2209, allocations: 4 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.221, allocations: 7.984 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.221, allocations: 79.28 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.118e-06/0.2211, allocations: 3.938 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004915/0.2216, allocations: 16 kB / 0.9827 GB, free: 23.81 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001415/0.2217, allocations: 99.25 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.222, allocations: 31.98 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.537e-06/0.222, allocations: 0 / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.2221, allocations: 15.98 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.2223, allocations: 7.953 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.2228, allocations: 124.6 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.223, allocations: 0.6848 MB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.2231, allocations: 4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.2231, allocations: 11.42 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.744e-06/0.2231, allocations: 4 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.005244/0.2284, allocations: 0.7808 MB / 0.9844 GB, free: 22.01 MB / 0.6198 GB