Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 179.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.5775 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 90.08 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003155, allocations: 12.44 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2115, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.3822, allocations: 131 MB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3825, allocations: 71.95 kB / 1.028 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001196/0.3837, allocations: 492.5 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3837, allocations: 0 / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3837, allocations: 0 / 1.029 GB, free: 12.5 MB / 0.6823 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.0002883/0.384, allocations: 319.4 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3841, allocations: 8.031 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.3841, allocations: 30.56 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.933e-05/0.3842, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.3843, allocations: 163 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3843, allocations: 4 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.3843, allocations: 4 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.3844, allocations: 29.64 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3844, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.3844, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3844, allocations: 3.984 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.3845, allocations: 4 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.3846, allocations: 153.5 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.3847, allocations: 22.67 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.3847, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3848, allocations: 34.5 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3848, allocations: 0 / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.3849, allocations: 37.69 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3849, allocations: 55.41 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.728e-05/0.385, allocations: 85 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.385, allocations: 29.64 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.3851, allocations: 84.27 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3851, allocations: 4.219 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.3851, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3852, allocations: 310.8 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.3852, allocations: 4 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.3853, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.804e-05/0.3853, allocations: 3.938 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3853, allocations: 3.938 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.657e-05/0.3853, allocations: 49.7 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3854, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3854, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3854, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.3855, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3855, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.3855, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3855, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.3856, allocations: 110.5 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.3856, allocations: 11.97 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.914e-05/0.3857, allocations: 36.77 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3857, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3857, allocations: 4 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3857, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.3858, allocations: 153.7 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3859, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.3859, allocations: 4.031 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3859, allocations: 7.953 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3859, allocations: 4 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3859, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3859, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.777e-05/0.386, allocations: 65.06 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.386, allocations: 77.11 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.386, allocations: 3.953 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.3861, allocations: 4.031 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.3861, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.3861, allocations: 4 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.3861, allocations: 75.28 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3861, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002212/0.3864, allocations: 8 kB / 1.031 GB, free: 10.2 MB / 0.6823 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 (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.0004228/0.3868, allocations: 0.6015 MB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.571e-05/0.3869, allocations: 15.86 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3869, allocations: 3.938 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.3869, allocations: 4 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.719e-05/0.387, allocations: 7.891 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.3873, allocations: 104.4 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3876, allocations: 0.6772 MB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.3877, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.3877, allocations: 7.438 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.3877, allocations: 0 / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.3997, allocations: 0.8155 MB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.4, allocations: 190 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.832, allocations: 1.688 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)