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.001084/0.001084, allocations: 103.7 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.364/1.364, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.69/1.69, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001361/0.001361, allocations: 68.64 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2248, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002091/0.227, allocations: 0.6843 MB / 0.7842 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2289, allocations: 1.48 MB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.2289, allocations: 0 / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.927e-05/0.229, allocations: 8 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.229, allocations: 3.938 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.2297, allocations: 187 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.2298, allocations: 35.97 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.2299, allocations: 3.938 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.2299, allocations: 15.97 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.23, allocations: 27.92 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.23, allocations: 0 / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.2304, allocations: 251.6 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.2304, allocations: 7.984 kB / 0.7862 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.2305, allocations: 15.88 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.2307, allocations: 143.8 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2307, allocations: 0 / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2307, allocations: 0 / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2307, allocations: 0 / 0.7863 GB, free: 11 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.0004613/0.2312, allocations: 405.3 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2312, allocations: 12.03 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.2313, allocations: 4.938 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2314, allocations: 180.2 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2314, allocations: 4.312 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.2314, allocations: 4.375 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.2316, allocations: 77.97 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2316, allocations: 0 / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2317, allocations: 0 / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2317, allocations: 0 / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.2317, allocations: 35.97 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.2319, allocations: 165.7 kB / 0.7872 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.232, allocations: 62.5 kB / 0.7872 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/0.2321, allocations: 56.86 kB / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.2321, allocations: 0 / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2321, allocations: 34.5 kB / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2321, allocations: 0 / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003277/0.2325, allocations: 195.4 kB / 0.7875 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.2325, allocations: 85.09 kB / 0.7876 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.2326, allocations: 113.8 kB / 0.7877 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2327, allocations: 25.7 kB / 0.7877 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2327, allocations: 84.08 kB / 0.7878 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.2328, allocations: 27.64 kB / 0.7878 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.2328, allocations: 21.66 kB / 0.7878 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.233, allocations: 322.8 kB / 0.7881 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.2331, allocations: 36.02 kB / 0.7882 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.2331, allocations: 35.97 kB / 0.7882 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2333, allocations: 144.2 kB / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2333, allocations: 0 / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001867/0.2335, allocations: 143.3 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.2335, allocations: 45.62 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2335, allocations: 0 / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2336, allocations: 0 / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.2336, allocations: 0 / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.2336, allocations: 0.625 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2337, allocations: 15.91 kB / 0.7885 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2337, allocations: 11.98 kB / 0.7886 GB, free: 8.43 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.000105/0.2338, allocations: 143.5 kB / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.2339, allocations: 11.92 kB / 0.7887 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.248e-05/0.2339, allocations: 12.31 kB / 0.7887 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2339, allocations: 4 kB / 0.7887 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2339, allocations: 0 / 0.7887 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2339, allocations: 0 / 0.7887 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.234, allocations: 169.5 kB / 0.7889 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.234, allocations: 4 kB / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.234, allocations: 0 / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.234, allocations: 3.938 kB / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2341, allocations: 4 kB / 0.7889 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2341, allocations: 0 / 0.7889 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2341, allocations: 0 / 0.7889 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.2343, allocations: 198.7 kB / 0.7891 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.2344, allocations: 92.89 kB / 0.7892 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2344, allocations: 0 / 0.7892 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.2344, allocations: 16.02 kB / 0.7892 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.2344, allocations: 3.938 kB / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.2345, allocations: 4 kB / 0.7892 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.2345, allocations: 95.27 kB / 0.7893 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2345, allocations: 0 / 0.7893 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002775/0.2348, allocations: 75.98 kB / 0.7894 GB, free: 7.5 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.0002977/0.2351, allocations: 155.2 kB / 0.7895 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.2354, allocations: 203.3 kB / 0.7897 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2354, allocations: 0 / 0.7897 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2355, allocations: 151.3 kB / 0.7898 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2357, allocations: 7.938 kB / 0.7898 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.236, allocations: 210.6 kB / 0.79 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2363, allocations: 0.6846 MB / 0.7907 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.082e-05/0.2363, allocations: 15.5 kB / 0.7907 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2363, allocations: 0 / 0.7907 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.003379/0.2397, allocations: 1.709 MB / 0.7924 GB, free: 4.289 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)