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.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.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001549/0.001549, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 282.8 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9188/0.9188, allocations: 169.3 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 91.72 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1808, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002654/0.1835, allocations: 1.487 MB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.1839, allocations: 92.64 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1839, allocations: 0 / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.907e-05/0.184, allocations: 7.922 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1841, allocations: 0 / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.1843, allocations: 13.52 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.1843, allocations: 27.88 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.1844, allocations: 12.55 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.1845, allocations: 8 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.1845, allocations: 9.641 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1845, allocations: 4 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.1846, allocations: 19.92 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.1847, allocations: 7.984 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.1847, allocations: 15.92 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1848, allocations: 29.06 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1848, allocations: 7.984 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1848, allocations: 0.7188 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1848, allocations: 0 / 0.6812 GB, free: 15.35 MB / 494.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.0004865/0.1853, allocations: 344.9 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1854, allocations: 8.031 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.1854, allocations: 31.31 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1855, allocations: 0.9375 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1856, allocations: 168.9 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1856, allocations: 8.375 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.1856, allocations: 384 / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1858, allocations: 58.22 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1858, allocations: 7.875 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1858, allocations: 0 / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1859, allocations: 0 / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.186, allocations: 35.95 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.1863, allocations: 253 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1865, allocations: 42.5 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.1866, allocations: 28.89 kB / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1866, allocations: 0 / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1866, allocations: 46.5 kB / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.1866, allocations: 0 / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.187, allocations: 89.58 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.187, allocations: 51.41 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.1871, allocations: 105.8 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1871, allocations: 25.7 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.1872, allocations: 96.19 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1872, allocations: 7.906 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1872, allocations: 13.72 kB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1873, allocations: 314.8 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.1874, allocations: 19.98 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.1875, allocations: 19.92 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1877, allocations: 44.88 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1877, allocations: 3.938 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001829/0.1879, allocations: 73.66 kB / 0.6831 GB, free: 13.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1879, allocations: 7.938 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1879, allocations: 0 / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1879, allocations: 0 / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.188, allocations: 12.02 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.188, allocations: 4 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.1881, allocations: 7.906 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1881, allocations: 0 / 0.6831 GB, free: 13.23 MB / 494.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 0.0001146/0.1882, allocations: 122.4 kB / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.1882, allocations: 0 / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1884, allocations: 77.19 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1885, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1885, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1885, allocations: 4 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1886, allocations: 161.6 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1886, allocations: 0 / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.1887, allocations: 11.98 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1887, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1887, allocations: 4 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1887, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1887, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1889, allocations: 171.4 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.189, allocations: 81.02 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.189, allocations: 0 / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.1891, allocations: 16.17 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1891, allocations: 4 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1891, allocations: 8.031 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.1892, allocations: 83.27 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1892, allocations: 0 / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1894, allocations: 16 kB / 0.6838 GB, free: 12.38 MB / 494.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.0004968/0.1899, allocations: 0.7046 MB / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1901, allocations: 39.95 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1902, allocations: 0 / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.1902, allocations: 19.98 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1905, allocations: 4 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1909, allocations: 149.1 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1912, allocations: 0.6809 MB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.1912, allocations: 3.938 kB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.1913, allocations: 11.44 kB / 0.6854 GB, free: 10.68 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1913, allocations: 3.938 kB / 0.6854 GB, free: 10.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.2018, allocations: 1.237 MB / 0.6866 GB, free: 9.539 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.202, allocations: 206.3 kB / 0.6868 GB, free: 9.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.766, allocations: 4.062 kB / 0.6868 GB, free: 9.281 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)