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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001338/0.001338, allocations: 107.8 kB / 16.41 MB, free: 6.469 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.00129/0.00129, allocations: 187 kB / 17.34 MB, free: 5.715 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9006/0.9006, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 64.2 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.179, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002648/0.1817, allocations: 1.446 MB / 0.6777 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.182, allocations: 100.6 kB / 0.6778 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.182, allocations: 0 / 0.6778 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.568e-05/0.1821, allocations: 0 / 0.6778 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.1821, allocations: 3.938 kB / 0.6778 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1824, allocations: 15.98 kB / 0.6778 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.1824, allocations: 23.92 kB / 0.6779 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1825, allocations: 15.92 kB / 0.6779 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.1826, allocations: 8 kB / 0.6779 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.1826, allocations: 11.92 kB / 0.6779 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1826, allocations: 4 kB / 0.6779 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.1827, allocations: 19.92 kB / 0.6779 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.1827, allocations: 8 kB / 0.6779 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.1828, allocations: 11.91 kB / 0.6779 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1829, allocations: 39.83 kB / 0.678 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1829, allocations: 0 / 0.678 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1829, allocations: 0 / 0.678 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1829, allocations: 4 kB / 0.678 GB, free: 8.637 MB / 0.5137 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.0005014/0.1834, allocations: 343.4 kB / 0.6783 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1834, allocations: 8.031 kB / 0.6783 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.1835, allocations: 8.891 kB / 0.6783 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1836, allocations: 160.4 kB / 0.6785 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1836, allocations: 4.375 kB / 0.6785 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1836, allocations: 4.375 kB / 0.6785 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1838, allocations: 58.17 kB / 0.6785 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1838, allocations: 4.188 kB / 0.6785 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1838, allocations: 3.938 kB / 0.6785 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1839, allocations: 0 / 0.6785 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.184, allocations: 39.95 kB / 0.6786 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.1844, allocations: 249 kB / 0.6788 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1845, allocations: 46.44 kB / 0.6789 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.1846, allocations: 32.83 kB / 0.6789 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.1847, allocations: 4 kB / 0.6789 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1847, allocations: 34.5 kB / 0.6789 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1847, allocations: 0 / 0.6789 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.1851, allocations: 93.59 kB / 0.679 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.1851, allocations: 51.41 kB / 0.6791 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.1852, allocations: 105.8 kB / 0.6792 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1852, allocations: 25.7 kB / 0.6792 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.1853, allocations: 84.14 kB / 0.6793 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1853, allocations: 15.88 kB / 0.6793 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1854, allocations: 9.719 kB / 0.6793 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1855, allocations: 327 kB / 0.6796 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.1856, allocations: 15.92 kB / 0.6796 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1857, allocations: 19.98 kB / 0.6797 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1858, allocations: 40.81 kB / 0.6797 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1858, allocations: 0 / 0.6797 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000217/0.186, allocations: 81.66 kB / 0.6798 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.186, allocations: 4 kB / 0.6798 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1861, allocations: 0 / 0.6798 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1861, allocations: 3.984 kB / 0.6798 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.1862, allocations: 11.98 kB / 0.6798 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1862, allocations: 0 / 0.6798 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1862, allocations: 4 kB / 0.6798 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1862, allocations: 0 / 0.6798 GB, free: 6.555 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.1863, allocations: 125.7 kB / 0.6799 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.1863, allocations: 3.953 kB / 0.6799 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1866, allocations: 73.19 kB / 0.68 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1866, allocations: 4 kB / 0.68 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1866, allocations: 0 / 0.68 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1866, allocations: 0 / 0.68 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1868, allocations: 161.6 kB / 0.6801 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1868, allocations: 8.031 kB / 0.6802 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.1868, allocations: 7.984 kB / 0.6802 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1868, allocations: 0 / 0.6802 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1868, allocations: 0 / 0.6802 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1868, allocations: 256 / 0.6802 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1868, allocations: 4 kB / 0.6802 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1871, allocations: 175.4 kB / 0.6803 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1871, allocations: 81.05 kB / 0.6804 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1871, allocations: 4 kB / 0.6804 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1872, allocations: 7.984 kB / 0.6804 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1873, allocations: 7.938 kB / 0.6804 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1873, allocations: 0 / 0.6804 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.1873, allocations: 87.27 kB / 0.6805 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 0.6805 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002334/0.1876, allocations: 7.953 kB / 0.6805 GB, free: 5.711 MB / 0.5137 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 (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.0001565/0.1877, allocations: 107.3 kB / 0.6806 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.1879, allocations: 43.89 kB / 0.6807 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1879, allocations: 0 / 0.6807 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.188, allocations: 15.98 kB / 0.6807 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1883, allocations: 13.97 kB / 0.6807 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1886, allocations: 143.2 kB / 0.6808 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.189, allocations: 0.6807 MB / 0.6815 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.189, allocations: 7.438 kB / 0.6815 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.189, allocations: 0 / 0.6815 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of Templates: time 0.00229/0.1913, allocations: 0.6717 MB / 0.6822 GB, free: 3.965 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)