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.866/2.866, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001584/0.001584, allocations: 185 kB / 370.8 MB, free: 10.87 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.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001098/0.001098, allocations: 105.1 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004926, allocations: 13.83 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2282, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007882/0.2291, allocations: 321.8 kB / 0.9785 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.2293, allocations: 33.58 kB / 0.9785 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.015e-05/0.2293, allocations: 0 / 0.9785 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.2294, allocations: 0 / 0.9785 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.2294, allocations: 0 / 0.9785 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2296, allocations: 7.984 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.762e-05/0.2297, allocations: 4 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.2297, allocations: 7.922 kB / 0.9786 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.531e-05/0.2297, allocations: 4 kB / 0.9786 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.2298, allocations: 8 kB / 0.9786 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.2298, allocations: 3.938 kB / 0.9786 GB, free: 28.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.2299, allocations: 7.984 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-06/0.2299, allocations: 0 / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.23, allocations: 25.7 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.466e-05/0.23, allocations: 15.98 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.23, allocations: 0 / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2301, allocations: 0 / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.2301, allocations: 0 / 0.9786 GB, free: 27.96 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.0002333/0.2303, allocations: 319.4 kB / 0.9789 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2304, allocations: 12.02 kB / 0.9789 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.2304, allocations: 7.938 kB / 0.9789 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.534e-05/0.2305, allocations: 163 kB / 0.9791 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2305, allocations: 0 / 0.9791 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2305, allocations: 0 / 0.9791 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.116e-05/0.2306, allocations: 33.64 kB / 0.9791 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2306, allocations: 0 / 0.9791 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2306, allocations: 3.984 kB / 0.9791 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2307, allocations: 0 / 0.9791 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.2307, allocations: 8 kB / 0.9791 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.2308, allocations: 149.6 kB / 0.9793 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.722e-05/0.2309, allocations: 14.58 kB / 0.9793 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.2309, allocations: 4.094 kB / 0.9793 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.2309, allocations: 34.5 kB / 0.9793 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.2309, allocations: 0 / 0.9793 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.2311, allocations: 41.69 kB / 0.9794 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.2311, allocations: 55.41 kB / 0.9794 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.22e-05/0.2311, allocations: 89.86 kB / 0.9795 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.2312, allocations: 25.7 kB / 0.9795 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.481e-05/0.2312, allocations: 80.14 kB / 0.9796 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2312, allocations: 3.906 kB / 0.9796 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-06/0.2312, allocations: 0 / 0.9796 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.2313, allocations: 310.8 kB / 0.9799 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.2313, allocations: 128 / 0.9799 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-06/0.2313, allocations: 8 kB / 0.9799 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.2314, allocations: 0 / 0.9799 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2314, allocations: 0 / 0.9799 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.11e-05/0.2315, allocations: 49.58 kB / 0.98 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2315, allocations: 4 kB / 0.98 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2315, allocations: 0 / 0.98 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2315, allocations: 0 / 0.98 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.2316, allocations: 4 kB / 0.98 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2316, allocations: 0 / 0.98 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.2316, allocations: 8.031 kB / 0.98 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.2316, allocations: 0 / 0.98 GB, free: 26.34 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 5.373e-05/0.2317, allocations: 111.9 kB / 0.9801 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.2317, allocations: 7.938 kB / 0.9801 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.2318, allocations: 44.7 kB / 0.9801 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2319, allocations: 0 / 0.9801 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2319, allocations: 4.031 kB / 0.9801 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2319, allocations: 7.984 kB / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.707e-05/0.232, allocations: 145.7 kB / 0.9803 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.232, allocations: 0 / 0.9803 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.232, allocations: 0 / 0.9803 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.232, allocations: 7.953 kB / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2321, allocations: 0 / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2321, allocations: 0 / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2321, allocations: 0 / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.56e-05/0.2321, allocations: 65.12 kB / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.2322, allocations: 77.39 kB / 0.9804 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2322, allocations: 7.953 kB / 0.9804 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.598e-05/0.2322, allocations: 0 / 0.9804 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.2322, allocations: 3.938 kB / 0.9804 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.2323, allocations: 4 kB / 0.9804 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.2323, allocations: 75.28 kB / 0.9805 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2323, allocations: 0 / 0.9805 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002339/0.2325, allocations: 7.984 kB / 0.9805 GB, free: 25.69 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.0001381/0.2327, allocations: 107.3 kB / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.2328, allocations: 4 kB / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2328, allocations: 0 / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.2328, allocations: 0 / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.2329, allocations: 7.938 kB / 0.9806 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/0.2331, allocations: 82.81 kB / 0.9807 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2332, allocations: 0.677 MB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.2333, allocations: 3.938 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.2333, allocations: 7.438 kB / 0.9814 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2333, allocations: 0 / 0.9814 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.002551/0.2359, allocations: 276 kB / 0.9817 GB, free: 24.47 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)