Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009019/0.000902, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001138/0.001138, allocations: 168.7 kB / 15.95 MB, free: 204 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.77/1.77, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.85/1.85, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005572/0.0005573, allocations: 22.12 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2828, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001844/0.2847, allocations: 1.152 MB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.285, allocations: 88.69 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.2851, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.165e-05/0.2851, allocations: 7.922 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.2852, allocations: 4 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2854, allocations: 11.98 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.2855, allocations: 19.94 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.227e-05/0.2856, allocations: 7.984 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.2856, allocations: 15.94 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.2857, allocations: 7.969 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2857, allocations: 7.938 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.2858, allocations: 15.98 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.2858, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2859, allocations: 29.7 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.286, allocations: 23.95 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.286, allocations: 4 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.286, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.286, allocations: 0 / 0.7886 GB, free: 10.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000509/0.2865, allocations: 347.5 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2866, allocations: 12.03 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.2866, allocations: 0 / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2868, allocations: 167 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2868, allocations: 4 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2868, allocations: 3.984 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.287, allocations: 57.62 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.287, allocations: 7.984 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2871, allocations: 0 / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2871, allocations: 4 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.2872, allocations: 39.97 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.2876, allocations: 268.8 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.2878, allocations: 46.55 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.2879, allocations: 36.84 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.2879, allocations: 4 kB / 0.7896 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.288, allocations: 30.56 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.288, allocations: 0 / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.2883, allocations: 113.6 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2884, allocations: 51.41 kB / 0.7898 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.2885, allocations: 105.8 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2885, allocations: 25.7 kB / 0.7899 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.2886, allocations: 84.14 kB / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.2886, allocations: 15.97 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2886, allocations: 0 / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2887, allocations: 318.8 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/0.2888, allocations: 23.98 kB / 0.7903 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.2889, allocations: 19.98 kB / 0.7903 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.289, allocations: 32.03 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.289, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001946/0.2892, allocations: 81.66 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2892, allocations: 10.75 kB / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2892, allocations: 0 / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2893, allocations: 0 / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.2893, allocations: 8 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.2894, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.2894, allocations: 11.98 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2894, allocations: 0 / 0.7905 GB, free: 8.398 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 (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 7.824e-05/0.2895, allocations: 121.8 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.2895, allocations: 3.906 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.2898, allocations: 89.17 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2898, allocations: 4.031 kB / 0.7907 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2898, allocations: 0 / 0.7907 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2898, allocations: 3.938 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.29, allocations: 169.6 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.29, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.2901, allocations: 11.94 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2901, allocations: 0 / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2901, allocations: 0 / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2901, allocations: 3.984 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2901, allocations: 0 / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.2904, allocations: 179.7 kB / 0.791 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.2904, allocations: 81.11 kB / 0.7911 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2904, allocations: 4 kB / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.2905, allocations: 12.02 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.2906, allocations: 4 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2906, allocations: 3.938 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.2906, allocations: 83.28 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2906, allocations: 0 / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.2909, allocations: 15.89 kB / 0.7912 GB, free: 7.52 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 (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.0001508/0.291, allocations: 103.2 kB / 0.7913 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.2913, allocations: 47.91 kB / 0.7914 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2913, allocations: 0 / 0.7914 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/0.2914, allocations: 36.03 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2916, allocations: 7.891 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.2919, allocations: 120.7 kB / 0.7915 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.2922, allocations: 0.677 MB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.2922, allocations: 4 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.2923, allocations: 15.44 kB / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2923, allocations: 0 / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of Templates: time 0.002565/0.2948, allocations: 464.5 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1) Environment - environmentSimulation: