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.001003/0.001003, allocations: 80.94 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.001112/0.001112, allocations: 173 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.9392/0.9392, 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.00262/0.00262, allocations: 242.2 kB / 260.5 MB, free: 12.71 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.7132/0.7132, allocations: 138.4 MB / 402.2 MB, free: 0.5625 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.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.754e-06/1.754e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.673e-05, allocations: 4.422 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.001924/0.001941, allocations: 1.506 MB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000276/0.002217, allocations: 89.75 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.002244, allocations: 0.625 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.956e-05/0.002304, allocations: 4.641 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.002348, allocations: 4.516 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.002608, allocations: 29.69 kB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.002666, allocations: 21.58 kB / 464 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.002731, allocations: 8.797 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.002766, allocations: 15.83 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.002797, allocations: 7.375 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.002808, allocations: 3.5 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.002884, allocations: 20.11 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.002916, allocations: 12.03 kB / 464 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.002929, allocations: 6.5 kB / 464 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/0.00302, allocations: 30.86 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003021, allocations: 0 / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003022, allocations: 0 / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.534e-06/0.003025, allocations: 0 / 464.1 MB, free: 15.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002735/0.003298, allocations: 244.6 kB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.003328, allocations: 13.31 kB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.003351, allocations: 2.984 kB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.003428, allocations: 110.6 kB / 464.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.003437, allocations: 1.812 kB / 464.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-06/0.003446, allocations: 1.625 kB / 464.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.153e-05/0.003537, allocations: 63.16 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.003543, allocations: 1.406 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.00355, allocations: 1.734 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.003555, allocations: 1.719 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.003574, allocations: 9.781 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.003747, allocations: 152 kB / 464.7 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.003799, allocations: 71.03 kB / 464.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.003812, allocations: 11.55 kB / 464.7 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.003841, allocations: 2.828 kB / 464.7 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.00386, allocations: 32.59 kB / 464.8 MB, free: 15.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.00386, allocations: 0.5 kB / 464.8 MB, free: 15.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 8.474e-05/0.003945, allocations: 40.38 kB / 464.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.003973, allocations: 62.09 kB / 464.9 MB, free: 14.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.056e-05/0.004024, allocations: 108.2 kB / 465 MB, free: 14.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.004033, allocations: 30.55 kB / 465 MB, free: 14.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.00406, allocations: 86.94 kB / 465.1 MB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.004074, allocations: 10.84 kB / 465.1 MB, free: 14.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.004094, allocations: 12.83 kB / 465.1 MB, free: 14.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.004166, allocations: 317.4 kB / 465.4 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.004177, allocations: 7.312 kB / 465.4 MB, free: 14.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.004184, allocations: 1.156 kB / 465.4 MB, free: 14.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.004211, allocations: 15.64 kB / 465.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.004212, allocations: 0 / 465.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.965e-05/0.004252, allocations: 36.3 kB / 465.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.004262, allocations: 5.188 kB / 465.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.004267, allocations: 1.906 kB / 465.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.004278, allocations: 3.781 kB / 465.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.00433, allocations: 13.84 kB / 465.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.004332, allocations: 1.219 kB / 465.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.004346, allocations: 3.328 kB / 465.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.00435, allocations: 1.156 kB / 465.5 MB, free: 14.37 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 (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 5.032e-05/0.0044, allocations: 110.4 kB / 465.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.004412, allocations: 5.312 kB / 465.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.004471, allocations: 47.41 kB / 465.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-07/0.004471, allocations: 0 / 465.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.004473, allocations: 6.625 kB / 465.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.004476, allocations: 0 / 465.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.477e-05/0.004551, allocations: 65.69 kB / 465.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004551, allocations: 2.312 kB / 465.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.004569, allocations: 7.234 kB / 465.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004569, allocations: 0.6562 kB / 465.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.004573, allocations: 2.469 kB / 465.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004574, allocations: 3.938 kB / 465.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004575, allocations: 0.7031 kB / 465.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.155e-05/0.004646, allocations: 183.8 kB / 465.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-06/0.004653, allocations: 6.938 kB / 465.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-06/0.004659, allocations: 1.781 kB / 466 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.004687, allocations: 9.156 kB / 466 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.004708, allocations: 1.781 kB / 466 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.00471, allocations: 1.094 kB / 466 MB, free: 13.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.176e-05/0.004722, allocations: 17 kB / 466 MB, free: 13.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004722, allocations: 0 / 466 MB, free: 13.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.004843, allocations: 12.12 kB / 466 MB, free: 13.92 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 8.945e-05/0.004932, allocations: 81.69 kB / 466.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.595e-05/0.004978, allocations: 21.34 kB / 466.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.00498, allocations: 1.844 kB / 466.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.004993, allocations: 10.33 kB / 466.1 MB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.00511, allocations: 3.812 kB / 466.1 MB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.005294, allocations: 114.1 kB / 466.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.797e-05/0.005322, allocations: 53.95 kB / 466.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.329e-05/0.005336, allocations: 2.562 kB / 466.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.005368, allocations: 50.84 kB / 466.3 MB, free: 13.6 MB / 426.7 MB Notification: Performance of SimCode: time 4.1e-07/0.005369, allocations: 1.25 kB / 466.3 MB, free: 13.6 MB / 426.7 MB Notification: Performance of Templates: time 0.001959/0.007327, allocations: 0.5868 MB / 466.9 MB, free: 13.54 MB / 426.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.5663563911803067]