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.001496/0.001496, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001678/0.001678, allocations: 217.6 kB / 22.99 MB, free: 4.965 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002428/0.002428, allocations: 290.8 kB / 313.5 MB, free: 2.621 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.18/1.18, allocations: 180.6 MB / 0.5377 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.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: 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.002913/0.002913, allocations: 111.3 kB / 0.7407 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1663, allocations: 95.38 MB / 0.8339 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002814/0.1691, allocations: 1.464 MB / 0.8353 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000349/0.1694, allocations: 92.58 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.1695, allocations: 4 kB / 0.8354 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.224e-05/0.1695, allocations: 3.938 kB / 0.8354 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.502e-05/0.1696, allocations: 0 / 0.8354 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1699, allocations: 19.92 kB / 0.8354 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.1699, allocations: 27.92 kB / 0.8354 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.17, allocations: 4 kB / 0.8354 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.17, allocations: 11.92 kB / 0.8355 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.1701, allocations: 7.938 kB / 0.8355 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1701, allocations: 4 kB / 0.8355 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.1702, allocations: 19.97 kB / 0.8355 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.1702, allocations: 7.984 kB / 0.8355 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1702, allocations: 15.86 kB / 0.8355 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1704, allocations: 39.83 kB / 0.8355 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1704, allocations: 0 / 0.8355 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1704, allocations: 4 kB / 0.8355 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1704, allocations: 0 / 0.8355 GB, free: 6.094 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004796/0.1709, allocations: 270.2 kB / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1709, allocations: 13.34 kB / 0.8358 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.1709, allocations: 0.9375 kB / 0.8358 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.171, allocations: 118.4 kB / 0.8359 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.171, allocations: 384 / 0.8359 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1711, allocations: 384 / 0.8359 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1712, allocations: 50.23 kB / 0.836 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1712, allocations: 4.188 kB / 0.836 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1713, allocations: 7.938 kB / 0.836 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1713, allocations: 0 / 0.836 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1714, allocations: 35.95 kB / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1718, allocations: 196.6 kB / 0.8362 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1719, allocations: 42.5 kB / 0.8363 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.172, allocations: 28.89 kB / 0.8363 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.172, allocations: 7.938 kB / 0.8363 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.172, allocations: 34.56 kB / 0.8363 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.172, allocations: 0 / 0.8363 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.1724, allocations: 85.58 kB / 0.8364 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1724, allocations: 55.41 kB / 0.8365 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.1725, allocations: 109.8 kB / 0.8366 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1725, allocations: 25.7 kB / 0.8366 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.1726, allocations: 84.27 kB / 0.8367 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1726, allocations: 15.89 kB / 0.8367 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.1726, allocations: 9.719 kB / 0.8367 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1728, allocations: 322.8 kB / 0.837 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.1729, allocations: 11.98 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.1729, allocations: 23.92 kB / 0.837 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1731, allocations: 40.81 kB / 0.8371 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1731, allocations: 4.062 kB / 0.8371 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.1733, allocations: 81.48 kB / 0.8372 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1733, allocations: 4 kB / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1733, allocations: 0 / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1733, allocations: 0 / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.1734, allocations: 11.98 kB / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1734, allocations: 0 / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1735, allocations: 4 kB / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1735, allocations: 8.031 kB / 0.8372 GB, free: 4.246 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 (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 0.0001137/0.1736, allocations: 114.4 kB / 0.8373 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1736, allocations: 7.922 kB / 0.8373 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.1738, allocations: 77.28 kB / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1738, allocations: 0 / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1738, allocations: 0 / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1738, allocations: 7.922 kB / 0.8374 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.174, allocations: 113.3 kB / 0.8375 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.174, allocations: 4.031 kB / 0.8375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.174, allocations: 7.984 kB / 0.8375 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.174, allocations: 3.938 kB / 0.8375 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1741, allocations: 0 / 0.8375 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1741, allocations: 4 kB / 0.8375 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1741, allocations: 0 / 0.8375 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1743, allocations: 163.5 kB / 0.8377 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.1743, allocations: 7.891 kB / 0.8377 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1743, allocations: 4.031 kB / 0.8377 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.1744, allocations: 7.984 kB / 0.8377 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1744, allocations: 0 / 0.8377 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1744, allocations: 4.25 kB / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.1745, allocations: 91.27 kB / 0.8378 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1745, allocations: 0 / 0.8378 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002207/0.1747, allocations: 8 kB / 0.8378 GB, free: 3.566 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 (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 0.0001472/0.1749, allocations: 99.19 kB / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.1751, allocations: 43.95 kB / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1751, allocations: 3.938 kB / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1752, allocations: 19.98 kB / 0.8379 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1755, allocations: 11.47 kB / 0.838 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.1758, allocations: 152.9 kB / 0.8381 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.1759, allocations: 67.28 kB / 0.8382 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.1759, allocations: 11.56 kB / 0.8382 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1759, allocations: 0 / 0.8382 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of Templates: time 0.002187/0.1781, allocations: 0.672 MB / 0.8388 GB, free: 2.441 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.098571319133043] Failed to read output from testmodel.py, exit status != 0: 0.18520744610577822 0.20019525400000002 0.026854118000000003 Calling exit ...