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.001067/0.001067, allocations: 108 kB / 15.61 MB, free: 152 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.001035/0.001035, allocations: 195.1 kB / 16.53 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.364/1.364, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.724/1.724, 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.001465/0.001465, allocations: 74.38 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002561/0.2723, allocations: 0.5824 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000274/0.2726, allocations: 43.81 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.2726, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.2726, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.2726, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.273, allocations: 7.984 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.273, allocations: 8 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.2731, allocations: 4 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.2731, allocations: 0 / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.2732, allocations: 3.984 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2732, allocations: 4 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.2734, allocations: 15.92 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.2734, allocations: 4 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2734, allocations: 0 / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2735, allocations: 15.91 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.2735, allocations: 7.938 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2735, allocations: 4 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2736, allocations: 4 kB / 0.7842 GB, free: 12.66 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.0004372/0.274, allocations: 311.6 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.2741, allocations: 8.031 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.2741, allocations: 34.73 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.2741, allocations: 0.9375 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2743, allocations: 160.4 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2743, allocations: 384 / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2743, allocations: 4.375 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2744, allocations: 30.27 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2745, allocations: 3.938 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2745, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2745, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.2745, allocations: 7.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.2747, allocations: 149.7 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.2747, allocations: 22.61 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.2748, allocations: 4.859 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.2748, allocations: 4 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.2748, allocations: 42.62 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.2749, allocations: 0 / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.00017/0.275, allocations: 41.56 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.2751, allocations: 51.41 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.835e-05/0.2751, allocations: 89.86 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2751, allocations: 25.7 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.2752, allocations: 80.27 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.2752, allocations: 11.91 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2753, allocations: 9.719 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2754, allocations: 314.8 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.2754, allocations: 4 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.2754, allocations: 3.938 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.2755, allocations: 12.84 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2755, allocations: 3.938 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.236e-05/0.2755, allocations: 33.77 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2756, allocations: 4 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2756, allocations: 7.938 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2756, allocations: 0 / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.2757, allocations: 0 / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2757, allocations: 0 / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.2757, allocations: 0 / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2757, allocations: 4 kB / 0.7856 GB, free: 10.97 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 6.815e-05/0.2758, allocations: 113.8 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.2758, allocations: 7.969 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.276, allocations: 44.98 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.276, allocations: 0 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.276, allocations: 0 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.276, allocations: 3.984 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.2761, allocations: 145.7 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2761, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.2761, allocations: 4 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2761, allocations: 4.031 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2761, allocations: 3.938 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2762, allocations: 0 / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2762, allocations: 0 / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.691e-05/0.2762, allocations: 57.12 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.2763, allocations: 81.05 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2763, allocations: 3.938 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.2763, allocations: 11.97 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.2763, allocations: 7.984 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2764, allocations: 7.984 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4e-05/0.2764, allocations: 75.28 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2764, allocations: 0 / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002016/0.2766, allocations: 4 kB / 0.7861 GB, free: 10.3 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.0004383/0.2771, allocations: 0.6046 MB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.028e-05/0.2771, allocations: 7.938 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2772, allocations: 3.938 kB / 0.7867 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.2772, allocations: 4 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.2773, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.2777, allocations: 118.6 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.278, allocations: 0.673 MB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.2781, allocations: 4 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2781, allocations: 7.438 kB / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2781, allocations: 0 / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.2949, allocations: 0.9924 MB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.498, allocations: 10.72 kB / 0.7885 GB, free: 7.855 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)