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.001067/0.001067, allocations: 102.1 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.001007/0.001007, allocations: 195.1 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 122.9 MB / 413.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 67.91 kB / 0.4906 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4442, allocations: 77.92 MB / 0.5667 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002077/0.4463, allocations: 0.6345 MB / 0.5673 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.4466, allocations: 31.09 kB / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.4466, allocations: 2.719 kB / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.4466, allocations: 0 / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.4466, allocations: 0 / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.447, allocations: 13.02 kB / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.606e-05/0.447, allocations: 2.953 kB / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.4471, allocations: 6.641 kB / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.4471, allocations: 0 / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.4471, allocations: 3.656 kB / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4471, allocations: 0 / 0.5674 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.4473, allocations: 25.06 kB / 0.5674 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.4473, allocations: 1 kB / 0.5674 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.4473, allocations: 5.672 kB / 0.5674 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.4474, allocations: 16.19 kB / 0.5674 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4474, allocations: 1.188 kB / 0.5674 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4474, allocations: 0 / 0.5674 GB, free: 32.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4474, allocations: 1.031 kB / 0.5674 GB, free: 32.21 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.0003066/0.4477, allocations: 318.6 kB / 0.5677 GB, free: 31.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4478, allocations: 10.25 kB / 0.5677 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.4478, allocations: 2.406 kB / 0.5677 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.695e-05/0.4479, allocations: 162.7 kB / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4479, allocations: 384 / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.4479, allocations: 1.375 kB / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.448, allocations: 31.3 kB / 0.5679 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4481, allocations: 1.125 kB / 0.5679 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4481, allocations: 3.938 kB / 0.5679 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4481, allocations: 0.9688 kB / 0.5679 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.4481, allocations: 6.188 kB / 0.5679 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.4482, allocations: 150 kB / 0.5681 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.993e-05/0.4483, allocations: 17.25 kB / 0.5681 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.4483, allocations: 8.078 kB / 0.5681 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.4484, allocations: 1.719 kB / 0.5681 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.4484, allocations: 33.83 kB / 0.5681 GB, free: 31.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4484, allocations: 0 / 0.5681 GB, free: 31.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.4485, allocations: 41.59 kB / 0.5682 GB, free: 31.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.4486, allocations: 57.38 kB / 0.5682 GB, free: 31.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.972e-05/0.4486, allocations: 90.52 kB / 0.5683 GB, free: 31.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.4486, allocations: 25.7 kB / 0.5684 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/0.4486, allocations: 85.84 kB / 0.5684 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.4487, allocations: 5.25 kB / 0.5684 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.4487, allocations: 12.86 kB / 0.5685 GB, free: 31.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.4488, allocations: 313.2 kB / 0.5687 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.4488, allocations: 2.5 kB / 0.5688 GB, free: 30.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.4488, allocations: 4.938 kB / 0.5688 GB, free: 30.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.4488, allocations: 13.55 kB / 0.5688 GB, free: 30.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4488, allocations: 0.9062 kB / 0.5688 GB, free: 30.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.953e-05/0.4489, allocations: 40.64 kB / 0.5688 GB, free: 30.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4489, allocations: 6.875 kB / 0.5688 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4489, allocations: 1.25 kB / 0.5688 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4489, allocations: 3.938 kB / 0.5688 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.449, allocations: 2.797 kB / 0.5688 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.449, allocations: 1.344 kB / 0.5688 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.449, allocations: 0.9375 kB / 0.5688 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.449, allocations: 2.438 kB / 0.5688 GB, free: 30.64 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.192e-05/0.4491, allocations: 108.8 kB / 0.5689 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.4491, allocations: 5.75 kB / 0.5689 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4492, allocations: 52.31 kB / 0.569 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4492, allocations: 0 / 0.569 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4492, allocations: 1.344 kB / 0.569 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4492, allocations: 0.6094 kB / 0.569 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.347e-05/0.4493, allocations: 145 kB / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4493, allocations: 2.016 kB / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.4493, allocations: 6.938 kB / 0.5691 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4493, allocations: 0 / 0.5691 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4494, allocations: 5.688 kB / 0.5691 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4494, allocations: 2.812 kB / 0.5691 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4494, allocations: 0 / 0.5691 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.788e-05/0.4494, allocations: 57.38 kB / 0.5692 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.4495, allocations: 80.05 kB / 0.5693 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.4495, allocations: 5.125 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.4495, allocations: 0.7812 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.4495, allocations: 7.531 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4495, allocations: 1.219 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.859e-05/0.4495, allocations: 75.8 kB / 0.5694 GB, free: 30.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4495, allocations: 0 / 0.5694 GB, free: 30.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000199/0.4498, allocations: 4.5 kB / 0.5694 GB, free: 30.05 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.0001488/0.4499, allocations: 103.5 kB / 0.5695 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.748e-05/0.45, allocations: 8.797 kB / 0.5695 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.45, allocations: 5.312 kB / 0.5695 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.45, allocations: 4.062 kB / 0.5695 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.4502, allocations: 6.547 kB / 0.5695 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.4503, allocations: 72.06 kB / 0.5696 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.4505, allocations: 0.6748 MB / 0.5702 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.4505, allocations: 3.859 kB / 0.5702 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.4505, allocations: 11.22 kB / 0.5702 GB, free: 29.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4505, allocations: 0 / 0.5702 GB, free: 29.15 MB / 446.1 MB Notification: Performance of Templates: time 0.002237/0.4528, allocations: 282.7 kB / 0.5705 GB, free: 29.11 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)