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.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001051/0.001051, allocations: 199.3 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 222 MB, free: 4.734 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.48/1.48, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001197/0.001197, allocations: 74.05 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00135/0.1511, allocations: 0.6626 MB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.1513, allocations: 39.88 kB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-06/0.1513, allocations: 0 / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.1513, allocations: 0 / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-06/0.1514, allocations: 4 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1515, allocations: 7.984 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.578e-05/0.1516, allocations: 7.984 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.864e-05/0.1516, allocations: 0 / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.095e-05/0.1516, allocations: 0 / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.1516, allocations: 4 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-06/0.1517, allocations: 3.938 kB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.1517, allocations: 19.98 kB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.1517, allocations: 0 / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.1518, allocations: 3.938 kB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.298e-05/0.1518, allocations: 19.97 kB / 0.7836 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1518, allocations: 0 / 0.7836 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.51e-07/0.1518, allocations: 3.938 kB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.1519, allocations: 0 / 0.7836 GB, free: 13.14 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.0002062/0.1521, allocations: 315.6 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.1521, allocations: 8.031 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/0.1521, allocations: 30.75 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.566e-05/0.1521, allocations: 0.9375 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.229e-05/0.1522, allocations: 164.4 kB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.1522, allocations: 4.375 kB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-06/0.1522, allocations: 4.375 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.396e-05/0.1523, allocations: 26.27 kB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.1523, allocations: 3.938 kB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-06/0.1523, allocations: 0 / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1523, allocations: 4 kB / 0.7841 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.1523, allocations: 3.938 kB / 0.7841 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.51e-05/0.1524, allocations: 153.7 kB / 0.7842 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.694e-05/0.1525, allocations: 22.61 kB / 0.7843 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.1525, allocations: 4.859 kB / 0.7843 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1525, allocations: 4.062 kB / 0.7843 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.1525, allocations: 30.56 kB / 0.7843 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1525, allocations: 0 / 0.7843 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 8.798e-05/0.1526, allocations: 41.58 kB / 0.7843 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.1527, allocations: 59.39 kB / 0.7844 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.307e-05/0.1527, allocations: 89.86 kB / 0.7845 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.1527, allocations: 29.83 kB / 0.7845 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/0.1527, allocations: 84.14 kB / 0.7846 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1528, allocations: 3.906 kB / 0.7846 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.1528, allocations: 9.719 kB / 0.7846 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.1529, allocations: 310.8 kB / 0.7849 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/0.1529, allocations: 7.938 kB / 0.7849 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.1529, allocations: 0 / 0.7849 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.1529, allocations: 16.92 kB / 0.7849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1529, allocations: 0 / 0.7849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.418e-05/0.153, allocations: 37.62 kB / 0.785 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.153, allocations: 8 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.153, allocations: 3.938 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.153, allocations: 0 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.524e-05/0.153, allocations: 3.938 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.153, allocations: 0 / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.1531, allocations: 4 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1531, allocations: 0 / 0.785 GB, free: 11.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.1531, allocations: 109.9 kB / 0.7851 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.1531, allocations: 0 / 0.7851 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.682e-05/0.1532, allocations: 53.03 kB / 0.7851 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1532, allocations: 0 / 0.7851 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1532, allocations: 3.938 kB / 0.7851 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-06/0.1532, allocations: 0 / 0.7851 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.027e-05/0.1533, allocations: 149.7 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1533, allocations: 4 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.1533, allocations: 0 / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1533, allocations: 0 / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1533, allocations: 3.938 kB / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1533, allocations: 0 / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1533, allocations: 4 kB / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.409e-05/0.1534, allocations: 57.12 kB / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.1534, allocations: 89.06 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.1534, allocations: 7.938 kB / 0.7854 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-06/0.1535, allocations: 0 / 0.7854 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.1535, allocations: 0 / 0.7854 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1535, allocations: 0 / 0.7854 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.718e-05/0.1535, allocations: 75.28 kB / 0.7855 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1535, allocations: 0 / 0.7855 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001578/0.1537, allocations: 4 kB / 0.7855 GB, free: 10.79 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 (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.0002558/0.1539, allocations: 0.6046 MB / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.576e-05/0.154, allocations: 15.92 kB / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.154, allocations: 0 / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/0.154, allocations: 7.938 kB / 0.7861 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.1541, allocations: 0 / 0.7861 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.1543, allocations: 104.6 kB / 0.7862 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.1545, allocations: 0.677 MB / 0.7869 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.1545, allocations: 0 / 0.7869 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.1545, allocations: 7.438 kB / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1545, allocations: 0 / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.555/1.71, allocations: 0.8859 MB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/1.71, allocations: 212 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/3.355, allocations: 7.5 kB / 0.788 GB, free: 8.227 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/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)