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.33/1.33, allocations: 252 MB / 267 MB, free: 10.98 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.00102/0.00102, allocations: 186.8 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0008816/0.0008818, allocations: 107.9 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005171, allocations: 15.14 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2411, allocations: 106.4 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006502/0.2418, allocations: 326 kB / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.242, allocations: 29.28 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.031e-05/0.242, allocations: 3.938 kB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.242, allocations: 0 / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.2421, allocations: 0 / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.2423, allocations: 19.92 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.2423, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.2424, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.2424, allocations: 4 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.2425, allocations: 3.984 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.2425, allocations: 4 kB / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.2426, allocations: 19.97 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.2426, allocations: 0 / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.2426, allocations: 25.7 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.881e-05/0.2427, allocations: 7.984 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2427, allocations: 3.938 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2427, allocations: 0 / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2427, allocations: 4 kB / 0.9008 GB, free: 63.38 MB / 0.6042 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.000216/0.2429, allocations: 311.4 kB / 0.901 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.243, allocations: 12.03 kB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.243, allocations: 38.56 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.243, allocations: 0 / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.792e-05/0.2431, allocations: 167 kB / 0.9013 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.2431, allocations: 0 / 0.9013 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.2431, allocations: 0 / 0.9013 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.2432, allocations: 29.7 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.2432, allocations: 0 / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.2432, allocations: 0 / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2433, allocations: 0 / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.2433, allocations: 4 kB / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.2434, allocations: 157.6 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.2434, allocations: 18.52 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.2434, allocations: 4.859 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.2435, allocations: 4.094 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2435, allocations: 30.56 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.512e-06/0.2435, allocations: 0 / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.2436, allocations: 45.58 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.2437, allocations: 59.39 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.061e-05/0.2437, allocations: 89.86 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.2437, allocations: 25.7 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.2437, allocations: 80.14 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2438, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-06/0.2438, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.2438, allocations: 310.8 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.2438, allocations: 8.125 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-06/0.2438, allocations: 0 / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.598e-05/0.2439, allocations: 3.953 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2439, allocations: 0 / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.524e-05/0.2439, allocations: 41.69 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2439, allocations: 4 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.2439, allocations: 0 / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.244, allocations: 0 / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.244, allocations: 11.94 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.244, allocations: 4.094 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.2441, allocations: 0 / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2441, allocations: 0 / 0.9021 GB, free: 61.72 MB / 0.6042 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 4.654e-05/0.2441, allocations: 113.8 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.2441, allocations: 3.938 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.2442, allocations: 40.81 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2442, allocations: 4.031 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2442, allocations: 4 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2443, allocations: 0 / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.099e-05/0.2443, allocations: 145.7 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2443, allocations: 3.953 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.2444, allocations: 0 / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2444, allocations: 4 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.2444, allocations: 0 / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2444, allocations: 0 / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2444, allocations: 3.938 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.248e-05/0.2445, allocations: 65.12 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.2445, allocations: 81.06 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.2445, allocations: 0 / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.2445, allocations: 3.938 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.2445, allocations: 0 / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2445, allocations: 4 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.246e-05/0.2446, allocations: 75.28 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2446, allocations: 0 / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002291/0.2448, allocations: 8.031 kB / 0.9027 GB, free: 61.07 MB / 0.6042 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.0002401/0.245, allocations: 0.6007 MB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.61e-05/0.2451, allocations: 8 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2451, allocations: 0 / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-06/0.2451, allocations: 4.094 kB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.2453, allocations: 11.98 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.2455, allocations: 98.45 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.11e-05/0.2456, allocations: 0.677 MB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.2457, allocations: 3.984 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.2457, allocations: 15.44 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2457, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009782/0.2555, allocations: 0.8305 MB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/0.2557, allocations: 202.7 kB / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/1.705, allocations: 3.938 kB / 0.9051 GB, free: 58.63 MB / 0.6042 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)