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.001267/0.001267, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001073/0.001073, allocations: 189.8 kB / 16.25 MB, free: 6.629 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.235/1.235, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.488/1.488, allocations: 292.3 MB / 0.5486 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.001295/0.001296, allocations: 73.48 kB / 0.6711 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1595, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001492/0.161, allocations: 0.6549 MB / 0.7836 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.1612, allocations: 31.88 kB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-06/0.1612, allocations: 0 / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.1612, allocations: 0 / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-06/0.1612, allocations: 4 kB / 0.7837 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.1614, allocations: 15.94 kB / 0.7837 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.853e-05/0.1615, allocations: 3.984 kB / 0.7837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.1615, allocations: 0 / 0.7837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1615, allocations: 4 kB / 0.7837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.72e-05/0.1616, allocations: 3.984 kB / 0.7837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.1616, allocations: 0 / 0.7837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.1616, allocations: 15.98 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.1616, allocations: 0 / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.1617, allocations: 4 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.906e-05/0.1617, allocations: 23.84 kB / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1618, allocations: 4 kB / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1618, allocations: 0 / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.1618, allocations: 0 / 0.7837 GB, free: 13.06 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.0002277/0.162, allocations: 315.6 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.162, allocations: 8.031 kB / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.1621, allocations: 34.75 kB / 0.7841 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.911e-05/0.1621, allocations: 8.906 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.1622, allocations: 164.3 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.1622, allocations: 384 / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-06/0.1622, allocations: 4.375 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.1623, allocations: 30.27 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1623, allocations: 3.938 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.1623, allocations: 0 / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.1623, allocations: 0 / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.1623, allocations: 0 / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.892e-05/0.1624, allocations: 153.7 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.976e-05/0.1624, allocations: 18.52 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.242e-05/0.1625, allocations: 8.859 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1625, allocations: 4.094 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.1625, allocations: 30.56 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1625, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001013/0.1626, allocations: 41.62 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.1627, allocations: 59.41 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.491e-05/0.1627, allocations: 89.86 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1627, allocations: 29.83 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.1627, allocations: 80.14 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1627, allocations: 7.844 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.1628, allocations: 13.72 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.1629, allocations: 310.8 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.1629, allocations: 0 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.1629, allocations: 3.938 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.1629, allocations: 16.92 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1629, allocations: 0 / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.559e-05/0.163, allocations: 37.69 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.163, allocations: 6.656 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.163, allocations: 3.938 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.163, allocations: 0 / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.175e-05/0.163, allocations: 4 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1631, allocations: 3.938 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.1631, allocations: 0 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1631, allocations: 0 / 0.7852 GB, free: 11.36 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.839e-05/0.1631, allocations: 121.8 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.1631, allocations: 0 / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.1632, allocations: 41.05 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1632, allocations: 0 / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1632, allocations: 0 / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1633, allocations: 4 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.757e-05/0.1633, allocations: 145.7 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1633, allocations: 4.031 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.1634, allocations: 4 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1634, allocations: 4 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1634, allocations: 3.938 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1634, allocations: 0 / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1634, allocations: 0 / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.508e-05/0.1634, allocations: 65.06 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.1635, allocations: 85.08 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.1635, allocations: 3.938 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-06/0.1635, allocations: 0 / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-06/0.1635, allocations: 0 / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1635, allocations: 4 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.1635, allocations: 75.28 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1635, allocations: 0 / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001705/0.1637, allocations: 7.984 kB / 0.7857 GB, free: 10.7 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.0002727/0.164, allocations: 0.6085 MB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.241e-05/0.1641, allocations: 4 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1641, allocations: 7.938 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-06/0.1641, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.1642, allocations: 7.938 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.1644, allocations: 114.7 kB / 0.7864 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.1646, allocations: 0.669 MB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.1646, allocations: 0 / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.1646, allocations: 11.44 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1646, allocations: 3.938 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9383/1.103, allocations: 0.9118 MB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/1.103, allocations: 218.9 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/3.057, allocations: 4 kB / 0.7882 GB, free: 8.109 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)