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.0009839/0.0009839, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001087/0.001087, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.015/1.015, allocations: 177.2 MB / 203.8 MB, free: 5.496 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.001701/0.001701, allocations: 239.1 kB / 260.5 MB, free: 12.72 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.736/0.736, allocations: 138.4 MB / 402.2 MB, free: 0.5742 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.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.162e-06/1.162e-06, allocations: 0 / 462.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.062e-05, allocations: 3.156 kB / 462.4 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001185/0.001196, allocations: 0.6526 MB / 463.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000184/0.00138, allocations: 33.27 kB / 463.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.077e-05/0.001391, allocations: 1.094 kB / 463.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.001403, allocations: 2.781 kB / 463.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.001408, allocations: 0 / 463.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.001651, allocations: 16.97 kB / 463.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.676e-05/0.001687, allocations: 2.75 kB / 463.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.001722, allocations: 1.938 kB / 463.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.001751, allocations: 3.516 kB / 463.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.248e-05/0.001774, allocations: 0.5469 kB / 463.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.001785, allocations: 1.812 kB / 463.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.001882, allocations: 28.72 kB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.001891, allocations: 1.344 kB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.026e-05/0.001901, allocations: 0 / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.213e-05/0.001983, allocations: 21.73 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.001985, allocations: 0.6562 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.001985, allocations: 0.8438 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.001989, allocations: 0 / 463.2 MB, free: 424 kB / 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.0001675/0.002156, allocations: 213.4 kB / 463.4 MB, free: 192 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.002188, allocations: 12 kB / 463.4 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.002212, allocations: 3.438 kB / 463.4 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.796e-05/0.00225, allocations: 104.8 kB / 463.5 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.002258, allocations: 0.9375 kB / 463.5 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-06/0.002264, allocations: 1.562 kB / 463.5 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.56e-05/0.00232, allocations: 31.56 kB / 463.5 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.002327, allocations: 0.8438 kB / 463.5 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.002335, allocations: 3.25 kB / 463.5 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.002342, allocations: 5.375 kB / 463.6 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.144e-05/0.002353, allocations: 6.297 kB / 463.6 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.193e-05/0.002435, allocations: 63 kB / 463.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.002469, allocations: 16.77 kB / 463.6 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.002481, allocations: 7.781 kB / 463.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.002504, allocations: 2.375 kB / 463.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.002524, allocations: 32.97 kB / 463.7 MB, free: 15.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.002524, allocations: 0.9688 kB / 463.7 MB, free: 15.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.468e-05/0.002599, allocations: 35.89 kB / 463.7 MB, free: 15.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.002624, allocations: 51.97 kB / 463.8 MB, free: 15.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.609e-05/0.00265, allocations: 95.83 kB / 463.9 MB, free: 15.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.002658, allocations: 27.84 kB / 463.9 MB, free: 15.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.825e-05/0.002676, allocations: 81.45 kB / 464 MB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.0027, allocations: 3.438 kB / 464 MB, free: 15.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.002719, allocations: 14.11 kB / 464 MB, free: 15.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.002789, allocations: 320.6 kB / 464.3 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-06/0.002795, allocations: 3.094 kB / 464.3 MB, free: 15.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.0028, allocations: 1.828 kB / 464.3 MB, free: 15.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.002823, allocations: 12.7 kB / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.002825, allocations: 0 / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.249e-05/0.002857, allocations: 34.88 kB / 464.3 MB, free: 15.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.002867, allocations: 4.375 kB / 464.4 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.002871, allocations: 1.375 kB / 464.4 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.002882, allocations: 0 / 464.4 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.002929, allocations: 4.062 kB / 464.4 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.002934, allocations: 5.984 kB / 464.4 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-06/0.002941, allocations: 0 / 464.4 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.002953, allocations: 1.875 kB / 464.4 MB, free: 15.19 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 (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.967e-05/0.003003, allocations: 113.8 kB / 464.5 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-06/0.003007, allocations: 1.719 kB / 464.5 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.003071, allocations: 39.27 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.003073, allocations: 3.078 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.003075, allocations: 0.5 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.003077, allocations: 1.547 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.791e-05/0.003125, allocations: 65.47 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.003126, allocations: 1.406 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.003136, allocations: 7.797 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.003138, allocations: 0 / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.003142, allocations: 3.266 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.003144, allocations: 0.5625 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.003144, allocations: 0.875 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.422e-05/0.003188, allocations: 59.48 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.003194, allocations: 6.531 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.0032, allocations: 1.375 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-06/0.003204, allocations: 2.344 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.003215, allocations: 1.766 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.003218, allocations: 1.922 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.563e-06/0.003225, allocations: 8.844 kB / 464.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003225, allocations: 1.578 kB / 464.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001034/0.003328, allocations: 4.094 kB / 464.7 MB, free: 14.87 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 (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 0.0001007/0.003429, allocations: 84.02 kB / 464.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.858e-05/0.003478, allocations: 10.03 kB / 464.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.003479, allocations: 1.188 kB / 464.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-06/0.003487, allocations: 9.297 kB / 464.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.163e-05/0.003538, allocations: 7.75 kB / 464.8 MB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001321/0.00367, allocations: 83.64 kB / 464.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.255e-05/0.003693, allocations: 53 kB / 464.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.634e-05/0.003709, allocations: 2.531 kB / 464.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.003738, allocations: 51.14 kB / 465 MB, free: 14.57 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.003738, allocations: 1.562 kB / 465 MB, free: 14.57 MB / 426.7 MB Notification: Performance of Templates: time 0.001606/0.005344, allocations: 351.1 kB / 465.3 MB, free: 14.53 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.463145893998444]