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.002045/0.002045, 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.002399/0.002399, allocations: 212.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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.777 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.002681/0.002681, allocations: 289.7 kB / 312.7 MB, free: 2.582 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.24/1.24, 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.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.00299/0.00299, allocations: 101 kB / 0.74 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1651, allocations: 95.37 MB / 0.8331 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002499/0.1676, allocations: 1.474 MB / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.1679, allocations: 84.61 kB / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.1679, allocations: 0 / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.652e-05/0.168, allocations: 7.984 kB / 0.8347 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.1681, allocations: 7.938 kB / 0.8347 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1684, allocations: 19.92 kB / 0.8347 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.1684, allocations: 19.98 kB / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1685, allocations: 15.86 kB / 0.8347 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.1686, allocations: 7.984 kB / 0.8347 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.1686, allocations: 11.94 kB / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1686, allocations: 4 kB / 0.8347 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1687, allocations: 19.97 kB / 0.8348 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.1688, allocations: 4 kB / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.1688, allocations: 11.92 kB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1689, allocations: 47.81 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1689, allocations: 0 / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1689, allocations: 0 / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.169, allocations: 0 / 0.8348 GB, free: 6.07 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.00044/0.1694, allocations: 270.2 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1694, allocations: 9.938 kB / 0.8351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.1695, allocations: 4.938 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1696, allocations: 110.5 kB / 0.8352 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1696, allocations: 384 / 0.8352 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1696, allocations: 8.312 kB / 0.8352 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1697, allocations: 50.23 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1698, allocations: 192 / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1698, allocations: 11.94 kB / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1698, allocations: 4 kB / 0.8353 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1699, allocations: 35.95 kB / 0.8353 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.1702, allocations: 196.6 kB / 0.8355 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1704, allocations: 46.44 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.1704, allocations: 28.91 kB / 0.8356 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1705, allocations: 7.922 kB / 0.8356 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1705, allocations: 30.56 kB / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1705, allocations: 4 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.1708, allocations: 81.64 kB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1709, allocations: 55.41 kB / 0.8357 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.171, allocations: 113.9 kB / 0.8358 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.171, allocations: 25.7 kB / 0.8359 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.171, allocations: 80.14 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.171, allocations: 11.89 kB / 0.836 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1711, allocations: 13.72 kB / 0.836 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1712, allocations: 318.8 kB / 0.8363 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.1713, allocations: 19.98 kB / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.1714, allocations: 19.98 kB / 0.8363 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1715, allocations: 44.88 kB / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1715, allocations: 0 / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002131/0.1717, allocations: 81.53 kB / 0.8364 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1717, allocations: 4 kB / 0.8364 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1718, allocations: 0 / 0.8364 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1718, allocations: 3.938 kB / 0.8364 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.1718, allocations: 8 kB / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1718, allocations: 8.016 kB / 0.8364 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1719, allocations: 4 kB / 0.8365 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.1719, allocations: 0 / 0.8365 GB, free: 4.219 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 8.341e-05/0.172, allocations: 114.5 kB / 0.8366 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.172, allocations: 3.938 kB / 0.8366 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1722, allocations: 77.27 kB / 0.8366 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1722, allocations: 4 kB / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1722, allocations: 4.031 kB / 0.8366 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1722, allocations: 0 / 0.8366 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.1724, allocations: 105.3 kB / 0.8367 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1724, allocations: 4 kB / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.1724, allocations: 11.92 kB / 0.8368 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1724, allocations: 3.938 kB / 0.8368 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1724, allocations: 0 / 0.8368 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1724, allocations: 0 / 0.8368 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1724, allocations: 4.25 kB / 0.8368 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1727, allocations: 163.5 kB / 0.8369 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.1727, allocations: 11.89 kB / 0.8369 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1727, allocations: 4 kB / 0.8369 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.1728, allocations: 7.984 kB / 0.837 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1728, allocations: 3.938 kB / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1728, allocations: 4 kB / 0.837 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.1729, allocations: 87.27 kB / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1729, allocations: 0 / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002236/0.1731, allocations: 8 kB / 0.837 GB, free: 3.543 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.0001353/0.1732, allocations: 103.2 kB / 0.8371 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.1734, allocations: 43.89 kB / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1735, allocations: 0 / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.1735, allocations: 19.98 kB / 0.8372 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.1738, allocations: 9.312 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.1741, allocations: 119.2 kB / 0.8373 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.738e-05/0.1741, allocations: 71.47 kB / 0.8374 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.1741, allocations: 3.984 kB / 0.8374 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.1742, allocations: 7.438 kB / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1742, allocations: 0 / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of Templates: time 0.002977/0.1771, allocations: 0.5823 MB / 0.838 GB, free: 2.547 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: 6.087027048692107] Failed to read output from testmodel.py, exit status != 0: 0.18418382294476032 0.19926006000000002 0.027112554 Calling exit ...