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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001201/0.001201, allocations: 179.7 kB / 371.6 MB, free: 3.379 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.743/1.743, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 93.66 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.313e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9393/1.245, allocations: 138.2 MB / 1.115 GB, free: 45.22 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/1.245, allocations: 71.16 kB / 1.115 GB, free: 45.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008552/1.246, allocations: 477.9 kB / 1.115 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.715e-06/1.246, allocations: 3.328 kB / 1.115 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.246, allocations: 0.5312 kB / 1.115 GB, free: 44.8 MB / 0.7448 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.0001853/1.247, allocations: 312.9 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.247, allocations: 8.969 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/1.247, allocations: 33.81 kB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/1.247, allocations: 2.219 kB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.671e-05/1.247, allocations: 167.2 kB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/1.247, allocations: 4.812 kB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/1.247, allocations: 0 / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/1.247, allocations: 26.33 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.247, allocations: 1.094 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/1.247, allocations: 0 / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.247, allocations: 5.156 kB / 1.116 GB, free: 44.17 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/1.247, allocations: 0.7031 kB / 1.116 GB, free: 44.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/1.247, allocations: 157 kB / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.054e-05/1.247, allocations: 19.39 kB / 1.116 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/1.247, allocations: 5.359 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/1.247, allocations: 5.281 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.247, allocations: 35.23 kB / 1.116 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.247, allocations: 0 / 1.116 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/1.247, allocations: 44.09 kB / 1.116 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/1.247, allocations: 51.41 kB / 1.116 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.605e-05/1.247, allocations: 85 kB / 1.116 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/1.247, allocations: 26.36 kB / 1.116 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.202e-05/1.247, allocations: 80.14 kB / 1.116 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/1.247, allocations: 7.469 kB / 1.116 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-06/1.247, allocations: 0 / 1.116 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/1.247, allocations: 310.8 kB / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/1.247, allocations: 1.406 kB / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/1.247, allocations: 0 / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.63e-05/1.247, allocations: 7.281 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.247, allocations: 4.094 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.315e-05/1.248, allocations: 37.03 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.248, allocations: 8 kB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.248, allocations: 0 / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.248, allocations: 0 / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.513e-05/1.248, allocations: 3.938 kB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.248, allocations: 2.172 kB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/1.248, allocations: 7.938 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/1.248, allocations: 0.5625 kB / 1.117 GB, free: 43.21 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/1.248, allocations: 105 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-06/1.248, allocations: 7.375 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.611e-05/1.248, allocations: 40.02 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/1.248, allocations: 0 / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.248, allocations: 4.234 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.248, allocations: 0.9844 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.361e-05/1.248, allocations: 145.7 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/1.248, allocations: 7.094 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/1.248, allocations: 0 / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.248, allocations: 3.953 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/1.248, allocations: 4.828 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.248, allocations: 5.125 kB / 1.117 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.248, allocations: 3.938 kB / 1.117 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.976e-05/1.248, allocations: 52.77 kB / 1.117 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/1.248, allocations: 81.14 kB / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/1.248, allocations: 11.23 kB / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/1.248, allocations: 0 / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/1.248, allocations: 0 / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/1.248, allocations: 0 / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.346e-05/1.248, allocations: 78.28 kB / 1.117 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.248, allocations: 0 / 1.117 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002235/1.248, allocations: 8 kB / 1.117 GB, free: 42.59 MB / 0.7448 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 () * 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 (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.0002445/1.249, allocations: 0.6035 MB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.043e-05/1.249, allocations: 4.656 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.249, allocations: 4 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-06/1.249, allocations: 3.234 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.208e-05/1.249, allocations: 3.953 kB / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/1.249, allocations: 84.7 kB / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/1.249, allocations: 0.6725 MB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.319e-05/1.249, allocations: 9.656 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/1.249, allocations: 7.438 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.249, allocations: 0 / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/1.425, allocations: 0.8312 MB / 1.119 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.425, allocations: 154.2 kB / 1.12 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/3.022, allocations: 0 / 1.12 GB, free: 40.5 MB / 0.7448 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/linux/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)