Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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.000702/0.000702, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008743/0.001576, 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.0007122/0.0007122, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008767/0.001589, 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.948/0.948, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07814/1.026, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.00127/0.00127, allocations: 236.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009554/0.002225, allocations: 467.3 kB / 244.6 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.7237/0.7237, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06854/0.7923, allocations: 42.4 MB / 426.5 MB, free: 5.938 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 427.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.338e-06/1.068e-05, allocations: 2.312 kB / 427.8 MB, free: 4.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.0009522/0.0009629, allocations: 0.6508 MB / 428.5 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 6.887e-05/0.001032, allocations: 43.83 kB / 428.5 MB, free: 3.871 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-06/0.001041, allocations: 0 / 428.5 MB, free: 3.871 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-06/0.001045, allocations: 0 / 428.5 MB, free: 3.871 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.22e-07/0.001045, allocations: 0 / 428.5 MB, free: 3.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.001185, allocations: 7.984 kB / 428.5 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.498e-05/0.00122, allocations: 0 / 428.5 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.001251, allocations: 8 kB / 428.5 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.001284, allocations: 11.92 kB / 428.6 MB, free: 3.844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.001306, allocations: 4 kB / 428.6 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.001316, allocations: 4 kB / 428.6 MB, free: 3.836 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.8e-05/0.001414, allocations: 15.92 kB / 428.6 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.001422, allocations: 0 / 428.6 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.418e-06/0.001432, allocations: 0 / 428.6 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.388e-05/0.001506, allocations: 19.97 kB / 428.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.001517, allocations: 0 / 428.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.001518, allocations: 0 / 428.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.001528, allocations: 0 / 428.6 MB, free: 3.801 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002216/0.001749, allocations: 216.7 kB / 428.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.001776, allocations: 8.031 kB / 428.8 MB, free: 3.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.133e-05/0.001797, allocations: 8.938 kB / 428.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.777e-05/0.001845, allocations: 105.7 kB / 428.9 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.001854, allocations: 8.344 kB / 428.9 MB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-06/0.001859, allocations: 384 / 428.9 MB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.061e-05/0.00192, allocations: 30.27 kB / 429 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-06/0.001925, allocations: 192 / 429 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.00193, allocations: 384 / 429 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.001934, allocations: 384 / 429 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.229e-05/0.001946, allocations: 7.875 kB / 429 MB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.847e-05/0.002004, allocations: 57.05 kB / 429 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.859e-05/0.002033, allocations: 22.67 kB / 429.1 MB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.003e-05/0.002043, allocations: 8.859 kB / 429.1 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.002076, allocations: 3.984 kB / 429.1 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.002093, allocations: 34.56 kB / 429.1 MB, free: 3.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002093, allocations: 0 / 429.1 MB, free: 3.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 6.868e-05/0.002162, allocations: 33.64 kB / 429.1 MB, free: 3.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.002188, allocations: 51.41 kB / 429.2 MB, free: 3.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.707e-05/0.002215, allocations: 89.86 kB / 429.3 MB, free: 3.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.002224, allocations: 25.7 kB / 429.3 MB, free: 2.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.542e-05/0.002239, allocations: 80.14 kB / 429.4 MB, free: 2.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.002263, allocations: 8.078 kB / 429.4 MB, free: 2.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.002283, allocations: 17.7 kB / 429.4 MB, free: 2.863 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.002353, allocations: 318.8 kB / 429.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.002357, allocations: 0 / 429.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.002361, allocations: 4 kB / 429.7 MB, free: 2.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.883e-05/0.00238, allocations: 4.859 kB / 429.7 MB, free: 2.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.002381, allocations: 0 / 429.7 MB, free: 2.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.045e-05/0.002412, allocations: 41.64 kB / 429.8 MB, free: 2.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.002421, allocations: 4 kB / 429.8 MB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.002426, allocations: 8.078 kB / 429.8 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.002434, allocations: 0 / 429.8 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.002482, allocations: 4 kB / 429.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.002484, allocations: 0 / 429.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-06/0.002492, allocations: 0 / 429.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.002501, allocations: 0 / 429.8 MB, free: 2.469 MB / 410.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): 1 * 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 4.289e-05/0.002544, allocations: 113.8 kB / 429.9 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-06/0.002547, allocations: 0 / 429.9 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.002604, allocations: 48.56 kB / 429.9 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.002606, allocations: 0 / 429.9 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.002607, allocations: 0 / 429.9 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.002609, allocations: 0 / 429.9 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.018e-05/0.00265, allocations: 65.84 kB / 430 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.00265, allocations: 0 / 430 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-06/0.002658, allocations: 0 / 430 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-06/0.002663, allocations: 7.984 kB / 430 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.002664, allocations: 0 / 430 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-06/0.002667, allocations: 0 / 430 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.002668, allocations: 4 kB / 430 MB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.002669, allocations: 4.031 kB / 430 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.833e-05/0.002707, allocations: 61.08 kB / 430.1 MB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.002714, allocations: 3.984 kB / 430.1 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-06/0.002718, allocations: 0 / 430.1 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-06/0.002727, allocations: 3.938 kB / 430.1 MB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.002729, allocations: 0 / 430.1 MB, free: 2.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.112e-06/0.002736, allocations: 8.859 kB / 430.1 MB, free: 2.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002736, allocations: 0 / 430.1 MB, free: 2.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.924e-05/0.002835, allocations: 7.938 kB / 430.1 MB, free: 2.094 MB / 410.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): 1 * 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 8.842e-05/0.002923, allocations: 84.45 kB / 430.2 MB, free: 2.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.656e-05/0.00297, allocations: 12.83 kB / 430.2 MB, free: 1.988 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.002974, allocations: 4 kB / 430.2 MB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.002978, allocations: 4.859 kB / 430.2 MB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.415e-05/0.003022, allocations: 7.938 kB / 430.2 MB, free: 1.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001228/0.003145, allocations: 82.3 kB / 430.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.386e-05/0.003169, allocations: 55.34 kB / 430.3 MB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.003185, allocations: 4.125 kB / 430.3 MB, free: 1.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.003221, allocations: 55.31 kB / 430.4 MB, free: 1.73 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.003222, allocations: 0 / 430.4 MB, free: 1.73 MB / 410.7 MB Notification: Performance of Templates: time 0.001565/0.004786, allocations: 348.5 kB / 430.7 MB, free: 1.391 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.049042851664126]