Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009937/0.0009937, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.854/1.854, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005463, allocations: 19.34 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3125, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007872/0.3134, allocations: 319.6 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.3136, allocations: 31.92 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.3136, allocations: 0 / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.3136, allocations: 7.938 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-06/0.3136, allocations: 4 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.3139, allocations: 11.98 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.314, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.314, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.3141, allocations: 4 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.3141, allocations: 3.984 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.3141, allocations: 0 / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.352e-05/0.3142, allocations: 19.92 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.3143, allocations: 0 / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.3143, allocations: 25.7 kB / 0.7878 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.403e-05/0.3144, allocations: 15.98 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3144, allocations: 0 / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3144, allocations: 0 / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3144, allocations: 0 / 0.7878 GB, free: 11.39 MB / 0.6075 GB 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.0003124/0.3147, allocations: 303.4 kB / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.3148, allocations: 16.03 kB / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.3148, allocations: 30.56 kB / 0.7882 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.3148, allocations: 7.984 kB / 0.7882 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3149, allocations: 163 kB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.315, allocations: 0 / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.315, allocations: 4 kB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3151, allocations: 29.7 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3151, allocations: 3.938 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3151, allocations: 3.984 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3151, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.3152, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.3153, allocations: 153.6 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.3154, allocations: 18.58 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.3154, allocations: 12.95 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.3154, allocations: 3.984 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3155, allocations: 30.56 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.3155, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.3156, allocations: 41.62 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3157, allocations: 55.34 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.3157, allocations: 89.86 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3158, allocations: 29.83 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.3158, allocations: 84.14 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.3158, allocations: 3.906 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.3158, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.316, allocations: 310.8 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.316, allocations: 4 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.316, allocations: 0 / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.677e-05/0.316, allocations: 0 / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.316, allocations: 4.062 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.298e-05/0.3161, allocations: 45.58 kB / 0.7892 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3161, allocations: 4 kB / 0.7892 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3161, allocations: 0 / 0.7892 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3161, allocations: 0 / 0.7892 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.3162, allocations: 4 kB / 0.7892 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3162, allocations: 0 / 0.7892 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.3162, allocations: 4 kB / 0.7892 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3163, allocations: 4 kB / 0.7892 GB, free: 9.727 MB / 0.6075 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.3163, allocations: 116.7 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.3163, allocations: 3.953 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3165, allocations: 45.03 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3165, allocations: 0 / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3165, allocations: 0 / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3165, allocations: 3.938 kB / 0.7894 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.3166, allocations: 149.7 kB / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3166, allocations: 0 / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.3167, allocations: 8.031 kB / 0.7896 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3167, allocations: 3.953 kB / 0.7896 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3167, allocations: 0 / 0.7896 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.3167, allocations: 4 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3167, allocations: 0 / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.3168, allocations: 57.12 kB / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.3168, allocations: 81.05 kB / 0.7897 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3169, allocations: 11.98 kB / 0.7897 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.3169, allocations: 0 / 0.7897 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3169, allocations: 7.875 kB / 0.7897 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3169, allocations: 4 kB / 0.7897 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.3169, allocations: 75.28 kB / 0.7898 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3169, allocations: 0 / 0.7898 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002051/0.3172, allocations: 8 kB / 0.7898 GB, free: 9.055 MB / 0.6075 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00041/0.3176, allocations: 0.5969 MB / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.463e-05/0.3176, allocations: 7.984 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.3177, allocations: 0 / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.3177, allocations: 7.938 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.3178, allocations: 3.953 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.3181, allocations: 108.6 kB / 0.7905 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3184, allocations: 0.6731 MB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.3184, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.3185, allocations: 11.44 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.3185, allocations: 0 / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.33, allocations: 0.8259 MB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.3303, allocations: 198.1 kB / 0.7922 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.261, allocations: 4.062 kB / 0.7922 GB, free: 6.602 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: