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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.332/2.332, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.002156/0.002155, allocations: 180 kB / 325.8 MB, free: 2.809 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.883/2.883, allocations: 205.4 MB / 0.5767 GB, free: 20.8 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.001201/0.001201, allocations: 83.86 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006403, allocations: 13.38 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1984, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008102/0.1993, allocations: 354.2 kB / 0.8994 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.2016, allocations: 1.426 MB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.2017, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.368e-05/0.2018, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.2019, allocations: 8 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.2027, allocations: 159.7 kB / 0.9009 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.2028, allocations: 19.98 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.2029, allocations: 11.97 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.2029, allocations: 15.94 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.203, allocations: 19.97 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.203, allocations: 4 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.2034, allocations: 223.6 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.2035, allocations: 11.98 kB / 0.9012 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.2035, allocations: 37.64 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.2038, allocations: 135.8 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2038, allocations: 0 / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2038, allocations: 0 / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2038, allocations: 0 / 0.9014 GB, free: 63 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.0003351/0.2041, allocations: 397.3 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2042, allocations: 12.02 kB / 0.9018 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.2042, allocations: 4.938 kB / 0.9018 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/0.2043, allocations: 176.3 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2044, allocations: 8.25 kB / 0.902 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2044, allocations: 4.375 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.2046, allocations: 77.97 kB / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2046, allocations: 0 / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2046, allocations: 3.984 kB / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2046, allocations: 7.938 kB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.2047, allocations: 35.97 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.2049, allocations: 161.7 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.205, allocations: 62.56 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.2051, allocations: 48.86 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2051, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2052, allocations: 34.5 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2052, allocations: 4 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003946/0.2056, allocations: 191.4 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.2056, allocations: 85.09 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2058, allocations: 113.9 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2058, allocations: 25.7 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.2058, allocations: 84.14 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.2059, allocations: 27.55 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.2059, allocations: 4 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.206, allocations: 314.8 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.206, allocations: 35.97 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.2061, allocations: 39.97 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/0.2062, allocations: 65.7 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2062, allocations: 4 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000248/0.2065, allocations: 147.3 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.2066, allocations: 41.62 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2066, allocations: 0 / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2066, allocations: 4 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.2066, allocations: 0 / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2066, allocations: 0 / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.2067, allocations: 4 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2068, allocations: 4 kB / 0.9035 GB, free: 60.57 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.892e-05/0.2069, allocations: 159.5 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.2069, allocations: 11.84 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.2069, allocations: 4.375 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2069, allocations: 3.938 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.207, allocations: 0 / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.207, allocations: 4 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.994e-05/0.2071, allocations: 169.6 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2071, allocations: 4 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.2071, allocations: 0 / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2071, allocations: 7.875 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2071, allocations: 8 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2071, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2072, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.2075, allocations: 203.2 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.2075, allocations: 84.95 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.2075, allocations: 4 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.2076, allocations: 7.984 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.2076, allocations: 8 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2077, allocations: 8.031 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.2077, allocations: 95.25 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2077, allocations: 0 / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004109/0.2081, allocations: 75.98 kB / 0.9043 GB, free: 59.62 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.0003683/0.2085, allocations: 151.2 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.2089, allocations: 199.3 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2089, allocations: 0 / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2091, allocations: 159.3 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.2092, allocations: 5.547 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.2096, allocations: 182.5 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.2098, allocations: 0.6848 MB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.079e-05/0.2098, allocations: 0 / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-06/0.2098, allocations: 7.438 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/0.2098, allocations: 64 / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.005764/0.2156, allocations: 1.958 MB / 0.9076 GB, free: 56.21 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)