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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.002272/0.002272, allocations: 285.1 kB / 303.6 MB, free: 3.695 MB / 238.1 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.9962/0.9962, allocations: 180.9 MB / 0.5268 GB, free: 2.684 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002728/0.002728, allocations: 104.2 kB / 0.726 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4947, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001462/0.4961, allocations: 0.5883 MB / 0.8185 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002065/0.4963, allocations: 34.45 kB / 0.8185 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.4964, allocations: 0 / 0.8185 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.4964, allocations: 1 kB / 0.8185 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.4964, allocations: 0 / 0.8185 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.4966, allocations: 13.5 kB / 0.8185 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.938e-05/0.4967, allocations: 1.031 kB / 0.8185 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.4967, allocations: 2 kB / 0.8185 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.127e-05/0.4967, allocations: 0 / 0.8185 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.4968, allocations: 8.953 kB / 0.8185 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.4968, allocations: 4.844 kB / 0.8185 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.4968, allocations: 22.72 kB / 0.8186 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.4969, allocations: 3.938 kB / 0.8186 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.4969, allocations: 1 kB / 0.8186 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.026e-05/0.4969, allocations: 21.17 kB / 0.8186 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.497, allocations: 0 / 0.8186 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.497, allocations: 0 / 0.8186 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.497, allocations: 0.9688 kB / 0.8186 GB, free: 7.023 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.0002151/0.4972, allocations: 311.7 kB / 0.8189 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.4972, allocations: 9.5 kB / 0.8189 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.4972, allocations: 0.9375 kB / 0.8189 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.979e-05/0.4973, allocations: 163.7 kB / 0.8191 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.4973, allocations: 1.531 kB / 0.8191 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4973, allocations: 384 / 0.8191 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.975e-05/0.4974, allocations: 36.73 kB / 0.8191 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4974, allocations: 4.125 kB / 0.8191 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.4974, allocations: 4.781 kB / 0.8191 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.4974, allocations: 3.984 kB / 0.8191 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.4974, allocations: 9.25 kB / 0.8191 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.502e-05/0.4975, allocations: 142.7 kB / 0.8193 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.927e-05/0.4975, allocations: 16.58 kB / 0.8193 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.4975, allocations: 9.891 kB / 0.8193 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4976, allocations: 2.031 kB / 0.8193 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.4976, allocations: 38.95 kB / 0.8193 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4976, allocations: 4 kB / 0.8193 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.4977, allocations: 35.8 kB / 0.8194 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.4977, allocations: 51.41 kB / 0.8194 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.314e-05/0.4977, allocations: 89.86 kB / 0.8195 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.4977, allocations: 27.17 kB / 0.8195 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.897e-06/0.4977, allocations: 84.08 kB / 0.8196 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.4978, allocations: 7.609 kB / 0.8196 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.4978, allocations: 19.08 kB / 0.8196 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.4978, allocations: 316 kB / 0.8199 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.4978, allocations: 1 kB / 0.8199 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.4978, allocations: 1.344 kB / 0.8199 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.143e-05/0.4979, allocations: 11.17 kB / 0.8199 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4979, allocations: 1 kB / 0.8199 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.16e-05/0.4979, allocations: 38.44 kB / 0.82 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.4979, allocations: 5.594 kB / 0.82 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4979, allocations: 0 / 0.82 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4979, allocations: 9.156 kB / 0.82 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.498, allocations: 1.844 kB / 0.82 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.498, allocations: 0 / 0.82 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.498, allocations: 1.25 kB / 0.82 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.498, allocations: 1.375 kB / 0.82 GB, free: 5.445 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 3.327e-05/0.498, allocations: 106.7 kB / 0.8201 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-06/0.498, allocations: 0 / 0.8201 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.4981, allocations: 54.06 kB / 0.8201 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.4981, allocations: 1.219 kB / 0.8201 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.4981, allocations: 0 / 0.8201 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.4981, allocations: 0 / 0.8201 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.023e-05/0.4982, allocations: 146 kB / 0.8203 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.4982, allocations: 1.031 kB / 0.8203 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.4982, allocations: 5.969 kB / 0.8203 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.4982, allocations: 0 / 0.8203 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4982, allocations: 5.312 kB / 0.8203 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4982, allocations: 0 / 0.8203 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4982, allocations: 11.2 kB / 0.8203 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.898e-05/0.4982, allocations: 60.11 kB / 0.8204 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.4983, allocations: 78.02 kB / 0.8204 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.4983, allocations: 7.172 kB / 0.8204 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.4983, allocations: 0.8438 kB / 0.8204 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.4983, allocations: 1.281 kB / 0.8204 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.4983, allocations: 1.344 kB / 0.8204 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.728e-06/0.4983, allocations: 79.31 kB / 0.8205 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.4983, allocations: 3.938 kB / 0.8205 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002118/0.4985, allocations: 4.656 kB / 0.8205 GB, free: 4.832 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.0001122/0.4986, allocations: 104.6 kB / 0.8206 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.716e-05/0.4987, allocations: 7.156 kB / 0.8206 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4987, allocations: 0 / 0.8206 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.406e-06/0.4987, allocations: 7.031 kB / 0.8206 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.4988, allocations: 5.125 kB / 0.8206 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/0.499, allocations: 108.1 kB / 0.8208 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.428e-05/0.4991, allocations: 0.6717 MB / 0.8214 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.4991, allocations: 9.188 kB / 0.8214 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.4991, allocations: 0 / 0.8214 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of Templates: time 0.001686/0.5008, allocations: 459 kB / 0.8219 GB, free: 3.867 MB / 0.5762 GB " [Timeout remaining time 659] 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: 8.000351207097992] Failed to read output from testmodel.py, exit status != 0: 0.5079373591579497 0.517643721 0.018170922000000003 Calling exit ...