Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5466/0.5466, allocations: 94.7 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00156/0.00156, allocations: 182.8 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.542/1.542, allocations: 170.5 MB / 324.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001642/0.001643, allocations: 105 kB / 386.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.925e-05/4.926e-05, allocations: 7.984 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5269, allocations: 61.52 MB / 0.5054 GB, free: 49.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.6851, allocations: 93.32 MB / 0.5965 GB, free: 2.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/0.6856, allocations: 76.61 kB / 0.5966 GB, free: 2.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004159/0.6898, allocations: 1.158 MB / 0.5977 GB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.863e-06/0.6898, allocations: 4.625 kB / 0.5977 GB, free: 1.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.6899, allocations: 0.6562 kB / 0.5977 GB, free: 1.035 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004762/0.6903, allocations: 308.8 kB / 0.598 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/0.6904, allocations: 12.02 kB / 0.598 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.6905, allocations: 4 kB / 0.598 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.6907, allocations: 159.7 kB / 0.5982 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.6907, allocations: 7.406 kB / 0.5982 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.6908, allocations: 4.453 kB / 0.5982 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.691, allocations: 41.66 kB / 0.5982 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.691, allocations: 0 / 0.5982 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.691, allocations: 7.984 kB / 0.5983 GB, free: 432 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6911, allocations: 0 / 0.5983 GB, free: 432 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.6911, allocations: 0 / 0.5983 GB, free: 432 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.6914, allocations: 149.7 kB / 0.5984 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/0.6915, allocations: 19.58 kB / 0.5984 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.6915, allocations: 15.83 kB / 0.5984 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.6916, allocations: 0 / 0.5984 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.6916, allocations: 36.3 kB / 0.5985 GB, free: 144 kB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6916, allocations: 7.938 kB / 0.5985 GB, free: 136 kB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0009245/0.6926, allocations: 239.9 kB / 0.5987 GB, free: 15.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.6927, allocations: 58.81 kB / 0.5988 GB, free: 15.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.6927, allocations: 89.69 kB / 0.5988 GB, free: 15.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.6928, allocations: 25.7 kB / 0.5989 GB, free: 15.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.6928, allocations: 81.27 kB / 0.5989 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.6929, allocations: 15.75 kB / 0.599 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.6929, allocations: 0.625 kB / 0.599 GB, free: 15.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.6931, allocations: 318.6 kB / 0.5993 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.6931, allocations: 4 kB / 0.5993 GB, free: 15.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.6931, allocations: 22.69 kB / 0.5993 GB, free: 15.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.6932, allocations: 4.719 kB / 0.5993 GB, free: 15.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6932, allocations: 0 / 0.5993 GB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.804e-05/0.6933, allocations: 56.81 kB / 0.5994 GB, free: 15.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6933, allocations: 5.719 kB / 0.5994 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6933, allocations: 0 / 0.5994 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.6933, allocations: 0 / 0.5994 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.6934, allocations: 15.94 kB / 0.5994 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6934, allocations: 0 / 0.5994 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.6935, allocations: 0 / 0.5994 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.6935, allocations: 5.703 kB / 0.5994 GB, free: 15.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.67e-05/0.6936, allocations: 112.8 kB / 0.5995 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.6936, allocations: 3.156 kB / 0.5995 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.6938, allocations: 59.05 kB / 0.5995 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6938, allocations: 1 kB / 0.5995 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6938, allocations: 7.891 kB / 0.5996 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6938, allocations: 4 kB / 0.5996 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.694, allocations: 149.5 kB / 0.5997 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.694, allocations: 0 / 0.5997 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.694, allocations: 11.98 kB / 0.5997 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.694, allocations: 0 / 0.5997 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.6941, allocations: 0 / 0.5997 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6941, allocations: 0 / 0.5997 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6941, allocations: 5.688 kB / 0.5997 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.6942, allocations: 80.92 kB / 0.5998 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.6943, allocations: 81.14 kB / 0.5999 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6943, allocations: 7.984 kB / 0.5999 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.6943, allocations: 0.875 kB / 0.5999 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.6944, allocations: 2.562 kB / 0.5999 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.6944, allocations: 4 kB / 0.5999 GB, free: 14.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.6944, allocations: 75.28 kB / 0.6 GB, free: 14.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6944, allocations: 0 / 0.6 GB, free: 14.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000215/0.6947, allocations: 19.95 kB / 0.6 GB, free: 14.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002376/0.6949, allocations: 120 kB / 0.6001 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.695, allocations: 23.39 kB / 0.6001 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.695, allocations: 0 / 0.6001 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.695, allocations: 11.98 kB / 0.6001 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.6952, allocations: 3.75 kB / 0.6001 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.6954, allocations: 72.98 kB / 0.6002 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.6957, allocations: 0.6828 MB / 0.6009 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.6958, allocations: 4 kB / 0.6009 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.6958, allocations: 11.44 kB / 0.6009 GB, free: 13.47 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6958, allocations: 0 / 0.6009 GB, free: 13.47 MB / 426.7 MB Notification: Performance of Templates: time 0.002946/0.6988, allocations: 0.5095 MB / 0.6014 GB, free: 13 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe 2>&1)