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.00101/0.00101, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002481, allocations: 440 kB / 10.41 MB, free: 284 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.0007214/0.0007214, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009888/0.00171, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9622/0.9622, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0846/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.001256/0.001256, allocations: 230.5 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002434, allocations: 475.2 kB / 244.8 MB, free: 14.06 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.7339/0.7339, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07097/0.8048, allocations: 42.4 MB / 426.7 MB, free: 5.82 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.453e-06/1.453e-06, allocations: 0 / 428.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.557e-05, allocations: 2.312 kB / 428.1 MB, free: 4.414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001286/0.001311, allocations: 0.6664 MB / 428.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 6.895e-05/0.00138, allocations: 31.89 kB / 428.8 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-06/0.001389, allocations: 0 / 428.8 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-06/0.001392, allocations: 4 kB / 428.8 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.001e-06/0.001393, allocations: 0 / 428.8 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.001528, allocations: 7.984 kB / 428.8 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.544e-05/0.001564, allocations: 0 / 428.8 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.001596, allocations: 8 kB / 428.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.001627, allocations: 0 / 428.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.503e-05/0.001652, allocations: 0 / 428.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.001662, allocations: 7.938 kB / 428.8 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.001753, allocations: 31.89 kB / 428.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.001763, allocations: 0 / 428.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-06/0.001772, allocations: 0 / 428.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.253e-05/0.001845, allocations: 15.98 kB / 428.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.001854, allocations: 0 / 428.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.001854, allocations: 0 / 428.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.001865, allocations: 0 / 428.9 MB, free: 3.641 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.0002115/0.002076, allocations: 216.7 kB / 429.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.002104, allocations: 11.98 kB / 429.1 MB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.002124, allocations: 4.938 kB / 429.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.981e-05/0.002184, allocations: 105.8 kB / 429.2 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.002191, allocations: 384 / 429.2 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.002199, allocations: 384 / 429.2 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.029e-05/0.00226, allocations: 30.27 kB / 429.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.002264, allocations: 192 / 429.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-06/0.002269, allocations: 384 / 429.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.002274, allocations: 8.297 kB / 429.3 MB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.879e-06/0.002284, allocations: 7.922 kB / 429.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.851e-05/0.002342, allocations: 61.05 kB / 429.3 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.786e-05/0.00237, allocations: 22.5 kB / 429.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.002382, allocations: 16.95 kB / 429.4 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.002409, allocations: 0 / 429.4 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.002425, allocations: 34.56 kB / 429.4 MB, free: 3.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.002425, allocations: 0 / 429.4 MB, free: 3.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.061e-05/0.002496, allocations: 37.62 kB / 429.4 MB, free: 2.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.002519, allocations: 51.41 kB / 429.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.519e-05/0.002544, allocations: 89.86 kB / 429.6 MB, free: 2.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.002552, allocations: 25.7 kB / 429.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.602e-05/0.002568, allocations: 80.14 kB / 429.7 MB, free: 2.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.002588, allocations: 3.953 kB / 429.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.002607, allocations: 17.84 kB / 429.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.002671, allocations: 314.8 kB / 430 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-06/0.002674, allocations: 0 / 430 MB, free: 2.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-06/0.002678, allocations: 4 kB / 430 MB, free: 2.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.753e-05/0.002696, allocations: 8.797 kB / 430 MB, free: 2.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.002698, allocations: 3.984 kB / 430 MB, free: 2.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.625e-05/0.002724, allocations: 33.7 kB / 430.1 MB, free: 2.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.002732, allocations: 4 kB / 430.1 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.002736, allocations: 0 / 430.1 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.002743, allocations: 4.094 kB / 430.1 MB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.87e-05/0.002782, allocations: 4 kB / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.002784, allocations: 0 / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-06/0.002791, allocations: 0 / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.002799, allocations: 4 kB / 430.1 MB, free: 2.305 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.051e-05/0.00284, allocations: 113.8 kB / 430.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-06/0.002842, allocations: 4 kB / 430.2 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.002895, allocations: 40.64 kB / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-07/0.002896, allocations: 0 / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.002897, allocations: 0 / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.002899, allocations: 0 / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.898e-05/0.002938, allocations: 69.83 kB / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.002938, allocations: 0 / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-06/0.002944, allocations: 0 / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-06/0.002948, allocations: 3.984 kB / 430.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.002949, allocations: 4 kB / 430.3 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-06/0.002951, allocations: 3.938 kB / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.002951, allocations: 0 / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.002952, allocations: 32 / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.836e-05/0.00299, allocations: 73 kB / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-06/0.002996, allocations: 0 / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-06/0.002999, allocations: 0 / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-06/0.003007, allocations: 0 / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.003008, allocations: 0 / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.646e-06/0.003017, allocations: 4.859 kB / 430.4 MB, free: 1.941 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003017, allocations: 4 kB / 430.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.144e-05/0.003108, allocations: 7.938 kB / 430.4 MB, free: 1.93 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.31e-05/0.003191, allocations: 88.44 kB / 430.5 MB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.632e-05/0.003228, allocations: 4.859 kB / 430.5 MB, free: 1.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.003231, allocations: 8 kB / 430.5 MB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.003239, allocations: 4.859 kB / 430.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.443e-05/0.003283, allocations: 15.92 kB / 430.5 MB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001139/0.003397, allocations: 82.3 kB / 430.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.191e-05/0.003419, allocations: 51.36 kB / 430.6 MB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.757e-05/0.003436, allocations: 8.188 kB / 430.7 MB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.003463, allocations: 51.36 kB / 430.7 MB, free: 1.562 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.003463, allocations: 0 / 430.7 MB, free: 1.562 MB / 410.7 MB Notification: Performance of Templates: time 0.001345/0.004809, allocations: 349.4 kB / 431 MB, free: 1.219 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.1031153481453657]