Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.565/2.565, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001522/0.001522, allocations: 184.9 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001134/0.001134, allocations: 90.27 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.735e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.843, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/1.083, allocations: 136.4 MB / 1.097 GB, free: 4.188 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.083, allocations: 79.59 kB / 1.097 GB, free: 4.113 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001469/1.085, allocations: 484 kB / 1.097 GB, free: 3.645 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/1.085, allocations: 0 / 1.097 GB, free: 3.645 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.085, allocations: 0 / 1.097 GB, free: 3.645 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002884/1.085, allocations: 311.6 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.085, allocations: 8.031 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/1.085, allocations: 2.453 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/1.085, allocations: 165.8 kB / 1.098 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/1.085, allocations: 4 kB / 1.098 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/1.085, allocations: 0.7812 kB / 1.098 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.807e-05/1.085, allocations: 0 / 1.098 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.028e-05/1.085, allocations: 34.28 kB / 1.098 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.085, allocations: 4.875 kB / 1.098 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/1.085, allocations: 0 / 1.098 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/1.085, allocations: 0 / 1.098 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/1.086, allocations: 131.2 kB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/1.086, allocations: 19.45 kB / 1.098 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/1.086, allocations: 5.578 kB / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/1.086, allocations: 0 / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.086, allocations: 33.78 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/1.086, allocations: 7.656 kB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000179/1.086, allocations: 33.69 kB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.086, allocations: 59.34 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.193e-05/1.086, allocations: 85 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/1.086, allocations: 25.7 kB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/1.086, allocations: 80.73 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/1.086, allocations: 1.594 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.086, allocations: 0 / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.086, allocations: 310.8 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/1.086, allocations: 4.594 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-06/1.086, allocations: 0.6562 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/1.086, allocations: 0.6875 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.086, allocations: 3.938 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.519e-05/1.086, allocations: 46.36 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.086, allocations: 4.781 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.087, allocations: 0.625 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.087, allocations: 0.7188 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/1.087, allocations: 7.562 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.087, allocations: 0.6562 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/1.087, allocations: 3.938 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/1.087, allocations: 2.234 kB / 1.098 GB, free: 2.109 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 () * 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 8.12e-05/1.087, allocations: 113.4 kB / 1.099 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.59e-05/1.087, allocations: 42.3 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/1.087, allocations: 0.5938 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/1.087, allocations: 42.91 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.087, allocations: 0.5 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.087, allocations: 0 / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/1.087, allocations: 0.625 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/1.087, allocations: 123.7 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.087, allocations: 4 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/1.087, allocations: 0 / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.087, allocations: 7.891 kB / 1.099 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/1.087, allocations: 5.453 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.087, allocations: 0 / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.087, allocations: 4 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/1.087, allocations: 55.17 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/1.087, allocations: 77.11 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/1.088, allocations: 11.94 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/1.088, allocations: 0.5938 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/1.088, allocations: 1.688 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.088, allocations: 1 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.725e-05/1.088, allocations: 75.28 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/1.088, allocations: 3.688 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002493/1.088, allocations: 4 kB / 1.099 GB, free: 1.469 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 () * 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.0004871/1.088, allocations: 0.6022 MB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.879e-05/1.088, allocations: 5.156 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.088, allocations: 3.938 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/1.089, allocations: 4 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/1.089, allocations: 5.953 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/1.089, allocations: 69.72 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/1.089, allocations: 0.6739 MB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.928e-05/1.089, allocations: 5.188 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/1.089, allocations: 11.44 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/1.089, allocations: 0 / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/1.126, allocations: 0.5434 MB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/1.127, allocations: 153.8 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.441, allocations: 2.188 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)