Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.656/2.656, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001274/0.001273, allocations: 186.3 kB / 371 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.116/2.116, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.000958/0.0009574, allocations: 91.52 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005007, allocations: 17.95 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002425/0.2943, allocations: 1.144 MB / 0.9795 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004538/0.2948, allocations: 96.62 kB / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.2949, allocations: 4 kB / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.123e-05/0.295, allocations: 0 / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.2951, allocations: 3.938 kB / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2954, allocations: 11.98 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.2955, allocations: 23.92 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2956, allocations: 4 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.488e-05/0.2957, allocations: 7.938 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.2957, allocations: 15.97 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2958, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2959, allocations: 23.92 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.296, allocations: 7.984 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.296, allocations: 25.7 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2962, allocations: 19.97 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2962, allocations: 0 / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2962, allocations: 3.938 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.2962, allocations: 0 / 0.9797 GB, free: 26.99 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00062/0.2969, allocations: 355.5 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.2969, allocations: 12.02 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.297, allocations: 0 / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2972, allocations: 171 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.2972, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.2972, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.2976, allocations: 61.61 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2976, allocations: 4 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2977, allocations: 4 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2977, allocations: 0 / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.2982, allocations: 47.95 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.2987, allocations: 260.8 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.2991, allocations: 54.47 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.2993, allocations: 28.91 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.2994, allocations: 0 / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2995, allocations: 38.56 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/0.2995, allocations: 0 / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0008546/0.3003, allocations: 105.7 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3004, allocations: 55.39 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3005, allocations: 101.9 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3006, allocations: 25.7 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.3006, allocations: 88.12 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3007, allocations: 15.78 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.3007, allocations: 0 / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.3008, allocations: 314.8 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.301, allocations: 28.02 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.3013, allocations: 23.97 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3015, allocations: 28.05 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3016, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005699/0.3021, allocations: 77.66 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3022, allocations: 4 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3022, allocations: 0 / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.3023, allocations: 8.031 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3025, allocations: 15.92 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3025, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3026, allocations: 4 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3027, allocations: 3.984 kB / 0.9816 GB, free: 24.88 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 (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 0.0001017/0.3028, allocations: 127 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.3029, allocations: 3.906 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.3035, allocations: 89.19 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3035, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3035, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3035, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3038, allocations: 173.6 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3038, allocations: 0 / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.304, allocations: 11.98 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.304, allocations: 4 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3041, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3041, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3041, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.3047, allocations: 183.7 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.3047, allocations: 77.11 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3048, allocations: 4 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.305, allocations: 11.98 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.3051, allocations: 4.031 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3051, allocations: 0 / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.049e-05/0.3052, allocations: 91.27 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/0.3052, allocations: 0 / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004865/0.3057, allocations: 11.91 kB / 0.9823 GB, free: 24 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 (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.0002586/0.306, allocations: 99.19 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005424/0.3065, allocations: 55.95 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3066, allocations: 3.938 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.3068, allocations: 23.98 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.3073, allocations: 7.953 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.3077, allocations: 116.8 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3079, allocations: 0.6848 MB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.3079, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3079, allocations: 7.438 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of SimCode: time 8.32e-07/0.3079, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.003194/0.3111, allocations: 468.9 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)