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.001477/0.001477, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001397/0.001398, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.893/1.893, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.002173/0.002174, allocations: 63.91 kB / 0.6721 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2812, allocations: 114.6 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.003422/0.2847, allocations: 1.43 MB / 0.7854 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.2851, allocations: 92.62 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.2851, allocations: 3.938 kB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.937e-05/0.2852, allocations: 0 / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.2853, allocations: 7.938 kB / 0.7855 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.2855, allocations: 11.98 kB / 0.7855 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.2856, allocations: 27.92 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2857, allocations: 7.984 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.2858, allocations: 15.91 kB / 0.7856 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.2858, allocations: 15.94 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2859, allocations: 4 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.286, allocations: 19.97 kB / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.286, allocations: 4 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.2861, allocations: 11.94 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.2862, allocations: 39.83 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2862, allocations: 0 / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2862, allocations: 0 / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2862, allocations: 0 / 0.7857 GB, free: 2.188 MB / 0.6544 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.0005203/0.2868, allocations: 347.7 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2868, allocations: 8.031 kB / 0.786 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.2868, allocations: 8.875 kB / 0.786 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.287, allocations: 172.3 kB / 0.7862 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.287, allocations: 384 / 0.7862 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.287, allocations: 4.375 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2872, allocations: 50.23 kB / 0.7862 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2872, allocations: 192 / 0.7862 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2873, allocations: 3.938 kB / 0.7862 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2873, allocations: 4 kB / 0.7862 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.2875, allocations: 43.91 kB / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.2878, allocations: 245 kB / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.288, allocations: 46.48 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.2881, allocations: 28.91 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.2881, allocations: 4 kB / 0.7866 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2881, allocations: 30.56 kB / 0.7866 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2881, allocations: 0 / 0.7866 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003771/0.2885, allocations: 89.58 kB / 0.7867 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.2886, allocations: 55.53 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.2887, allocations: 105.8 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2887, allocations: 29.64 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.2888, allocations: 88.12 kB / 0.787 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.2888, allocations: 11.84 kB / 0.787 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.2888, allocations: 9.719 kB / 0.787 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.289, allocations: 318.8 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.2891, allocations: 15.98 kB / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.2891, allocations: 24.22 kB / 0.7873 GB, free: 268 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2893, allocations: 40.77 kB / 0.7874 GB, free: 224 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2893, allocations: 4 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.2895, allocations: 81.56 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2895, allocations: 6.5 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2895, allocations: 0 / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2896, allocations: 0 / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.2897, allocations: 11.98 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2897, allocations: 0 / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.2897, allocations: 11.98 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.2897, allocations: 0 / 0.7875 GB, free: 104 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.4351/0.7249, allocations: 111.7 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.7249, allocations: 1.25 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.7253, allocations: 75.81 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7253, allocations: 3.062 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7253, allocations: 2.625 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7253, allocations: 1.078 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.7255, allocations: 161.5 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7255, allocations: 0.6562 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.7256, allocations: 10.86 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7256, allocations: 0.5312 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.7256, allocations: 6.938 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7256, allocations: 0.6562 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7256, allocations: 0 / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.7258, allocations: 170 kB / 0.788 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.7259, allocations: 81.33 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.7259, allocations: 3.938 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.726, allocations: 9.516 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.726, allocations: 7.266 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.726, allocations: 2.625 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.7261, allocations: 92.06 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7261, allocations: 0 / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000282/0.7264, allocations: 11.56 kB / 0.7882 GB, free: 48.02 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001512/0.7265, allocations: 101.3 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.7268, allocations: 40.31 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7268, allocations: 0.5938 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.7269, allocations: 21.75 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.7272, allocations: 7.125 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.7275, allocations: 134 kB / 0.7885 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.7276, allocations: 0.6847 MB / 0.7892 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.7277, allocations: 7.438 kB / 0.7892 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.7277, allocations: 0 / 0.7892 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.002014/0.7297, allocations: 0.6599 MB / 0.7898 GB, free: 47.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (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)