Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.371/1.371, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0009109/0.0009108, allocations: 179.3 kB / 372.3 MB, free: 10.12 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.08/1.08, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000742/0.0007419, allocations: 90.8 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 16.84 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001143/0.1492, allocations: 1.145 MB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.1494, allocations: 96.62 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.1495, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.1495, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.069e-05/0.1496, allocations: 7.922 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.1497, allocations: 12 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.1498, allocations: 23.92 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.1499, allocations: 7.984 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.1499, allocations: 7.984 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.947e-05/0.1499, allocations: 15.92 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.15, allocations: 0 / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.15, allocations: 19.98 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.1501, allocations: 7.938 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1501, allocations: 29.64 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.556e-05/0.1502, allocations: 27.89 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1502, allocations: 4 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1502, allocations: 0 / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.1502, allocations: 0 / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002993/0.1505, allocations: 347.7 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1505, allocations: 8.031 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.1506, allocations: 30.75 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.1506, allocations: 4.938 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.815e-05/0.1507, allocations: 176.3 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1507, allocations: 4.375 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1507, allocations: 384 / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1509, allocations: 58.17 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1509, allocations: 3.938 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.1509, allocations: 0 / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1509, allocations: 4 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1511, allocations: 51.89 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.1513, allocations: 253 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1514, allocations: 54.48 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.1515, allocations: 28.91 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.1515, allocations: 4 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.1515, allocations: 30.56 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.1515, allocations: 4 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003129/0.1519, allocations: 105.6 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.1519, allocations: 55.53 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.458e-05/0.1519, allocations: 109.8 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.152, allocations: 25.7 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.152, allocations: 84.14 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.152, allocations: 15.83 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.152, allocations: 0 / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.1521, allocations: 310.8 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.1521, allocations: 27.98 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.1522, allocations: 19.98 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1524, allocations: 60.81 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1524, allocations: 7.938 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001717/0.1525, allocations: 81.5 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1526, allocations: 9.719 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1526, allocations: 4.031 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1526, allocations: 0 / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.1527, allocations: 11.98 kB / 0.9835 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1527, allocations: 0 / 0.9835 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.1527, allocations: 8 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1527, allocations: 0 / 0.9835 GB, free: 23.66 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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.422e-05/0.1528, allocations: 123.5 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1528, allocations: 8 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.153, allocations: 89.12 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.153, allocations: 0 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.153, allocations: 0 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.153, allocations: 32 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.894e-05/0.1532, allocations: 169.6 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1532, allocations: 0 / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.1532, allocations: 11.98 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1532, allocations: 0 / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1532, allocations: 0 / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1532, allocations: 7.922 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1532, allocations: 0 / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.1534, allocations: 183.4 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.1535, allocations: 85.02 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1535, allocations: 0 / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.1536, allocations: 12.02 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.1536, allocations: 4 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1536, allocations: 0 / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.371e-05/0.1536, allocations: 87.52 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1536, allocations: 0 / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001994/0.1538, allocations: 12 kB / 0.9842 GB, free: 22.79 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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.0003401/0.1542, allocations: 0.7085 MB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1544, allocations: 59.92 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1544, allocations: 0 / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.1545, allocations: 23.98 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1547, allocations: 4 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.155, allocations: 154.4 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.515e-05/0.1551, allocations: 0.681 MB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.1552, allocations: 8 kB / 0.9858 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.1552, allocations: 7.438 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.1552, allocations: 0 / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.27/2.425, allocations: 1.163 MB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/2.425, allocations: 187.4 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/3.958, allocations: 0 / 0.9871 GB, free: 19.79 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)