Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 187.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 71.52 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2062, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001911/0.2082, allocations: 0.6053 MB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2101, allocations: 1.479 MB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.2101, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.2102, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.794e-05/0.2102, allocations: 7.938 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.211, allocations: 207.6 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.2111, allocations: 39.91 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.2111, allocations: 4 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.2112, allocations: 15.91 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.2112, allocations: 23.92 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2112, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.2116, allocations: 247.7 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.2117, allocations: 7.984 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.2117, allocations: 15.88 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.212, allocations: 219.5 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.212, allocations: 4 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.212, allocations: 0 / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.212, allocations: 0 / 0.7869 GB, free: 9.859 MB / 0.6075 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.0004379/0.2125, allocations: 408.9 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2125, allocations: 8.031 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.2126, allocations: 8.938 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2128, allocations: 184.2 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2128, allocations: 384 / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2128, allocations: 384 / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2129, allocations: 85.91 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.213, allocations: 0 / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.213, allocations: 0 / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.213, allocations: 0 / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.213, allocations: 39.97 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.2132, allocations: 153.7 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.362e-05/0.2133, allocations: 62.55 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.2133, allocations: 56.86 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.2134, allocations: 0 / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2134, allocations: 38.44 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.2134, allocations: 0 / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003226/0.2137, allocations: 191.2 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.2138, allocations: 81.11 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.2139, allocations: 117.8 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2139, allocations: 25.7 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.2139, allocations: 84.17 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.214, allocations: 27.8 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.214, allocations: 25.7 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2141, allocations: 314.8 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.2142, allocations: 35.97 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.2143, allocations: 39.91 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2144, allocations: 140.2 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2144, allocations: 0 / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.2146, allocations: 147.4 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.2147, allocations: 41.64 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2147, allocations: 7.984 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2147, allocations: 0 / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.2147, allocations: 3.938 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2147, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2148, allocations: 7.906 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2149, allocations: 8 kB / 0.7892 GB, free: 7.297 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.215, allocations: 152.2 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.215, allocations: 7.938 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.275e-05/0.215, allocations: 8.375 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2151, allocations: 0 / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2151, allocations: 7.938 kB / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2151, allocations: 0 / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.2152, allocations: 165.6 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.2152, allocations: 3.984 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.2152, allocations: 0 / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2152, allocations: 3.938 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2152, allocations: 4 kB / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2153, allocations: 0 / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2153, allocations: 4 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.2155, allocations: 199.4 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.2156, allocations: 92.89 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2156, allocations: 0 / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.2156, allocations: 15.97 kB / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.2157, allocations: 4 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.2157, allocations: 4 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.2157, allocations: 95.25 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2158, allocations: 4.031 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003535/0.2161, allocations: 75.98 kB / 0.79 GB, free: 6.359 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003263/0.2164, allocations: 159.1 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.2167, allocations: 207.3 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2168, allocations: 0 / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2169, allocations: 151.3 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.2171, allocations: 7.938 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.2174, allocations: 174.1 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2177, allocations: 0.6846 MB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.965e-06/0.2178, allocations: 0 / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.2178, allocations: 7.438 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2178, allocations: 4 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.004953/0.2227, allocations: 2.034 MB / 0.7933 GB, free: 2.875 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)