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.5313/0.5313, allocations: 94.78 MB / 102.2 MB, free: 10.13 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.001363/0.001363, allocations: 172 kB / 125.5 MB, free: 11.89 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.571/1.571, allocations: 170.6 MB / 319.4 MB, free: 9.379 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.001727/0.001727, allocations: 120.9 kB / 381.4 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.272e-05, allocations: 8 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 61.52 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5274/0.7018, allocations: 92.66 MB / 0.5892 GB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.7022, allocations: 73.02 kB / 0.5892 GB, free: 9.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003571/0.7058, allocations: 1.157 MB / 0.5904 GB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7059, allocations: 0 / 0.5904 GB, free: 8.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.7059, allocations: 1.391 kB / 0.5904 GB, free: 8.09 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.0003006/0.7062, allocations: 307.5 kB / 0.5907 GB, free: 7.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.7062, allocations: 8.031 kB / 0.5907 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.7063, allocations: 6.641 kB / 0.5907 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.7064, allocations: 167.1 kB / 0.5908 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.7064, allocations: 0.9688 kB / 0.5908 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.7065, allocations: 4.688 kB / 0.5908 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.784e-05/0.7065, allocations: 7.453 kB / 0.5908 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.213e-05/0.7066, allocations: 29.7 kB / 0.5909 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7066, allocations: 3.703 kB / 0.5909 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7066, allocations: 1 kB / 0.5909 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.7066, allocations: 0 / 0.5909 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.7068, allocations: 134.6 kB / 0.591 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.7069, allocations: 23.14 kB / 0.591 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.7069, allocations: 5.766 kB / 0.591 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.7069, allocations: 4.062 kB / 0.591 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.707, allocations: 36 kB / 0.5911 GB, free: 7.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.707, allocations: 0.625 kB / 0.5911 GB, free: 7.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006697/0.7077, allocations: 246.6 kB / 0.5913 GB, free: 6.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.7077, allocations: 59.34 kB / 0.5914 GB, free: 6.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.7078, allocations: 85.84 kB / 0.5914 GB, free: 6.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.7078, allocations: 25.7 kB / 0.5915 GB, free: 6.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.7078, allocations: 84.86 kB / 0.5915 GB, free: 6.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.7079, allocations: 13.7 kB / 0.5916 GB, free: 6.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.7079, allocations: 1.656 kB / 0.5916 GB, free: 6.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.708, allocations: 315.5 kB / 0.5919 GB, free: 6.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.7081, allocations: 6.562 kB / 0.5919 GB, free: 6.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.7081, allocations: 14.97 kB / 0.5919 GB, free: 6.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.7082, allocations: 17.11 kB / 0.5919 GB, free: 6.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7082, allocations: 0 / 0.5919 GB, free: 6.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001111/0.7083, allocations: 42.14 kB / 0.5919 GB, free: 6.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7083, allocations: 10.22 kB / 0.5919 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7083, allocations: 3.984 kB / 0.592 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7084, allocations: 0 / 0.592 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.7084, allocations: 9.594 kB / 0.592 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.7084, allocations: 0.75 kB / 0.592 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.7085, allocations: 5.609 kB / 0.592 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.7085, allocations: 4 kB / 0.592 GB, free: 6.23 MB / 410.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 7.845e-05/0.7086, allocations: 101.8 kB / 0.5921 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.7086, allocations: 4.562 kB / 0.5921 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.7088, allocations: 56.23 kB / 0.5921 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7088, allocations: 3.938 kB / 0.5921 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7088, allocations: 0.5938 kB / 0.5921 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7088, allocations: 0.75 kB / 0.5921 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.7089, allocations: 140.2 kB / 0.5923 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7089, allocations: 0.5625 kB / 0.5923 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.709, allocations: 4 kB / 0.5923 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.709, allocations: 1.219 kB / 0.5923 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.709, allocations: 0 / 0.5923 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.709, allocations: 4 kB / 0.5923 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7091, allocations: 0.875 kB / 0.5923 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.7092, allocations: 88.2 kB / 0.5924 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.7093, allocations: 77.11 kB / 0.5924 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.7093, allocations: 0 / 0.5924 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.7093, allocations: 0 / 0.5924 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.7094, allocations: 9.312 kB / 0.5924 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.7094, allocations: 3.984 kB / 0.5924 GB, free: 5.672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.111e-05/0.7094, allocations: 76 kB / 0.5925 GB, free: 5.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.512e-06/0.7094, allocations: 3.938 kB / 0.5925 GB, free: 5.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.7096, allocations: 20.19 kB / 0.5925 GB, free: 5.574 MB / 410.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.0001894/0.7098, allocations: 123.2 kB / 0.5927 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.7099, allocations: 11.98 kB / 0.5927 GB, free: 5.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7099, allocations: 0 / 0.5927 GB, free: 5.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.71, allocations: 12 kB / 0.5927 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.7101, allocations: 3.953 kB / 0.5927 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.7104, allocations: 67.77 kB / 0.5928 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.7107, allocations: 0.6769 MB / 0.5934 GB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.7107, allocations: 8.625 kB / 0.5934 GB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.7108, allocations: 11.44 kB / 0.5934 GB, free: 4.617 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7108, allocations: 4 kB / 0.5934 GB, free: 4.613 MB / 410.7 MB Notification: Performance of Templates: time 0.002564/0.7134, allocations: 481 kB / 0.5939 GB, free: 4.18 MB / 410.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)