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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9649/0.9649, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001656/0.001656, allocations: 241.6 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7188/0.7188, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.554e-05, allocations: 5.469 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001111/0.001127, allocations: 0.6256 MB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.002841, allocations: 1.487 MB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.002869, allocations: 0.6562 kB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.002924, allocations: 2.219 kB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.002968, allocations: 6.781 kB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.003645, allocations: 208.1 kB / 464.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.003728, allocations: 39.23 kB / 464.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.003766, allocations: 3.281 kB / 464.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.003814, allocations: 18.39 kB / 464.8 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.003867, allocations: 23.42 kB / 464.8 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.00388, allocations: 1.406 kB / 464.8 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.004365, allocations: 272 kB / 465.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.004402, allocations: 10.55 kB / 465.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.004429, allocations: 8.031 kB / 465.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.004832, allocations: 264.9 kB / 465.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004834, allocations: 0 / 465.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004836, allocations: 0 / 465.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00484, allocations: 0.5 kB / 465.3 MB, free: 15.29 MB / 426.7 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.000373/0.005213, allocations: 307.2 kB / 465.6 MB, free: 15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.005262, allocations: 9.906 kB / 465.6 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.005304, allocations: 7.328 kB / 465.6 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.005424, allocations: 123.8 kB / 465.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.005438, allocations: 1.594 kB / 465.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.005455, allocations: 4.594 kB / 465.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.005612, allocations: 81.39 kB / 465.9 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.005623, allocations: 192 / 465.9 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.005635, allocations: 2.766 kB / 465.9 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.005644, allocations: 4.469 kB / 465.9 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.005695, allocations: 49.8 kB / 465.9 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.633e-05/0.005772, allocations: 60.09 kB / 466 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.005829, allocations: 57.78 kB / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.00586, allocations: 45.34 kB / 466.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-06/0.005863, allocations: 0 / 466.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.005883, allocations: 32.61 kB / 466.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 5.01e-07/0.005884, allocations: 1.188 kB / 466.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001987/0.006083, allocations: 172.9 kB / 466.3 MB, free: 14.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.006122, allocations: 83 kB / 466.4 MB, free: 14.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.006193, allocations: 115.8 kB / 466.5 MB, free: 14.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.006204, allocations: 27.11 kB / 466.5 MB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.006227, allocations: 86.88 kB / 466.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.006263, allocations: 29.58 kB / 466.6 MB, free: 14.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.006297, allocations: 22.73 kB / 466.6 MB, free: 14.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.006385, allocations: 319 kB / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.006428, allocations: 43.05 kB / 467 MB, free: 13.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.006463, allocations: 42.47 kB / 467 MB, free: 13.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.006556, allocations: 101.5 kB / 467.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006558, allocations: 0 / 467.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001317/0.00669, allocations: 122 kB / 467.2 MB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.006728, allocations: 38.5 kB / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.006733, allocations: 0 / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.006744, allocations: 1.281 kB / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-06/0.006749, allocations: 0 / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.006751, allocations: 2.562 kB / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.0068, allocations: 12.86 kB / 467.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.006816, allocations: 4.5 kB / 467.3 MB, free: 13.42 MB / 426.7 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 7.4e-05/0.00689, allocations: 151 kB / 467.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.006904, allocations: 11.92 kB / 467.5 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.431e-05/0.006918, allocations: 6.719 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00692, allocations: 0 / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006922, allocations: 1.25 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.006924, allocations: 0.75 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.366e-05/0.006978, allocations: 75.7 kB / 467.5 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.00698, allocations: 3.656 kB / 467.5 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.00698, allocations: 0 / 467.5 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006982, allocations: 3.984 kB / 467.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.006989, allocations: 4.344 kB / 467.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.00699, allocations: 1.156 kB / 467.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00699, allocations: 0 / 467.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007107, allocations: 174.6 kB / 467.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.007116, allocations: 11.94 kB / 467.7 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.007125, allocations: 0.6875 kB / 467.7 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.889e-05/0.007144, allocations: 8 kB / 467.7 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.007155, allocations: 8.219 kB / 467.8 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.007163, allocations: 7.984 kB / 467.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.432e-05/0.007177, allocations: 18.47 kB / 467.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007177, allocations: 0 / 467.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000214/0.007391, allocations: 75.86 kB / 467.9 MB, free: 12.84 MB / 426.7 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.0002012/0.007592, allocations: 154.2 kB / 468 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.00781, allocations: 171.6 kB / 468.2 MB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.007816, allocations: 4.562 kB / 468.2 MB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.007909, allocations: 123.2 kB / 468.3 MB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.008013, allocations: 15.88 kB / 468.3 MB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.008322, allocations: 171.2 kB / 468.5 MB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.487e-05/0.008357, allocations: 61.19 kB / 468.5 MB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.989e-06/0.008362, allocations: 0 / 468.5 MB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.008436, allocations: 67.36 kB / 468.6 MB, free: 11.99 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.008436, allocations: 0 / 468.6 MB, free: 11.99 MB / 426.7 MB Notification: Performance of Templates: time 0.004085/0.01252, allocations: 2.373 MB / 471 MB, free: 9.812 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.428685775026679]