Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001105/0.001105, allocations: 103.7 kB / 15.98 MB, free: 6.344 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.001121/0.001121, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7851/0.7851, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 64.14 kB / 0.4906 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3785, allocations: 77.92 MB / 0.5667 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001866/0.3804, allocations: 0.6417 MB / 0.5674 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.3806, allocations: 35.45 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.3807, allocations: 0.5625 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.3807, allocations: 1.156 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-06/0.3807, allocations: 0 / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.3811, allocations: 9.078 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.3811, allocations: 7.219 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.3812, allocations: 3.188 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.3812, allocations: 1.5 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.3813, allocations: 0.5156 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3813, allocations: 1.969 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3814, allocations: 15.39 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.3814, allocations: 6.172 kB / 0.5674 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.3815, allocations: 4.641 kB / 0.5674 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.3816, allocations: 16.69 kB / 0.5675 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3816, allocations: 5.094 kB / 0.5675 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3816, allocations: 1.75 kB / 0.5675 GB, free: 32.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3816, allocations: 0 / 0.5675 GB, free: 32.3 MB / 446.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.0002947/0.3819, allocations: 317.7 kB / 0.5678 GB, free: 31.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.382, allocations: 11.3 kB / 0.5678 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.382, allocations: 1.469 kB / 0.5678 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.3821, allocations: 163.4 kB / 0.5679 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3821, allocations: 1.5 kB / 0.5679 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.3821, allocations: 1.406 kB / 0.5679 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.3822, allocations: 29.5 kB / 0.568 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3822, allocations: 5.234 kB / 0.568 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3822, allocations: 4.688 kB / 0.568 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3823, allocations: 0.7969 kB / 0.568 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.3823, allocations: 6.625 kB / 0.568 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.3824, allocations: 145.1 kB / 0.5681 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.3825, allocations: 22.42 kB / 0.5681 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.3825, allocations: 9.953 kB / 0.5682 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.3825, allocations: 3.531 kB / 0.5682 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3826, allocations: 37.88 kB / 0.5682 GB, free: 31.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3826, allocations: 0 / 0.5682 GB, free: 31.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.3827, allocations: 37.67 kB / 0.5682 GB, free: 31.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3828, allocations: 55.34 kB / 0.5683 GB, free: 31.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.866e-05/0.3828, allocations: 92.11 kB / 0.5684 GB, free: 31.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3828, allocations: 25.7 kB / 0.5684 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.3828, allocations: 80.7 kB / 0.5685 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3829, allocations: 6.672 kB / 0.5685 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.3829, allocations: 11.88 kB / 0.5685 GB, free: 31.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.383, allocations: 318.4 kB / 0.5688 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.383, allocations: 5.062 kB / 0.5688 GB, free: 30.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.383, allocations: 2.375 kB / 0.5688 GB, free: 30.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.383, allocations: 8.781 kB / 0.5688 GB, free: 30.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.383, allocations: 0.625 kB / 0.5688 GB, free: 30.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.976e-05/0.3831, allocations: 37.77 kB / 0.5688 GB, free: 30.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3831, allocations: 6.094 kB / 0.5689 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3831, allocations: 0 / 0.5689 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3832, allocations: 8.219 kB / 0.5689 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.3832, allocations: 1.281 kB / 0.5689 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3832, allocations: 0.6562 kB / 0.5689 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.3833, allocations: 1.188 kB / 0.5689 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3833, allocations: 1.188 kB / 0.5689 GB, free: 30.74 MB / 446.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 5.978e-05/0.3833, allocations: 113.4 kB / 0.569 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.3833, allocations: 0 / 0.569 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.3835, allocations: 47.97 kB / 0.569 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3835, allocations: 1.344 kB / 0.569 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3835, allocations: 1.781 kB / 0.569 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3835, allocations: 0 / 0.569 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.127e-05/0.3836, allocations: 148.7 kB / 0.5692 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3836, allocations: 1.031 kB / 0.5692 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.3836, allocations: 6.781 kB / 0.5692 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3836, allocations: 1.375 kB / 0.5692 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3836, allocations: 6.094 kB / 0.5692 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3836, allocations: 0 / 0.5692 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3836, allocations: 2.188 kB / 0.5692 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.68e-05/0.3837, allocations: 54.08 kB / 0.5692 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3837, allocations: 79.47 kB / 0.5693 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3837, allocations: 6.219 kB / 0.5693 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.3837, allocations: 4 kB / 0.5693 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3838, allocations: 6.438 kB / 0.5693 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.3838, allocations: 1.25 kB / 0.5693 GB, free: 30.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.725e-05/0.3838, allocations: 76.53 kB / 0.5694 GB, free: 30.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3838, allocations: 0 / 0.5694 GB, free: 30.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.384, allocations: 6.281 kB / 0.5694 GB, free: 30.14 MB / 446.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.0001482/0.3842, allocations: 104.2 kB / 0.5695 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.3843, allocations: 14.19 kB / 0.5695 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3843, allocations: 0.5 kB / 0.5695 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.3843, allocations: 4.156 kB / 0.5695 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3844, allocations: 1.031 kB / 0.5695 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/0.3846, allocations: 76.56 kB / 0.5696 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3848, allocations: 0.6718 MB / 0.5703 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.3848, allocations: 4.25 kB / 0.5703 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.3848, allocations: 9.859 kB / 0.5703 GB, free: 29.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3848, allocations: 0.7188 kB / 0.5703 GB, free: 29.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002226/0.387, allocations: 292.5 kB / 0.5705 GB, free: 29.2 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)