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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 191.3 kB / 16.67 MB, free: 6.539 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002598/0.002598, allocations: 282.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.117/1.117, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 100.1 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1785, allocations: 86.97 MB / 0.7659 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001626/0.1802, allocations: 0.5752 MB / 0.7665 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002294/0.1804, allocations: 39.88 kB / 0.7665 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1804, allocations: 0 / 0.7665 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1805, allocations: 0 / 0.7665 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.1805, allocations: 4 kB / 0.7665 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1807, allocations: 19.91 kB / 0.7666 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.203e-05/0.1808, allocations: 0 / 0.7666 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.1809, allocations: 7.984 kB / 0.7666 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.1809, allocations: 7.938 kB / 0.7666 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.1809, allocations: 0 / 0.7666 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.1809, allocations: 0 / 0.7666 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.181, allocations: 15.98 kB / 0.7666 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.827e-06/0.1811, allocations: 0 / 0.7666 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.1811, allocations: 0 / 0.7666 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.879e-05/0.1812, allocations: 23.91 kB / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1812, allocations: 0 / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1812, allocations: 0 / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.1812, allocations: 0 / 0.7666 GB, free: 8.195 MB / 0.5606 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.0003612/0.1816, allocations: 319.8 kB / 0.7669 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1816, allocations: 12.03 kB / 0.7669 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.1817, allocations: 30.75 kB / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.1817, allocations: 0.9375 kB / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1818, allocations: 160.4 kB / 0.7671 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1818, allocations: 384 / 0.7671 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1819, allocations: 8.312 kB / 0.7671 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.438e-05/0.182, allocations: 34.25 kB / 0.7672 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.182, allocations: 3.938 kB / 0.7672 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.182, allocations: 3.984 kB / 0.7672 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.182, allocations: 0 / 0.7672 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.182, allocations: 3.938 kB / 0.7672 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1822, allocations: 153.6 kB / 0.7673 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.1822, allocations: 18.56 kB / 0.7673 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1823, allocations: 12.95 kB / 0.7673 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.1823, allocations: 0 / 0.7673 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1823, allocations: 30.56 kB / 0.7674 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1824, allocations: 0 / 0.7674 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.1825, allocations: 45.58 kB / 0.7674 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1826, allocations: 51.41 kB / 0.7675 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.409e-05/0.1826, allocations: 89.86 kB / 0.7676 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1826, allocations: 29.83 kB / 0.7676 GB, free: 7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.1827, allocations: 80.14 kB / 0.7677 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1827, allocations: 7.938 kB / 0.7677 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1827, allocations: 13.72 kB / 0.7677 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1829, allocations: 314.8 kB / 0.768 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.1829, allocations: 0 / 0.768 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-06/0.1829, allocations: 0 / 0.768 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.1829, allocations: 12.92 kB / 0.768 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1829, allocations: 0 / 0.768 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.97e-05/0.183, allocations: 45.62 kB / 0.768 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.183, allocations: 4 kB / 0.768 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.183, allocations: 3.938 kB / 0.768 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.183, allocations: 0 / 0.768 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.1831, allocations: 4 kB / 0.768 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1831, allocations: 0 / 0.768 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.1831, allocations: 0 / 0.768 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1831, allocations: 0 / 0.768 GB, free: 6.496 MB / 0.5606 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 8.007e-05/0.1832, allocations: 118.5 kB / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.1832, allocations: 0 / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/0.1833, allocations: 44.69 kB / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1833, allocations: 0 / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1834, allocations: 4 kB / 0.7682 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1834, allocations: 0 / 0.7682 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1835, allocations: 145.7 kB / 0.7683 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1835, allocations: 4.031 kB / 0.7683 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.1835, allocations: 4 kB / 0.7684 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1835, allocations: 0 / 0.7684 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1835, allocations: 15.81 kB / 0.7684 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1835, allocations: 0 / 0.7684 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1835, allocations: 0 / 0.7684 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.097e-05/0.1836, allocations: 57.12 kB / 0.7684 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1837, allocations: 81.14 kB / 0.7685 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1837, allocations: 3.938 kB / 0.7685 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.1837, allocations: 0 / 0.7685 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.1837, allocations: 0 / 0.7685 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1837, allocations: 4 kB / 0.7685 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.1838, allocations: 79.28 kB / 0.7686 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1838, allocations: 3.938 kB / 0.7686 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002555/0.184, allocations: 7.938 kB / 0.7686 GB, free: 5.836 MB / 0.5606 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.0004153/0.1845, allocations: 0.6007 MB / 0.7692 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.448e-05/0.1845, allocations: 4 kB / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1845, allocations: 0 / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.304e-05/0.1846, allocations: 11.92 kB / 0.7692 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.1847, allocations: 0 / 0.7692 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.1851, allocations: 110.8 kB / 0.7693 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1853, allocations: 0.669 MB / 0.77 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.1854, allocations: 7.984 kB / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.1854, allocations: 7.438 kB / 0.77 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1854, allocations: 0 / 0.77 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.206, allocations: 1.028 MB / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.685, allocations: 11.06 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)