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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.652/2.652, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001266/0.001266, allocations: 189.8 kB / 371 MB, free: 10.85 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.158/2.158, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.0008837/0.0008832, allocations: 81.38 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006577/0.0006579, allocations: 13.19 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2304, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001031/0.2315, allocations: 327.4 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.2318, allocations: 31.91 kB / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.2318, allocations: 0 / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.2318, allocations: 0 / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.647e-06/0.2319, allocations: 0 / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.2321, allocations: 8 kB / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.711e-05/0.2322, allocations: 4 kB / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.12e-05/0.2323, allocations: 3.984 kB / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.2323, allocations: 7.984 kB / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.2324, allocations: 4 kB / 0.9787 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2324, allocations: 0 / 0.9787 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.2325, allocations: 15.92 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.2326, allocations: 4 kB / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.2326, allocations: 25.7 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.96e-05/0.2327, allocations: 7.984 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2327, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2327, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2328, allocations: 0 / 0.9788 GB, free: 27.91 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002865/0.2331, allocations: 323.4 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2331, allocations: 12.02 kB / 0.9791 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.2332, allocations: 0 / 0.9791 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.2333, allocations: 163 kB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2333, allocations: 0 / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2333, allocations: 4 kB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.2334, allocations: 25.7 kB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2335, allocations: 3.938 kB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2335, allocations: 0 / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2335, allocations: 4 kB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/0.2336, allocations: 7.938 kB / 0.9793 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.2337, allocations: 153.6 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.2338, allocations: 18.61 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.2338, allocations: 4.859 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.2339, allocations: 0 / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.234, allocations: 34.62 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.234, allocations: 4 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001727/0.2342, allocations: 37.62 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2342, allocations: 51.41 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.108e-05/0.2343, allocations: 93.86 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2343, allocations: 25.7 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.2343, allocations: 80.14 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.2344, allocations: 11.84 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.2344, allocations: 0 / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.2345, allocations: 315 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.2345, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.2345, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.2346, allocations: 4 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2346, allocations: 3.953 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.31e-05/0.2347, allocations: 37.62 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2347, allocations: 8 kB / 0.9801 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2348, allocations: 0 / 0.9801 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2348, allocations: 7.984 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.2349, allocations: 4.094 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2349, allocations: 0 / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.235, allocations: 4 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.235, allocations: 4 kB / 0.9802 GB, free: 26.28 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 (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 6.929e-05/0.2351, allocations: 105.8 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.2351, allocations: 3.953 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.2353, allocations: 48.75 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2353, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2353, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2353, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.2355, allocations: 149.7 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2355, allocations: 0 / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.2355, allocations: 7.953 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2356, allocations: 3.938 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2356, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2356, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2356, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.2357, allocations: 69.16 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.2358, allocations: 77.39 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2358, allocations: 3.953 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.2358, allocations: 4 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.2359, allocations: 0 / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2359, allocations: 3.938 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.257e-05/0.2359, allocations: 79.31 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2359, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004304/0.2364, allocations: 4 kB / 0.9807 GB, free: 25.63 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 (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.0002098/0.2366, allocations: 103.2 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.512e-05/0.2367, allocations: 4 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2367, allocations: 0 / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.2368, allocations: 4 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.237, allocations: 7.875 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.2373, allocations: 86.88 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2375, allocations: 0.6692 MB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.494e-05/0.2375, allocations: 0 / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.2376, allocations: 11.44 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of SimCode: time 2.555e-06/0.2376, allocations: 0 / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.003624/0.2412, allocations: 289.2 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (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 & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)