Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.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.0009742/0.0009742, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002463, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001094/0.001094, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002471, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9611/0.9611, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08472/1.046, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 237.8 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.003359, allocations: 470.8 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7498/0.7498, allocations: 138.7 MB / 384.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06467/0.8145, allocations: 42.4 MB / 426.5 MB, free: 5.961 MB / 410.7 MB " [Timeout remaining time 179] 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.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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.889e-05, allocations: 2.312 kB / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.001962/0.001981, allocations: 1.561 MB / 429.4 MB, free: 3.047 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.002879, allocations: 0.7991 MB / 430.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.002917, allocations: 0 / 430.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.003079, allocations: 135.7 kB / 430.3 MB, free: 2.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.003409, allocations: 179.5 kB / 430.5 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.558e-05/0.003495, allocations: 59.8 kB / 430.5 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.003573, allocations: 63.88 kB / 430.6 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.641e-05/0.003639, allocations: 11.92 kB / 430.6 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.003715, allocations: 63.81 kB / 430.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.00379, allocations: 67.92 kB / 430.7 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.003802, allocations: 8 kB / 430.7 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.004118, allocations: 263.5 kB / 431 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.00421, allocations: 103.7 kB / 431.1 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.004242, allocations: 27.88 kB / 431.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.00451, allocations: 299 kB / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.004525, allocations: 0 / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004525, allocations: 0 / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.004542, allocations: 0 / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004897/0.005032, allocations: 0.4985 MB / 431.9 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.005061, allocations: 15.98 kB / 431.9 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.005092, allocations: 20.92 kB / 432 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.005258, allocations: 239 kB / 432.2 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.005269, allocations: 4.375 kB / 432.2 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-06/0.005275, allocations: 384 / 432.2 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.541e-05/0.00536, allocations: 57.78 kB / 432.3 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.005366, allocations: 192 / 432.3 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.005372, allocations: 384 / 432.3 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.005377, allocations: 3.938 kB / 432.3 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.005398, allocations: 11.92 kB / 432.3 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2222/0.2276, allocations: 163.5 kB / 432.4 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.2277, allocations: 71.61 kB / 432.5 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.2277, allocations: 7.078 kB / 432.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.2277, allocations: 21.61 kB / 432.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2278, allocations: 33.41 kB / 432.6 MB, free: 2.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.2278, allocations: 1.062 kB / 432.6 MB, free: 2.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001232/0.2279, allocations: 55.33 kB / 432.6 MB, free: 2.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.2279, allocations: 54.59 kB / 432.7 MB, free: 1.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.2281, allocations: 377.8 kB / 433 MB, free: 1.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.2281, allocations: 26.27 kB / 433.1 MB, free: 1.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.2282, allocations: 124.3 kB / 433.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2282, allocations: 8.781 kB / 433.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.2282, allocations: 40.19 kB / 433.2 MB, free: 1.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.2283, allocations: 341.5 kB / 433.6 MB, free: 17.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.2283, allocations: 17.2 kB / 433.6 MB, free: 17.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.2283, allocations: 18.52 kB / 433.6 MB, free: 17.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.2284, allocations: 49.94 kB / 433.7 MB, free: 17.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2284, allocations: 0 / 433.7 MB, free: 17.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.496e-05/0.2285, allocations: 93.56 kB / 433.7 MB, free: 17.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2285, allocations: 4.875 kB / 433.7 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2285, allocations: 6.562 kB / 433.8 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.2285, allocations: 0 / 433.8 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2286, allocations: 31.12 kB / 433.8 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2286, allocations: 2.094 kB / 433.8 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.2287, allocations: 6.703 kB / 433.8 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2287, allocations: 2.219 kB / 433.8 MB, free: 17.36 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 5.623e-05/0.2287, allocations: 119.3 kB / 433.9 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.2287, allocations: 17.73 kB / 433.9 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.2288, allocations: 59.22 kB / 434 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2288, allocations: 1.438 kB / 434 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.2288, allocations: 4.781 kB / 434 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2288, allocations: 3.5 kB / 434 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.2289, allocations: 120 kB / 434.1 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2289, allocations: 4.062 kB / 434.1 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.229, allocations: 4.75 kB / 434.1 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.229, allocations: 34.44 kB / 434.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.229, allocations: 1.156 kB / 434.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.229, allocations: 2.344 kB / 434.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.229, allocations: 0 / 434.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.229, allocations: 9.562 kB / 434.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.984e-05/0.2291, allocations: 184.7 kB / 434.3 MB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2291, allocations: 3.484 kB / 434.4 MB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.2291, allocations: 2.516 kB / 434.4 MB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.2292, allocations: 6.812 kB / 434.4 MB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.2292, allocations: 0 / 434.4 MB, free: 16.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.2293, allocations: 179.9 kB / 434.5 MB, free: 16.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2293, allocations: 1.469 kB / 434.5 MB, free: 16.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000218/0.2295, allocations: 81.34 kB / 434.6 MB, free: 16.91 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0002019/0.2297, allocations: 147.4 kB / 434.8 MB, free: 16.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.4e-05/0.2298, allocations: 41.88 kB / 434.8 MB, free: 16.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2298, allocations: 5.156 kB / 434.8 MB, free: 16.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.2298, allocations: 11.66 kB / 434.8 MB, free: 16.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.23, allocations: 25.34 kB / 434.8 MB, free: 16.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.2305, allocations: 460.4 kB / 435.3 MB, free: 16.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.2306, allocations: 107 kB / 435.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.2306, allocations: 20.48 kB / 435.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.2307, allocations: 68.72 kB / 435.5 MB, free: 16.46 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2307, allocations: 1.875 kB / 435.5 MB, free: 16.46 MB / 426.7 MB Notification: Performance of Templates: time 0.005238/0.2359, allocations: 3.069 MB / 438.6 MB, free: 16.42 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5254612043499947]