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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 100.2 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.001249/0.001249, 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 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.648 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 1.794/1.794, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000538/0.0005381, allocations: 19.22 kB / 0.6736 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.275, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0008906/0.2759, allocations: 317.8 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.2762, allocations: 41.56 kB / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.2762, allocations: 0 / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2762, allocations: 0 / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.889e-06/0.2763, allocations: 0 / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.2766, allocations: 4 kB / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.2767, allocations: 0 / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.334e-05/0.2768, allocations: 7.984 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.2768, allocations: 4 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.2769, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2769, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.277, allocations: 15.92 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.836e-06/0.277, allocations: 4 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.2771, allocations: 29.7 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.156e-05/0.2772, allocations: 15.97 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2772, allocations: 0 / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2772, allocations: 0 / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2772, allocations: 0 / 0.7875 GB, free: 11.54 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.0003595/0.2775, allocations: 311.3 kB / 0.7878 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2776, allocations: 16.08 kB / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.2777, allocations: 0 / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2778, allocations: 167 kB / 0.788 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2778, allocations: 0 / 0.788 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.2778, allocations: 0 / 0.788 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.278, allocations: 33.64 kB / 0.788 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.278, allocations: 0 / 0.788 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.278, allocations: 0 / 0.788 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.278, allocations: 0 / 0.788 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.2781, allocations: 3.938 kB / 0.788 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.2783, allocations: 157.6 kB / 0.7882 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.2783, allocations: 18.58 kB / 0.7882 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.2784, allocations: 4.094 kB / 0.7882 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2784, allocations: 30.56 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.2784, allocations: 0 / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001952/0.2786, allocations: 45.61 kB / 0.7883 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2787, allocations: 51.41 kB / 0.7883 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.2788, allocations: 89.86 kB / 0.7884 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.2788, allocations: 33.83 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.2788, allocations: 80.14 kB / 0.7885 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.2789, allocations: 3.906 kB / 0.7885 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.2789, allocations: 0 / 0.7885 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.279, allocations: 310.8 kB / 0.7888 GB, free: 10 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.279, allocations: 0 / 0.7888 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-06/0.279, allocations: 4 kB / 0.7888 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.931e-05/0.2791, allocations: 0 / 0.7888 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2791, allocations: 4.062 kB / 0.7888 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.919e-05/0.2791, allocations: 49.58 kB / 0.7889 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2792, allocations: 4 kB / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2792, allocations: 0 / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2792, allocations: 0 / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.2793, allocations: 4 kB / 0.7889 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2793, allocations: 0 / 0.7889 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.2793, allocations: 0 / 0.7889 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.2793, allocations: 3.938 kB / 0.7889 GB, free: 9.926 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 8.967e-05/0.2794, allocations: 109.9 kB / 0.789 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.2794, allocations: 7.953 kB / 0.789 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.2796, allocations: 40.81 kB / 0.7891 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-06/0.2796, allocations: 0 / 0.7891 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2796, allocations: 0 / 0.7891 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2796, allocations: 0 / 0.7891 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.2797, allocations: 149.7 kB / 0.7892 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2797, allocations: 4 kB / 0.7892 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.2797, allocations: 7.969 kB / 0.7892 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2797, allocations: 0 / 0.7892 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2797, allocations: 7.953 kB / 0.7892 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2798, allocations: 0 / 0.7892 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2798, allocations: 3.938 kB / 0.7892 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.358e-05/0.2798, allocations: 57.12 kB / 0.7893 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.2799, allocations: 81.39 kB / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2799, allocations: 4.031 kB / 0.7894 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.2799, allocations: 3.953 kB / 0.7894 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.2799, allocations: 0 / 0.7894 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.28, allocations: 0 / 0.7894 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.28, allocations: 75.28 kB / 0.7894 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.28, allocations: 0 / 0.7894 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001953/0.2802, allocations: 8 kB / 0.7894 GB, free: 9.27 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.0001863/0.2804, allocations: 106 kB / 0.7895 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.316e-05/0.2805, allocations: 11.94 kB / 0.7896 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2805, allocations: 0 / 0.7896 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/0.2805, allocations: 4 kB / 0.7896 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.686e-05/0.2806, allocations: 7.938 kB / 0.7896 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.2808, allocations: 74.7 kB / 0.7896 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2811, allocations: 0.677 MB / 0.7903 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.2811, allocations: 4.125 kB / 0.7903 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.2811, allocations: 7.438 kB / 0.7903 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2811, allocations: 0 / 0.7903 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.002289/0.2834, allocations: 277.1 kB / 0.7906 GB, free: 8.051 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: