Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0006697/0.0006697, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.001948, 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.001113/0.001113, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002515, allocations: 475.6 kB / 11.79 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 1.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1032/1.106, allocations: 53.68 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.001259/0.001259, allocations: 218.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009777/0.002237, allocations: 479.6 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.7076/0.7076, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06479/0.7724, allocations: 42.4 MB / 426.7 MB, free: 5.832 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.176e-05, allocations: 2.312 kB / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.001844/0.001856, allocations: 1.553 MB / 429.6 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.001989, allocations: 92.56 kB / 429.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.00201, allocations: 0 / 429.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.002054, allocations: 3.938 kB / 429.7 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.167e-05/0.002076, allocations: 7.938 kB / 429.7 MB, free: 2.801 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.002215, allocations: 15.98 kB / 429.7 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.002271, allocations: 27.86 kB / 429.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.243e-05/0.002333, allocations: 7.984 kB / 429.8 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.002377, allocations: 15.98 kB / 429.8 MB, free: 2.734 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.002414, allocations: 11.92 kB / 429.8 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.002424, allocations: 4 kB / 429.8 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.002506, allocations: 23.97 kB / 429.8 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.002533, allocations: 4 kB / 429.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.002547, allocations: 7.938 kB / 429.8 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.275e-05/0.002639, allocations: 31.91 kB / 429.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.002649, allocations: 0 / 429.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.002649, allocations: 0 / 429.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.002658, allocations: 0 / 429.9 MB, free: 2.652 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.0002851/0.002943, allocations: 240.6 kB / 430.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.002972, allocations: 11.98 kB / 430.1 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.002999, allocations: 4.938 kB / 430.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.472e-05/0.003074, allocations: 113.8 kB / 430.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.003083, allocations: 4.375 kB / 430.2 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.003092, allocations: 4.312 kB / 430.2 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.896e-05/0.003181, allocations: 57.77 kB / 430.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.003186, allocations: 192 / 430.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.003192, allocations: 384 / 430.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.003197, allocations: 4.312 kB / 430.3 MB, free: 2.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.003214, allocations: 11.92 kB / 430.3 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.003386, allocations: 158 kB / 430.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.003428, allocations: 73.25 kB / 430.5 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.003441, allocations: 8.922 kB / 430.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.003471, allocations: 0 / 430.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.003488, allocations: 34.56 kB / 430.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.003489, allocations: 0 / 430.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.644e-05/0.003575, allocations: 37.73 kB / 430.6 MB, free: 1.797 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.003597, allocations: 59.34 kB / 430.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.695e-05/0.003644, allocations: 110.6 kB / 430.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.003653, allocations: 29.7 kB / 430.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.003676, allocations: 80.14 kB / 430.9 MB, free: 1.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.00369, allocations: 12.02 kB / 430.9 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.00371, allocations: 13.72 kB / 430.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.003773, allocations: 318.8 kB / 431.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.003782, allocations: 6.828 kB / 431.2 MB, free: 1.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.003788, allocations: 0 / 431.2 MB, free: 1.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.878e-05/0.003806, allocations: 11.69 kB / 431.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003808, allocations: 0 / 431.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.282e-05/0.003841, allocations: 41.69 kB / 431.3 MB, free: 1.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.003853, allocations: 7.906 kB / 431.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.003856, allocations: 12.03 kB / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.003867, allocations: 0 / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.003921, allocations: 7.938 kB / 431.3 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.003925, allocations: 3.984 kB / 431.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.003939, allocations: 4 kB / 431.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-06/0.003941, allocations: 0 / 431.3 MB, free: 1.031 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 (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 prepare postOptimizeDAE: time 4.186e-05/0.003983, allocations: 108.7 kB / 431.4 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.003995, allocations: 4 kB / 431.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.004048, allocations: 41.31 kB / 431.5 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.004049, allocations: 4.031 kB / 431.5 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.00405, allocations: 3.938 kB / 431.5 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.004053, allocations: 4 kB / 431.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.254e-05/0.004125, allocations: 77.88 kB / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004126, allocations: 0 / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.004142, allocations: 7.938 kB / 431.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.004148, allocations: 15.88 kB / 431.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.004149, allocations: 0 / 431.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-06/0.004152, allocations: 0 / 431.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.004153, allocations: 0 / 431.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.004154, allocations: 3.938 kB / 431.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.656e-05/0.00422, allocations: 178.5 kB / 431.8 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.004228, allocations: 4 kB / 431.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.796e-05/0.004256, allocations: 4 kB / 431.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.004279, allocations: 4 kB / 431.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.004281, allocations: 4 kB / 431.8 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.099e-05/0.004292, allocations: 16.78 kB / 431.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004292, allocations: 0 / 431.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001163/0.004408, allocations: 8 kB / 431.8 MB, free: 0.5 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 (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 8.258e-05/0.004491, allocations: 76.42 kB / 431.9 MB, free: 424 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.989e-05/0.004541, allocations: 24.81 kB / 431.9 MB, free: 396 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.004544, allocations: 0 / 431.9 MB, free: 396 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.004559, allocations: 8.859 kB / 431.9 MB, free: 384 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.004692, allocations: 45.62 kB / 432 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.004978, allocations: 117.4 kB / 432.1 MB, free: 188 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.005006, allocations: 55.36 kB / 432.1 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.411e-05/0.00502, allocations: 192 / 432.1 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.005053, allocations: 59.38 kB / 432.2 MB, free: 52 kB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.005054, allocations: 0 / 432.2 MB, free: 52 kB / 410.7 MB Notification: Performance of Templates: time 0.1557/0.1607, allocations: 0.5759 MB / 432.8 MB, free: 2.852 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2287912033498287]