Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001274/0.001274, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001479/0.001479, allocations: 195.2 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 283 kB / 290.4 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9217/0.9217, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002966/0.002966, allocations: 97.28 kB / 0.5947 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.198, allocations: 86.99 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001891/0.1999, allocations: 0.6671 MB / 0.6803 GB, free: 408 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2019, allocations: 1.439 MB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.202, allocations: 0 / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.202, allocations: 0 / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.2021, allocations: 5.969 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.2028, allocations: 188.3 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.2029, allocations: 39.97 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.203, allocations: 5.141 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.203, allocations: 15.92 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.2031, allocations: 16.7 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.2031, allocations: 4 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.2034, allocations: 252.2 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.2035, allocations: 9.281 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.2035, allocations: 19.88 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.2038, allocations: 211.6 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2038, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2038, allocations: 0.7188 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.2039, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB 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.0004571/0.2043, allocations: 406 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2044, allocations: 11.97 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.2044, allocations: 8.844 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2045, allocations: 180.2 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2045, allocations: 384 / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2046, allocations: 4.375 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.2047, allocations: 81.95 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2047, allocations: 0 / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2047, allocations: 0 / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2048, allocations: 11.94 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.2048, allocations: 31.97 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.205, allocations: 169.6 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.2051, allocations: 54.56 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.2051, allocations: 52.86 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.2051, allocations: 0 / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2052, allocations: 38.5 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.2052, allocations: 0 / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002809/0.2055, allocations: 187.2 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.2055, allocations: 85.09 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.2056, allocations: 117.8 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2056, allocations: 25.7 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.2057, allocations: 84.14 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.2057, allocations: 23.8 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.2058, allocations: 17.72 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.2059, allocations: 326.9 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.2059, allocations: 35.97 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.206, allocations: 35.97 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.2061, allocations: 144.2 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2061, allocations: 0 / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.2063, allocations: 151.2 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.2063, allocations: 47.81 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.2064, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2064, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.2064, allocations: 4.062 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2064, allocations: 0 / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2065, allocations: 7.984 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.2065, allocations: 8 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB 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.2067, allocations: 144.8 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.2067, allocations: 11.84 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.2067, allocations: 12.38 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2067, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2067, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2067, allocations: 4 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2068, allocations: 165.6 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2068, allocations: 0 / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2069, allocations: 3.938 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2069, allocations: 3.938 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2069, allocations: 4 kB / 0.685 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2069, allocations: 4 kB / 0.685 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.2069, allocations: 0 / 0.685 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2071, allocations: 203.2 kB / 0.6852 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.2072, allocations: 92.89 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2072, allocations: 4 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.2072, allocations: 7.984 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.2073, allocations: 0 / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.2073, allocations: 8 kB / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.742e-05/0.2073, allocations: 95.25 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2073, allocations: 0 / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.2076, allocations: 75.98 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB 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.0003175/0.2079, allocations: 159.2 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2082, allocations: 203.3 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2082, allocations: 0 / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2083, allocations: 155.3 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.2085, allocations: 5.125 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.2088, allocations: 180 kB / 0.6862 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.209, allocations: 0.6885 MB / 0.6868 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.769e-06/0.209, allocations: 0 / 0.6868 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-06/0.209, allocations: 7.438 kB / 0.6868 GB, free: 9.234 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.209, allocations: 0 / 0.6868 GB, free: 9.234 MB / 494.1 MB Notification: Performance of Templates: time 0.004055/0.2131, allocations: 2.041 MB / 0.6888 GB, free: 7.203 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)