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.001712/0.001712, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.526/3.526, allocations: 205.4 MB / 222.1 MB, free: 5.656 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 3.412/3.412, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0009795/0.0009797, allocations: 14.16 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.477, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001402/0.4785, allocations: 321.8 kB / 0.7875 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003794/0.4789, allocations: 37.62 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.479, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.479, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.368e-05/0.479, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.4795, allocations: 8 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.4796, allocations: 4 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.4797, allocations: 7.922 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.4798, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.4799, allocations: 7.984 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.4799, allocations: 4 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.4801, allocations: 11.98 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.4801, allocations: 0 / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.4802, allocations: 29.7 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.4803, allocations: 11.98 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4803, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.24e-06/0.4803, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4803, allocations: 0 / 0.7877 GB, free: 11.39 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.0008427/0.4812, allocations: 311.4 kB / 0.788 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.323e-05/0.4813, allocations: 8.031 kB / 0.788 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.4814, allocations: 38.55 kB / 0.788 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.4814, allocations: 3.938 kB / 0.788 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.4817, allocations: 163 kB / 0.7882 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.4817, allocations: 0 / 0.7882 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.4817, allocations: 4 kB / 0.7882 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4819, allocations: 33.64 kB / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.482, allocations: 0 / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.482, allocations: 0 / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.482, allocations: 0 / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.918e-05/0.4821, allocations: 11.98 kB / 0.7882 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.4824, allocations: 145.6 kB / 0.7884 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/0.4824, allocations: 14.67 kB / 0.7884 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-05/0.4825, allocations: 4 kB / 0.7884 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.4826, allocations: 38.5 kB / 0.7884 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4826, allocations: 0 / 0.7884 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002288/0.4828, allocations: 37.81 kB / 0.7884 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.4829, allocations: 55.41 kB / 0.7885 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.483, allocations: 89.86 kB / 0.7886 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.483, allocations: 25.7 kB / 0.7886 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.4831, allocations: 80.14 kB / 0.7887 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.4831, allocations: 3.906 kB / 0.7887 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.4831, allocations: 0 / 0.7887 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002664/0.4834, allocations: 314.8 kB / 0.789 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.4834, allocations: 4 kB / 0.789 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.4835, allocations: 4 kB / 0.789 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.4836, allocations: 3.938 kB / 0.789 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4836, allocations: 0 / 0.789 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.006e-05/0.4837, allocations: 41.64 kB / 0.789 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4837, allocations: 4 kB / 0.789 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4837, allocations: 0 / 0.789 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4837, allocations: 0 / 0.789 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.4838, allocations: 4 kB / 0.789 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4838, allocations: 0 / 0.789 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.4839, allocations: 4.094 kB / 0.789 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.4839, allocations: 3.938 kB / 0.7891 GB, free: 9.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.4841, allocations: 109.8 kB / 0.7892 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.4841, allocations: 3.953 kB / 0.7892 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.4843, allocations: 49.02 kB / 0.7892 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4843, allocations: 0 / 0.7892 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4843, allocations: 8.031 kB / 0.7892 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4843, allocations: 0 / 0.7892 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4845, allocations: 145.7 kB / 0.7894 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4845, allocations: 0 / 0.7894 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.4845, allocations: 7.938 kB / 0.7894 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.4845, allocations: 3.953 kB / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4845, allocations: 0 / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4845, allocations: 4 kB / 0.7894 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4846, allocations: 0 / 0.7894 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.4848, allocations: 69.06 kB / 0.7894 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.4848, allocations: 81.05 kB / 0.7895 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.4849, allocations: 3.953 kB / 0.7895 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.4849, allocations: 0 / 0.7895 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.4849, allocations: 0 / 0.7895 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.4849, allocations: 4 kB / 0.7895 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001356/0.4851, allocations: 75.28 kB / 0.7896 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4851, allocations: 0 / 0.7896 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003005/0.4854, allocations: 4 kB / 0.7896 GB, free: 9.086 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 (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.0007804/0.4862, allocations: 0.6008 MB / 0.7902 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.4863, allocations: 15.92 kB / 0.7902 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4863, allocations: 0 / 0.7902 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.4863, allocations: 96 / 0.7902 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.4865, allocations: 12.02 kB / 0.7902 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.487, allocations: 100.4 kB / 0.7903 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.4876, allocations: 0.677 MB / 0.791 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.165e-05/0.4876, allocations: 0 / 0.791 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.4877, allocations: 15.44 kB / 0.791 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.4877, allocations: 0 / 0.791 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.515, allocations: 0.8008 MB / 0.7918 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/0.5154, allocations: 198.4 kB / 0.792 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/3.602, allocations: 0 / 0.792 GB, free: 6.645 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 & /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) Environment - environmentSimulation: