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.001708/0.001708, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002345/0.002345, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.002646/0.002646, allocations: 289.5 kB / 312.7 MB, free: 2.602 MB / 238.1 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 1.275/1.275, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 105 kB / 0.74 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1947, allocations: 95.37 MB / 0.8332 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001788/0.1965, allocations: 0.5983 MB / 0.8337 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000264/0.1967, allocations: 35.89 kB / 0.8338 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.092e-05/0.1967, allocations: 0 / 0.8338 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.1968, allocations: 0 / 0.8338 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.1968, allocations: 0 / 0.8338 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1971, allocations: 19.97 kB / 0.8338 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.1971, allocations: 0 / 0.8338 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.1972, allocations: 4 kB / 0.8338 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.1972, allocations: 3.938 kB / 0.8338 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.1972, allocations: 4 kB / 0.8338 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1972, allocations: 0 / 0.8338 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.1973, allocations: 19.97 kB / 0.8338 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.275e-06/0.1973, allocations: 0 / 0.8338 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.1974, allocations: 0 / 0.8338 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.697e-05/0.1975, allocations: 15.97 kB / 0.8338 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1975, allocations: 0 / 0.8338 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1975, allocations: 4 kB / 0.8339 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.1975, allocations: 3.938 kB / 0.8339 GB, free: 7.09 MB / 0.5762 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.0003105/0.1978, allocations: 246.8 kB / 0.8341 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1978, allocations: 9.344 kB / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.1978, allocations: 0.9375 kB / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.1979, allocations: 106.5 kB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1979, allocations: 384 / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1979, allocations: 384 / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1981, allocations: 38.19 kB / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1981, allocations: 192 / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1981, allocations: 7.938 kB / 0.8342 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1981, allocations: 0 / 0.8342 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.1981, allocations: 0 / 0.8342 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1982, allocations: 105.3 kB / 0.8343 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/0.1983, allocations: 14.58 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.1983, allocations: 8.953 kB / 0.8344 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1983, allocations: 0 / 0.8344 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.1984, allocations: 42.48 kB / 0.8344 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1984, allocations: 0 / 0.8344 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.1985, allocations: 41.58 kB / 0.8345 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1985, allocations: 55.53 kB / 0.8345 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.241e-05/0.1986, allocations: 89.86 kB / 0.8346 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1986, allocations: 25.7 kB / 0.8346 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.1986, allocations: 80.14 kB / 0.8347 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1987, allocations: 4 kB / 0.8347 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.1987, allocations: 9.719 kB / 0.8347 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1988, allocations: 314.8 kB / 0.835 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.1988, allocations: 4 kB / 0.835 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/0.1988, allocations: 4 kB / 0.835 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.1989, allocations: 12.86 kB / 0.835 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1989, allocations: 4 kB / 0.835 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.665e-05/0.1989, allocations: 29.7 kB / 0.8351 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1989, allocations: 8 kB / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1989, allocations: 0 / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1989, allocations: 0 / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.199, allocations: 7.922 kB / 0.8351 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.199, allocations: 3.938 kB / 0.8351 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.199, allocations: 8 kB / 0.8351 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.199, allocations: 0 / 0.8351 GB, free: 5.66 MB / 0.5762 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 7.327e-05/0.1991, allocations: 110.5 kB / 0.8352 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.1991, allocations: 4 kB / 0.8352 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.1992, allocations: 44.62 kB / 0.8352 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1992, allocations: 3.938 kB / 0.8352 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1992, allocations: 0 / 0.8352 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1992, allocations: 0 / 0.8352 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.1993, allocations: 97.33 kB / 0.8353 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1993, allocations: 0 / 0.8353 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.1993, allocations: 4.031 kB / 0.8353 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1993, allocations: 0 / 0.8353 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1993, allocations: 4 kB / 0.8353 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1993, allocations: 3.984 kB / 0.8353 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1993, allocations: 3.938 kB / 0.8353 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.1994, allocations: 61.08 kB / 0.8354 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-06/0.1994, allocations: 0 / 0.8354 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.1994, allocations: 0 / 0.8354 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.1994, allocations: 0 / 0.8354 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1995, allocations: 11.92 kB / 0.8354 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1995, allocations: 32 / 0.8354 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.1995, allocations: 79.28 kB / 0.8355 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1995, allocations: 0 / 0.8355 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001918/0.1997, allocations: 7.938 kB / 0.8355 GB, free: 5.168 MB / 0.5762 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 0.0001365/0.1998, allocations: 107.2 kB / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.775e-05/0.1999, allocations: 8 kB / 0.8356 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.1999, allocations: 0 / 0.8356 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.1999, allocations: 3.938 kB / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.2, allocations: 5.016 kB / 0.8356 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.2002, allocations: 85.12 kB / 0.8357 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.2003, allocations: 55.36 kB / 0.8358 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.2003, allocations: 0 / 0.8358 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.2003, allocations: 11.44 kB / 0.8358 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2003, allocations: 0 / 0.8358 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.002493/0.2028, allocations: 290.2 kB / 0.836 GB, free: 4.559 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.127562014386058] Failed to read output from testmodel.py, exit status != 0: 0.2098076343536377 0.22500238399999994 0.024416807000000002 Calling exit ...