Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001148/0.001148, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001052/0.001052, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1802, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.001668/0.1819, allocations: 1.147 MB / 0.5987 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002797/0.1822, allocations: 96.56 kB / 0.5988 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.1823, allocations: 4 kB / 0.5988 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.1823, allocations: 0 / 0.5988 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.1824, allocations: 7.938 kB / 0.5988 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1826, allocations: 11.98 kB / 0.5988 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.1826, allocations: 23.92 kB / 0.5988 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.1827, allocations: 4 kB / 0.5988 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.1828, allocations: 7.984 kB / 0.5988 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.63e-05/0.1828, allocations: 11.94 kB / 0.5988 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1828, allocations: 0 / 0.5988 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.991e-05/0.1829, allocations: 15.97 kB / 0.5988 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.1829, allocations: 11.92 kB / 0.5988 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.183, allocations: 33.7 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/0.1831, allocations: 23.95 kB / 0.5989 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1831, allocations: 0 / 0.5989 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1831, allocations: 0 / 0.5989 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.1831, allocations: 0 / 0.5989 GB, free: 6.277 MB / 0.4981 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.0004704/0.1836, allocations: 347.5 kB / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1836, allocations: 8.031 kB / 0.5992 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1837, allocations: 34.56 kB / 0.5993 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.1837, allocations: 4 kB / 0.5993 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1839, allocations: 167 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.1839, allocations: 0 / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1839, allocations: 0 / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1841, allocations: 61.61 kB / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1841, allocations: 0 / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.1842, allocations: 0 / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1842, allocations: 4 kB / 0.5995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1843, allocations: 51.89 kB / 0.5996 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.1847, allocations: 260.8 kB / 0.5998 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1848, allocations: 50.5 kB / 0.5998 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.1849, allocations: 28.89 kB / 0.5999 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1849, allocations: 4 kB / 0.5999 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.185, allocations: 38.56 kB / 0.5999 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.185, allocations: 0 / 0.5999 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003189/0.1853, allocations: 101.7 kB / 0.6 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.1853, allocations: 51.41 kB / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.1854, allocations: 109.8 kB / 0.6002 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1854, allocations: 29.7 kB / 0.6002 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1855, allocations: 80.14 kB / 0.6003 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1855, allocations: 15.78 kB / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.1855, allocations: 0 / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1857, allocations: 318.8 kB / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.1857, allocations: 28.02 kB / 0.6006 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.1858, allocations: 19.98 kB / 0.6006 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.1859, allocations: 27.97 kB / 0.6007 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1859, allocations: 4.062 kB / 0.6007 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.1861, allocations: 73.67 kB / 0.6007 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1861, allocations: 4 kB / 0.6007 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1861, allocations: 0 / 0.6007 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1862, allocations: 7.984 kB / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.1862, allocations: 12.03 kB / 0.6008 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1863, allocations: 256 / 0.6008 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.1863, allocations: 11.94 kB / 0.6008 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1863, allocations: 8 kB / 0.6008 GB, free: 4.129 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.1864, allocations: 113.8 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1864, allocations: 7.906 kB / 0.6009 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.1867, allocations: 89.17 kB / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1867, allocations: 0 / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1867, allocations: 0 / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1867, allocations: 4 kB / 0.601 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1869, allocations: 157.6 kB / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1869, allocations: 4.031 kB / 0.6011 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.1869, allocations: 11.98 kB / 0.6011 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1869, allocations: 7.938 kB / 0.6012 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.187, allocations: 0 / 0.6012 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.187, allocations: 0 / 0.6012 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.187, allocations: 0 / 0.6012 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1872, allocations: 183.4 kB / 0.6013 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1873, allocations: 81.09 kB / 0.6014 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1873, allocations: 7.984 kB / 0.6014 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.1874, allocations: 4 kB / 0.6014 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1874, allocations: 3.984 kB / 0.6014 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1874, allocations: 8.031 kB / 0.6014 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.1875, allocations: 83.28 kB / 0.6015 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1875, allocations: 0 / 0.6015 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002135/0.1877, allocations: 8 kB / 0.6015 GB, free: 3.266 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005856/0.1883, allocations: 0.724 MB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.1886, allocations: 48 kB / 0.6023 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1886, allocations: 0 / 0.6023 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.1887, allocations: 31.97 kB / 0.6023 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.189, allocations: 3.938 kB / 0.6023 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.1894, allocations: 150.5 kB / 0.6024 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1897, allocations: 0.677 MB / 0.6031 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.1897, allocations: 3.938 kB / 0.6031 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1898, allocations: 15.42 kB / 0.6031 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1898, allocations: 0 / 0.6031 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.2011, allocations: 1.177 MB / 0.6043 GB, free: 492 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.2013, allocations: 190.3 kB / 0.6045 GB, free: 244 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/1.895, allocations: 0 / 0.6045 GB, free: 244 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: