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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00121/0.00121, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 290.2 kB / 290.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 96.11 kB / 0.5947 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.18, allocations: 86.98 MB / 0.6796 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001719/0.1818, allocations: 0.6313 MB / 0.6803 GB, free: 408 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.182, allocations: 36.41 kB / 0.6803 GB, free: 372 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-06/0.182, allocations: 10.62 kB / 0.6803 GB, free: 364 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.1821, allocations: 0 / 0.6803 GB, free: 364 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.1821, allocations: 0 / 0.6803 GB, free: 364 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1823, allocations: 15.94 kB / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.427e-05/0.1824, allocations: 3.984 kB / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1824, allocations: 0 / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.1824, allocations: 3.984 kB / 0.6803 GB, free: 340 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.997e-05/0.1825, allocations: 5.781 kB / 0.6803 GB, free: 336 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.1825, allocations: 0 / 0.6803 GB, free: 336 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.1826, allocations: 15.98 kB / 0.6803 GB, free: 320 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-06/0.1826, allocations: 0 / 0.6803 GB, free: 320 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.1826, allocations: 0 / 0.6803 GB, free: 320 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.071e-05/0.1827, allocations: 21.69 kB / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1827, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1827, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1827, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB 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.0003006/0.183, allocations: 312.5 kB / 0.6807 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1831, allocations: 8.031 kB / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.1831, allocations: 1.656 kB / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.1832, allocations: 172.3 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1832, allocations: 5.719 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1832, allocations: 4.375 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.1833, allocations: 30.92 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1833, allocations: 4.172 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1833, allocations: 8.562 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1833, allocations: 0 / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.1834, allocations: 4 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.1835, allocations: 145.7 kB / 0.681 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.587e-05/0.1835, allocations: 26.55 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.1836, allocations: 8.859 kB / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1836, allocations: 4.062 kB / 0.6811 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.1836, allocations: 30.56 kB / 0.6811 GB, free: 15.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1836, allocations: 4 kB / 0.6811 GB, free: 15.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.1837, allocations: 33.64 kB / 0.6811 GB, free: 15.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1838, allocations: 51.41 kB / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.928e-05/0.1838, allocations: 97.84 kB / 0.6813 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1838, allocations: 25.7 kB / 0.6813 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.1839, allocations: 84.08 kB / 0.6814 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1839, allocations: 3.984 kB / 0.6814 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.1839, allocations: 13.72 kB / 0.6814 GB, free: 15.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.184, allocations: 319 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.1841, allocations: 0 / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.1841, allocations: 3.938 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.1841, allocations: 8.859 kB / 0.6817 GB, free: 14.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1841, allocations: 0 / 0.6817 GB, free: 14.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.18e-05/0.1842, allocations: 37.69 kB / 0.6817 GB, free: 14.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1842, allocations: 10.19 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1842, allocations: 0 / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1842, allocations: 8.031 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.1842, allocations: 3.938 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1843, allocations: 4 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.1843, allocations: 288 / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1843, allocations: 0 / 0.6818 GB, free: 14.63 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 (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 6.76e-05/0.1844, allocations: 107.2 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1844, allocations: 0 / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/0.1845, allocations: 52.69 kB / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1845, allocations: 3.938 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1845, allocations: 0 / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1845, allocations: 0 / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.747e-05/0.1846, allocations: 153.7 kB / 0.6821 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1846, allocations: 0 / 0.6821 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.1846, allocations: 0 / 0.6821 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1846, allocations: 0 / 0.6821 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1846, allocations: 3.938 kB / 0.6821 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1846, allocations: 4 kB / 0.6821 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1846, allocations: 7.969 kB / 0.6821 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.052e-05/0.1847, allocations: 57.12 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.1847, allocations: 81.02 kB / 0.6822 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1848, allocations: 11.94 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.1848, allocations: 0 / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-06/0.1848, allocations: 0 / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-06/0.1848, allocations: 0 / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.205e-05/0.1848, allocations: 79.31 kB / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1848, allocations: 0 / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001769/0.185, allocations: 8 kB / 0.6823 GB, free: 13.97 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 (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.000153/0.1852, allocations: 103.2 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.1852, allocations: 7.938 kB / 0.6824 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1852, allocations: 0 / 0.6824 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.1853, allocations: 4 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1854, allocations: 128 / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001572/0.1856, allocations: 81.08 kB / 0.6825 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1858, allocations: 0.6768 MB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.46e-05/0.1858, allocations: 0 / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.1859, allocations: 11.38 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1859, allocations: 4 kB / 0.6832 GB, free: 13.02 MB / 494.1 MB Notification: Performance of Templates: time 0.00211/0.188, allocations: 288.7 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)