Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",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.001072/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.415/1.415, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.81/1.81, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001382/0.001382, allocations: 66.2 kB / 0.6716 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2122, allocations: 114.6 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.00276/0.215, allocations: 1.441 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.2153, allocations: 92.64 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.2153, allocations: 0 / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.174e-05/0.2154, allocations: 7.922 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.2155, allocations: 7.938 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.2157, allocations: 15.98 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.2158, allocations: 27.86 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.2159, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.216, allocations: 8 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.216, allocations: 15.92 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.216, allocations: 7.922 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.2161, allocations: 19.98 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.2162, allocations: 7.984 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.2162, allocations: 11.94 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2163, allocations: 31.89 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.2163, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2164, allocations: 3.938 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2164, allocations: 0 / 0.7851 GB, free: 11.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004763/0.2168, allocations: 343.7 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2169, allocations: 12.03 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.2169, allocations: 30.75 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.217, allocations: 8.844 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2171, allocations: 168.4 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2171, allocations: 384 / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.2171, allocations: 4.375 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2173, allocations: 54.23 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.2173, allocations: 3.938 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.2173, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2174, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2175, allocations: 39.91 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.2178, allocations: 253 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.218, allocations: 46.48 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.2181, allocations: 24.91 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2181, allocations: 7.984 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2182, allocations: 34.56 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/0.2182, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003566/0.2185, allocations: 97.42 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2186, allocations: 51.41 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.2187, allocations: 114 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2187, allocations: 25.7 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.2187, allocations: 84.14 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2188, allocations: 11.83 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.2188, allocations: 13.72 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.2189, allocations: 314.8 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.219, allocations: 15.98 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.2191, allocations: 27.97 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.2192, allocations: 40.77 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2192, allocations: 3.938 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.2194, allocations: 73.66 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2195, allocations: 4 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2195, allocations: 96 / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2195, allocations: 4 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.2196, allocations: 15.92 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2196, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.2196, allocations: 7.984 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2197, allocations: 0 / 0.787 GB, free: 9.566 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 (2): * Single equations (assignments): 2 * 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 7.261e-05/0.2197, allocations: 110.4 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.2198, allocations: 4 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.22, allocations: 81.12 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.22, allocations: 0 / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.22, allocations: 3.984 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.22, allocations: 0 / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2202, allocations: 161.6 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2202, allocations: 0 / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.2202, allocations: 11.98 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2203, allocations: 0 / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2203, allocations: 0 / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2203, allocations: 4.031 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2203, allocations: 0 / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.2205, allocations: 175.3 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.2206, allocations: 77.11 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2206, allocations: 4.234 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.2207, allocations: 11.97 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.2207, allocations: 12 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2207, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.2208, allocations: 83.27 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2208, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002157/0.221, allocations: 12 kB / 0.7877 GB, free: 8.727 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 (2): * Single equations (assignments): 2 * 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.0005003/0.2215, allocations: 0.7046 MB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.2217, allocations: 39.91 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2217, allocations: 0 / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.2218, allocations: 24.06 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2221, allocations: 8.062 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.2225, allocations: 143 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.2227, allocations: 0.6768 MB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.2227, allocations: 4 kB / 0.7893 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.2228, allocations: 15.42 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2228, allocations: 0 / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.2396, allocations: 1.392 MB / 0.7906 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.27, allocations: 10.16 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.Polynominal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)