Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.282/2.282, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 181.8 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.623/2.623, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001303/0.001302, allocations: 110.3 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 12.56 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2853, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002503/0.2878, allocations: 1.289 MB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2895, allocations: 0.5172 MB / 0.9006 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.2896, allocations: 3.938 kB / 0.9006 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2898, allocations: 7.938 kB / 0.9007 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.2899, allocations: 19.95 kB / 0.9007 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.2902, allocations: 27.92 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.2904, allocations: 51.86 kB / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.2907, allocations: 36.2 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.2909, allocations: 27.91 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.2911, allocations: 23.86 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.2911, allocations: 4 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.2912, allocations: 7.984 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.2913, allocations: 11.94 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.2914, allocations: 37.64 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.2916, allocations: 63.88 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2916, allocations: 0 / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2916, allocations: 0 / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2916, allocations: 0 / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007957/0.2925, allocations: 391.3 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.2925, allocations: 15.97 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.2926, allocations: 11.86 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.2929, allocations: 202.8 kB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2929, allocations: 0 / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.293, allocations: 8 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.2936, allocations: 109.6 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2937, allocations: 0 / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2937, allocations: 4 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2938, allocations: 0 / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.2944, allocations: 111.9 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.2957, allocations: 388.5 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.296, allocations: 82.42 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.2961, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.2961, allocations: 34.56 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/0.2962, allocations: 0 / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001079/0.2972, allocations: 177.6 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.2973, allocations: 55.41 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.2976, allocations: 132.4 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2976, allocations: 25.7 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.2977, allocations: 108.3 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.2978, allocations: 19.73 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.2978, allocations: 4 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.298, allocations: 322.8 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2983, allocations: 43.91 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.2986, allocations: 47.97 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.2989, allocations: 47.98 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2989, allocations: 0 / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007441/0.2997, allocations: 145.5 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.2998, allocations: 4 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2998, allocations: 0 / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.2998, allocations: 0 / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.3001, allocations: 19.98 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.3002, allocations: 0 / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.3004, allocations: 23.83 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.3004, allocations: 4 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001477/0.3006, allocations: 125.8 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.3007, allocations: 11.86 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.3015, allocations: 154.8 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.3016, allocations: 4 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3016, allocations: 0 / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3016, allocations: 0 / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.302, allocations: 209.6 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3021, allocations: 0 / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3024, allocations: 19.98 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.3024, allocations: 3.938 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3025, allocations: 11.89 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.3025, allocations: 7.984 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3025, allocations: 3.984 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.3033, allocations: 227.4 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.3034, allocations: 89 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.3034, allocations: 3.984 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3037, allocations: 11.95 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3038, allocations: 7.984 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.3039, allocations: 4 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001018/0.304, allocations: 103.2 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.02e-07/0.304, allocations: 4 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005282/0.3046, allocations: 15.94 kB / 0.9044 GB, free: 59.55 MB / 0.6042 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 (6): * Single equations (assignments): 6 * 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.000203/0.3048, allocations: 107.2 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007298/0.3055, allocations: 107.9 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3056, allocations: 0 / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.3059, allocations: 59.95 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3062, allocations: 1.562 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/0.3071, allocations: 245 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.3073, allocations: 0.7082 MB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.3075, allocations: 12.36 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.3076, allocations: 19.42 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of SimCode: time 1.363e-06/0.3076, allocations: 0 / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.005133/0.3128, allocations: 0.5875 MB / 0.9061 GB, free: 57.65 MB / 0.6042 GB