Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001718/0.001718, allocations: 192.7 kB / 327.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.5783 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007307/0.0007307, allocations: 90.34 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.000361, allocations: 11.59 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2014, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007204/0.2022, allocations: 354.2 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2038, allocations: 1.422 MB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.2038, allocations: 0 / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.2038, allocations: 7.938 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.583e-05/0.2039, allocations: 3.984 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.2044, allocations: 155.8 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.2045, allocations: 31.89 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.2045, allocations: 4 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.2045, allocations: 15.98 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.2046, allocations: 19.92 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2046, allocations: 4 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.2049, allocations: 231.6 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.2049, allocations: 4 kB / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.2049, allocations: 25.7 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2051, allocations: 139.8 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2051, allocations: 4 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2051, allocations: 4 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2052, allocations: 0 / 0.9032 GB, free: 61.43 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.0002797/0.2054, allocations: 397.1 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2055, allocations: 15.97 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2055, allocations: 7.938 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.824e-05/0.2056, allocations: 174.9 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2056, allocations: 0 / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2056, allocations: 4 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.2058, allocations: 81.66 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2058, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2058, allocations: 4 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2058, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.2059, allocations: 35.97 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.206, allocations: 165.6 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/0.206, allocations: 58.55 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.2061, allocations: 52.86 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.2061, allocations: 4 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.2061, allocations: 34.56 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2061, allocations: 0 / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002467/0.2064, allocations: 191.3 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.2064, allocations: 85.11 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.2065, allocations: 113.8 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.2065, allocations: 25.7 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.2065, allocations: 88.14 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2066, allocations: 19.69 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.2066, allocations: 4 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.2066, allocations: 322.8 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.2067, allocations: 35.97 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.2067, allocations: 32.53 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.2068, allocations: 73.73 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2068, allocations: 0 / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.2069, allocations: 147.3 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.207, allocations: 45.62 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.207, allocations: 4.062 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.207, allocations: 0 / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.207, allocations: 0 / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.207, allocations: 0 / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.2071, allocations: 11.89 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2071, allocations: 8 kB / 0.9053 GB, free: 58.98 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 6.368e-05/0.2072, allocations: 151.4 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.2072, allocations: 7.938 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.2073, allocations: 12.36 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2073, allocations: 8 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2073, allocations: 0 / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2073, allocations: 3.938 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.177e-05/0.2073, allocations: 165.6 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2073, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.2074, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2074, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2074, allocations: 4 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2074, allocations: 3.984 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2074, allocations: 0 / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.2076, allocations: 214.5 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.2076, allocations: 85.02 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2076, allocations: 0 / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.2076, allocations: 8 kB / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.2077, allocations: 3.984 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2077, allocations: 8 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.2077, allocations: 87.27 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2077, allocations: 0 / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002578/0.208, allocations: 80.03 kB / 0.9061 GB, free: 58.04 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.0002446/0.2082, allocations: 155.2 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.2085, allocations: 195.3 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2085, allocations: 0 / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.2086, allocations: 151.3 kB / 0.9066 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2087, allocations: 8.688 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.209, allocations: 204.4 kB / 0.9068 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2092, allocations: 0.6887 MB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-06/0.2092, allocations: 7.438 kB / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2092, allocations: 0 / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.003136/0.2123, allocations: 1.718 MB / 0.9092 GB, free: 54.85 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)