Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.814/1.814, allocations: 288.2 MB / 303.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 184 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009201/0.0009203, allocations: 101.1 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 16.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6775/0.8858, allocations: 138 MB / 1.114 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.8861, allocations: 74 kB / 1.114 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002812/0.8889, allocations: 0.7752 MB / 1.115 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8889, allocations: 2.906 kB / 1.115 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8889, allocations: 0 / 1.115 GB, free: 31.98 MB / 0.698 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.0003571/0.8893, allocations: 354 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.8893, allocations: 15.55 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.8894, allocations: 33.66 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.8894, allocations: 0 / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.8895, allocations: 170.6 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.8895, allocations: 0 / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.8896, allocations: 0 / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.8897, allocations: 57.52 kB / 1.116 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8897, allocations: 7.938 kB / 1.116 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.8898, allocations: 0 / 1.116 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.8898, allocations: 0 / 1.116 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.89, allocations: 49.81 kB / 1.116 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.8904, allocations: 282.6 kB / 1.116 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.8906, allocations: 44.44 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.8906, allocations: 3.812 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.8906, allocations: 38.5 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8906, allocations: 0 / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003632/0.891, allocations: 110.1 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.8911, allocations: 53.78 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.8912, allocations: 98.56 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.8912, allocations: 25.7 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.8912, allocations: 87.89 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.8912, allocations: 10.39 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.8913, allocations: 0 / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8914, allocations: 314.8 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.8915, allocations: 28.28 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.8915, allocations: 24.97 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.8916, allocations: 32.92 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8916, allocations: 3.938 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.8918, allocations: 75.61 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.8919, allocations: 5.906 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8919, allocations: 0 / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.8919, allocations: 4.031 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.892, allocations: 15 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.892, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.8921, allocations: 6.797 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.8921, allocations: 7.828 kB / 1.117 GB, free: 30.31 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.652e-05/0.8922, allocations: 115 kB / 1.117 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.8922, allocations: 7.094 kB / 1.117 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.8925, allocations: 95.02 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8925, allocations: 0 / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.8925, allocations: 3.938 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.8925, allocations: 2.812 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.8927, allocations: 166.2 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8927, allocations: 4 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.8927, allocations: 10.38 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8927, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.8928, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8928, allocations: 3.906 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.8928, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.893, allocations: 184.1 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.8931, allocations: 77.11 kB / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.8931, allocations: 0 / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.8932, allocations: 14.47 kB / 1.118 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.8932, allocations: 7.094 kB / 1.118 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.8932, allocations: 7.156 kB / 1.118 GB, free: 29.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.8933, allocations: 82.62 kB / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8933, allocations: 0 / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002228/0.8935, allocations: 7.688 kB / 1.118 GB, free: 29.64 MB / 0.698 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 (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.0005775/0.8941, allocations: 0.7217 MB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.8943, allocations: 54.83 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8943, allocations: 0 / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.8944, allocations: 28.83 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.8946, allocations: 0 / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.895, allocations: 155.2 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.8953, allocations: 0.6828 MB / 1.119 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.8953, allocations: 3.938 kB / 1.119 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.8953, allocations: 7.438 kB / 1.119 GB, free: 28.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8953, allocations: 0 / 1.119 GB, free: 28.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.9066, allocations: 1.152 MB / 1.12 GB, free: 27.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.9068, allocations: 182.8 kB / 1.121 GB, free: 27.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.348, allocations: 0 / 1.121 GB, free: 27.71 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)