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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7859/0.7859, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 188.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 447.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 107 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 281.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 83.89 kB / 0.6886 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3471, allocations: 81.28 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001635/0.3488, allocations: 0.632 MB / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002427/0.349, allocations: 47.06 kB / 0.7686 GB, free: 27 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.066e-05/0.3491, allocations: 0 / 0.7686 GB, free: 27 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.3491, allocations: 0 / 0.7686 GB, free: 27 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.3491, allocations: 0 / 0.7686 GB, free: 27 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3493, allocations: 11.98 kB / 0.7686 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.404e-05/0.3494, allocations: 11.94 kB / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.3494, allocations: 0 / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.3494, allocations: 0 / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.3495, allocations: 4 kB / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.3495, allocations: 0 / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.3496, allocations: 19.97 kB / 0.7687 GB, free: 26.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.3496, allocations: 0 / 0.7687 GB, free: 26.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.3496, allocations: 4 kB / 0.7687 GB, free: 26.95 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.709e-05/0.3497, allocations: 19.97 kB / 0.7687 GB, free: 26.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3497, allocations: 0 / 0.7687 GB, free: 26.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.3497, allocations: 7.938 kB / 0.7687 GB, free: 26.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.3497, allocations: 0 / 0.7687 GB, free: 26.92 MB / 458.7 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.000219/0.35, allocations: 315.5 kB / 0.769 GB, free: 26.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.35, allocations: 8.031 kB / 0.769 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.35, allocations: 0.9375 kB / 0.769 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.987e-05/0.3501, allocations: 164.4 kB / 0.7692 GB, free: 26.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3501, allocations: 4.375 kB / 0.7692 GB, free: 26.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3501, allocations: 4.375 kB / 0.7692 GB, free: 26.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.364e-05/0.3502, allocations: 30.27 kB / 0.7692 GB, free: 26.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3502, allocations: 192 / 0.7692 GB, free: 26.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3502, allocations: 7.922 kB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3502, allocations: 0 / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.774e-05/0.3502, allocations: 4 kB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.761e-05/0.3503, allocations: 145.7 kB / 0.7693 GB, free: 26.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.95e-05/0.3504, allocations: 24.61 kB / 0.7694 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.3504, allocations: 4.859 kB / 0.7694 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3504, allocations: 4 kB / 0.7694 GB, free: 26.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.3504, allocations: 38.62 kB / 0.7694 GB, free: 26.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3504, allocations: 0 / 0.7694 GB, free: 26.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.3506, allocations: 41.56 kB / 0.7694 GB, free: 25.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.3506, allocations: 51.41 kB / 0.7695 GB, free: 25.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.841e-05/0.3506, allocations: 89.86 kB / 0.7696 GB, free: 25.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.3506, allocations: 25.7 kB / 0.7696 GB, free: 25.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-06/0.3506, allocations: 80.27 kB / 0.7697 GB, free: 25.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3507, allocations: 8 kB / 0.7697 GB, free: 25.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.3507, allocations: 9.719 kB / 0.7697 GB, free: 25.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.3508, allocations: 314.8 kB / 0.77 GB, free: 25.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.3508, allocations: 7.984 kB / 0.77 GB, free: 25.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.3508, allocations: 0 / 0.77 GB, free: 25.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.3508, allocations: 8.859 kB / 0.77 GB, free: 25.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3508, allocations: 0 / 0.77 GB, free: 25.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.206e-05/0.3509, allocations: 37.7 kB / 0.7701 GB, free: 25.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3509, allocations: 7.938 kB / 0.7701 GB, free: 25.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3509, allocations: 4 kB / 0.7701 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3509, allocations: 3.938 kB / 0.7701 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.351, allocations: 0 / 0.7701 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.351, allocations: 3.984 kB / 0.7701 GB, free: 25.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.351, allocations: 6.609 kB / 0.7701 GB, free: 25.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.351, allocations: 4 kB / 0.7701 GB, free: 25.27 MB / 458.7 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 3.83e-05/0.3511, allocations: 110.4 kB / 0.7702 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.3511, allocations: 4.031 kB / 0.7702 GB, free: 25.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.3511, allocations: 48.66 kB / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3512, allocations: 0 / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3512, allocations: 0 / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3512, allocations: 0 / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.717e-05/0.3512, allocations: 145.7 kB / 0.7704 GB, free: 24.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3512, allocations: 0 / 0.7704 GB, free: 24.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.3513, allocations: 11.97 kB / 0.7704 GB, free: 24.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3513, allocations: 0 / 0.7704 GB, free: 24.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3513, allocations: 3.938 kB / 0.7704 GB, free: 24.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3513, allocations: 3.984 kB / 0.7704 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3513, allocations: 0 / 0.7704 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.3514, allocations: 0.6006 MB / 0.771 GB, free: 24.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.3515, allocations: 81.14 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.3515, allocations: 4 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.3515, allocations: 4 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.3515, allocations: 0 / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3515, allocations: 0 / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.138e-05/0.3515, allocations: 75.28 kB / 0.7711 GB, free: 24.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3515, allocations: 0 / 0.7711 GB, free: 24.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.3518, allocations: 4 kB / 0.7711 GB, free: 24.04 MB / 458.7 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.0001223/0.3519, allocations: 116.6 kB / 0.7713 GB, free: 23.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.402e-05/0.352, allocations: 8 kB / 0.7713 GB, free: 23.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.352, allocations: 0 / 0.7713 GB, free: 23.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-06/0.352, allocations: 3.938 kB / 0.7713 GB, free: 23.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.3521, allocations: 10.69 kB / 0.7713 GB, free: 23.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.3523, allocations: 176.2 kB / 0.7714 GB, free: 23.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.3524, allocations: 0.6731 MB / 0.7721 GB, free: 22.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.67e-05/0.3525, allocations: 8.109 kB / 0.7721 GB, free: 22.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.3525, allocations: 11.44 kB / 0.7721 GB, free: 22.96 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3525, allocations: 4 kB / 0.7721 GB, free: 22.96 MB / 458.7 MB Notification: Performance of Templates: time 0.001733/0.3542, allocations: 284.6 kB / 0.7724 GB, free: 22.68 MB / 458.7 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)