Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007539/0.0007539, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001905, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008206/0.0008206, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001906, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9561/0.9561, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08891/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.894/1.894, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4857/2.379, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7449 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.343e-05, allocations: 3.906 kB / 0.7449 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001006/0.001019, allocations: 0.6498 MB / 0.7455 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 5.822e-05/0.001077, allocations: 29.31 kB / 0.7455 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-06/0.001085, allocations: 0 / 0.7455 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-06/0.001088, allocations: 0 / 0.7455 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-07/0.001089, allocations: 0 / 0.7455 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.001227, allocations: 7.984 kB / 0.7455 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.00127, allocations: 4.656 kB / 0.7455 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.964e-05/0.0013, allocations: 7.688 kB / 0.7455 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.952e-05/0.00133, allocations: 1.094 kB / 0.7456 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.186e-05/0.001351, allocations: 4 kB / 0.7456 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.001362, allocations: 0 / 0.7456 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.001433, allocations: 19.97 kB / 0.7456 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.001442, allocations: 0.6562 kB / 0.7456 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.022e-05/0.001452, allocations: 0.7656 kB / 0.7456 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.851e-05/0.001521, allocations: 12.69 kB / 0.7456 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.001532, allocations: 7.938 kB / 0.7456 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.01e-07/0.001532, allocations: 0 / 0.7456 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.001545, allocations: 2.75 kB / 0.7456 GB, free: 2.441 MB / 0.7136 GB 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.0002389/0.001784, allocations: 213.7 kB / 0.7458 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.001812, allocations: 12.03 kB / 0.7458 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.001835, allocations: 0.9375 kB / 0.7458 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.26e-05/0.001888, allocations: 101.8 kB / 0.7459 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.001895, allocations: 384 / 0.7459 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.001905, allocations: 4.375 kB / 0.7459 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.05e-05/0.001965, allocations: 36.16 kB / 0.7459 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.001971, allocations: 192 / 0.7459 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-06/0.001975, allocations: 384 / 0.7459 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.00198, allocations: 1.578 kB / 0.746 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.708e-06/0.00199, allocations: 7.938 kB / 0.746 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.528e-05/0.002045, allocations: 59.33 kB / 0.746 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.881e-05/0.002074, allocations: 18.61 kB / 0.746 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-06/0.002083, allocations: 4.859 kB / 0.746 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.00211, allocations: 0 / 0.746 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.002126, allocations: 34.62 kB / 0.7461 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.002127, allocations: 0 / 0.7461 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 6.925e-05/0.002196, allocations: 38.75 kB / 0.7461 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.002218, allocations: 51.41 kB / 0.7462 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.369e-05/0.002242, allocations: 90.86 kB / 0.7462 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.002249, allocations: 26.47 kB / 0.7463 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.002266, allocations: 80.14 kB / 0.7463 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.002291, allocations: 8.594 kB / 0.7464 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.002308, allocations: 10.44 kB / 0.7464 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.002373, allocations: 314.8 kB / 0.7467 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.002378, allocations: 5.5 kB / 0.7467 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-06/0.002382, allocations: 0 / 0.7467 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.003e-05/0.002402, allocations: 13.61 kB / 0.7467 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.002404, allocations: 1.125 kB / 0.7467 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.089e-05/0.002435, allocations: 33.64 kB / 0.7467 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.002444, allocations: 5.062 kB / 0.7467 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.002448, allocations: 0 / 0.7467 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.002457, allocations: 0 / 0.7467 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.002501, allocations: 5 kB / 0.7467 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.002504, allocations: 1.531 kB / 0.7467 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-06/0.002511, allocations: 0 / 0.7467 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.00252, allocations: 4.766 kB / 0.7467 GB, free: 1.145 MB / 0.7136 GB 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.38e-05/0.002564, allocations: 118.6 kB / 0.7468 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-06/0.002567, allocations: 0 / 0.7468 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.00265, allocations: 46.12 kB / 0.7469 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.002652, allocations: 3.984 kB / 0.7469 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.002653, allocations: 0.6562 kB / 0.7469 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.002655, allocations: 0.6875 kB / 0.7469 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.451e-05/0.0027, allocations: 69.78 kB / 0.747 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.002701, allocations: 1.719 kB / 0.747 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-06/0.002709, allocations: 0 / 0.747 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-06/0.002712, allocations: 4 kB / 0.747 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.002713, allocations: 0 / 0.747 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.002716, allocations: 0.7656 kB / 0.747 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.002716, allocations: 0.875 kB / 0.747 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.002717, allocations: 0 / 0.747 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.734e-05/0.002754, allocations: 61.62 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-06/0.00276, allocations: 3.25 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-06/0.002764, allocations: 0 / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-06/0.002771, allocations: 0 / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.00278, allocations: 4.984 kB / 0.747 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.159e-06/0.002785, allocations: 4.859 kB / 0.747 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.002785, allocations: 0 / 0.747 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 8.934e-05/0.002874, allocations: 0 / 0.747 GB, free: 0.7891 MB / 0.7136 GB 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.784e-05/0.002962, allocations: 92.28 kB / 0.7471 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.402e-05/0.003006, allocations: 12.92 kB / 0.7471 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.003008, allocations: 0 / 0.7471 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.003018, allocations: 12.86 kB / 0.7471 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.224e-05/0.00306, allocations: 9.953 kB / 0.7472 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001192/0.003179, allocations: 82.41 kB / 0.7472 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.237e-05/0.003202, allocations: 57.08 kB / 0.7473 GB, free: 484 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.003218, allocations: 4.953 kB / 0.7473 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.003246, allocations: 49.11 kB / 0.7473 GB, free: 432 kB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/0.003246, allocations: 0 / 0.7473 GB, free: 432 kB / 0.7136 GB Notification: Performance of Templates: time 0.001526/0.004773, allocations: 328.5 kB / 0.7477 GB, free: 116 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.895569744519889]