Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 99.59 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 198.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7769/0.7769, allocations: 126.1 MB / 416.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.75 kB / 0.4945 GB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1761, allocations: 78.72 MB / 0.5713 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.003015/0.1791, allocations: 1.487 MB / 0.5728 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003344/0.1795, allocations: 88.66 kB / 0.5729 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.1795, allocations: 4 kB / 0.5729 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.174e-05/0.1796, allocations: 7.875 kB / 0.5729 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.1797, allocations: 0 / 0.5729 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.18, allocations: 19.98 kB / 0.5729 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.18, allocations: 27.84 kB / 0.5729 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.1801, allocations: 8 kB / 0.5729 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.516e-05/0.1802, allocations: 7.984 kB / 0.5729 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.1803, allocations: 11.94 kB / 0.573 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1803, allocations: 4 kB / 0.573 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1804, allocations: 27.91 kB / 0.573 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1804, allocations: 4 kB / 0.573 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.1805, allocations: 11.94 kB / 0.573 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1806, allocations: 31.88 kB / 0.573 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1806, allocations: 0 / 0.573 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.1806, allocations: 4 kB / 0.573 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1806, allocations: 0 / 0.573 GB, free: 10.48 MB / 446.1 MB 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.0004438/0.1811, allocations: 343.7 kB / 0.5734 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1811, allocations: 16.03 kB / 0.5734 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1812, allocations: 8.844 kB / 0.5734 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1813, allocations: 168.4 kB / 0.5735 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1813, allocations: 384 / 0.5735 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.1813, allocations: 384 / 0.5735 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1815, allocations: 54.22 kB / 0.5736 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1815, allocations: 192 / 0.5736 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1815, allocations: 11.88 kB / 0.5736 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1816, allocations: 0 / 0.5736 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1817, allocations: 39.95 kB / 0.5736 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1821, allocations: 252.9 kB / 0.5739 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1822, allocations: 46.48 kB / 0.5739 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.1823, allocations: 24.91 kB / 0.574 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.1823, allocations: 0 / 0.574 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1824, allocations: 38.5 kB / 0.574 GB, free: 9.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1824, allocations: 0 / 0.574 GB, free: 9.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.1827, allocations: 85.55 kB / 0.5741 GB, free: 9.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1828, allocations: 55.39 kB / 0.5741 GB, free: 9.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.1829, allocations: 118 kB / 0.5742 GB, free: 9.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1829, allocations: 25.7 kB / 0.5743 GB, free: 9.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.1829, allocations: 84.12 kB / 0.5743 GB, free: 8.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.183, allocations: 3.906 kB / 0.5743 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.183, allocations: 17.72 kB / 0.5744 GB, free: 8.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1831, allocations: 310.8 kB / 0.5747 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.1832, allocations: 23.97 kB / 0.5747 GB, free: 8.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.1833, allocations: 15.98 kB / 0.5747 GB, free: 8.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1835, allocations: 52.7 kB / 0.5747 GB, free: 8.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1835, allocations: 0 / 0.5747 GB, free: 8.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.1837, allocations: 69.59 kB / 0.5748 GB, free: 8.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1837, allocations: 8 kB / 0.5748 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1837, allocations: 4.094 kB / 0.5748 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1837, allocations: 0 / 0.5748 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.1838, allocations: 7.984 kB / 0.5748 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1838, allocations: 4 kB / 0.5748 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.1839, allocations: 7.922 kB / 0.5748 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1839, allocations: 4 kB / 0.5748 GB, free: 8.387 MB / 446.1 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 (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 7.942e-05/0.184, allocations: 113.8 kB / 0.575 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.184, allocations: 4 kB / 0.575 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.1843, allocations: 77.12 kB / 0.575 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1843, allocations: 3.984 kB / 0.575 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1843, allocations: 0 / 0.575 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1843, allocations: 0 / 0.575 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.1844, allocations: 165.6 kB / 0.5752 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1845, allocations: 0 / 0.5752 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.1845, allocations: 11.98 kB / 0.5752 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1845, allocations: 0 / 0.5752 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1845, allocations: 7.969 kB / 0.5752 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1845, allocations: 0 / 0.5752 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1846, allocations: 0 / 0.5752 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1848, allocations: 175.3 kB / 0.5754 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.1848, allocations: 77.11 kB / 0.5755 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1849, allocations: 4.234 kB / 0.5755 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.1849, allocations: 12.03 kB / 0.5755 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.185, allocations: 3.984 kB / 0.5755 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.185, allocations: 4 kB / 0.5755 GB, free: 7.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.185, allocations: 83.28 kB / 0.5756 GB, free: 7.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.185, allocations: 0 / 0.5756 GB, free: 7.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1853, allocations: 8 kB / 0.5756 GB, free: 7.551 MB / 446.1 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 (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.0001411/0.1854, allocations: 95.25 kB / 0.5757 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1856, allocations: 47.95 kB / 0.5757 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1857, allocations: 0 / 0.5757 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.1857, allocations: 27.91 kB / 0.5757 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.186, allocations: 5.062 kB / 0.5757 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.1863, allocations: 125.6 kB / 0.5759 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1866, allocations: 0.6846 MB / 0.5765 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.165e-05/0.1866, allocations: 0 / 0.5765 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.1866, allocations: 11.38 kB / 0.5765 GB, free: 6.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1866, allocations: 0 / 0.5765 GB, free: 6.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002575/0.1892, allocations: 490 kB / 0.577 GB, free: 6.023 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)