Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.3/2.3, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.001654/0.001653, allocations: 176.5 kB / 325.6 MB, free: 2.801 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.37/2.37, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001509/0.001509, allocations: 98.53 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00064/0.0006403, allocations: 14.5 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2486, allocations: 106.2 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008334/0.2495, allocations: 357 kB / 0.8992 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2516, allocations: 1.42 MB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.2517, allocations: 0 / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.2518, allocations: 0 / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.2518, allocations: 7.984 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.2525, allocations: 153.4 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.2526, allocations: 27.89 kB / 0.9008 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.2527, allocations: 8 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.2527, allocations: 11.98 kB / 0.9008 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.2528, allocations: 19.92 kB / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2528, allocations: 4 kB / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.2533, allocations: 211.6 kB / 0.901 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.2533, allocations: 8 kB / 0.901 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.2533, allocations: 29.7 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.2536, allocations: 143.8 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2536, allocations: 0 / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2536, allocations: 3.938 kB / 0.9012 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2536, allocations: 4 kB / 0.9012 GB, free: 62.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000334/0.254, allocations: 397.1 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.254, allocations: 8.031 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.2541, allocations: 7.953 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2542, allocations: 175 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2542, allocations: 3.938 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.2542, allocations: 4 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2544, allocations: 69.66 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2544, allocations: 0 / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2545, allocations: 4 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2545, allocations: 0 / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.2546, allocations: 43.91 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.2547, allocations: 161.6 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2548, allocations: 66.55 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.2549, allocations: 0 / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.2549, allocations: 30.56 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.2549, allocations: 4 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004285/0.2553, allocations: 272.3 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2554, allocations: 81.11 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.2555, allocations: 110.3 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2555, allocations: 29.7 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.2555, allocations: 84.14 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.2556, allocations: 27.55 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-06/0.2556, allocations: 0 / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.2557, allocations: 326.8 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.2558, allocations: 35.97 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.2559, allocations: 32.05 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.256, allocations: 77.88 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.256, allocations: 0 / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002393/0.2562, allocations: 147.3 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.2563, allocations: 41.69 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2563, allocations: 0 / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2563, allocations: 0 / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.2563, allocations: 0 / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2563, allocations: 8.062 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2565, allocations: 8 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.2565, allocations: 7.984 kB / 0.9034 GB, free: 60.5 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.43e-05/0.2566, allocations: 151.5 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.2566, allocations: 11.91 kB / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.2567, allocations: 4.375 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2567, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2567, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2567, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.2568, allocations: 173.5 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2568, allocations: 8 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.2568, allocations: 0 / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2569, allocations: 0 / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2569, allocations: 7.938 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2569, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2569, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.2572, allocations: 202.6 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.2572, allocations: 81.02 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2573, allocations: 8.031 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.2573, allocations: 11.92 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.2574, allocations: 4 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2574, allocations: 11.98 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.2575, allocations: 83.28 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2575, allocations: 0 / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004148/0.2579, allocations: 71.98 kB / 0.9042 GB, free: 59.58 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003636/0.2583, allocations: 159.2 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.2586, allocations: 211.3 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2586, allocations: 0 / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2587, allocations: 151.4 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2589, allocations: 13.61 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.2592, allocations: 178.7 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2594, allocations: 0.6889 MB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.614e-06/0.2594, allocations: 4 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.2594, allocations: 7.438 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/0.2594, allocations: 0 / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.005763/0.2652, allocations: 1.892 MB / 0.9074 GB, free: 56.21 MB / 0.6042 GB