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/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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000993/0.0009932, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009783/0.009783, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.792/1.792, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6405/0.6405, allocations: 95.64 MB / 366.4 MB, free: 10.29 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006787/0.0006787, allocations: 12 kB / 447.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3663, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.0006907/0.3671, allocations: 281 kB / 0.5059 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.3675, allocations: 154.6 kB / 0.5061 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.004e-05/0.3675, allocations: 0 / 0.5061 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.3676, allocations: 4 kB / 0.5061 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.3676, allocations: 0 / 0.5061 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3679, allocations: 27.97 kB / 0.5061 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.3679, allocations: 11.92 kB / 0.5061 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.368, allocations: 0 / 0.5061 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.368, allocations: 7.938 kB / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.3681, allocations: 4 kB / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.3681, allocations: 0 / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3682, allocations: 39.95 kB / 0.5062 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.3682, allocations: 11.97 kB / 0.5062 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.3682, allocations: 29.7 kB / 0.5062 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3683, allocations: 31.91 kB / 0.5063 GB, free: 15.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3684, allocations: 4 kB / 0.5063 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3684, allocations: 0 / 0.5063 GB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.3684, allocations: 0 / 0.5063 GB, free: 15.75 MB / 382.1 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.0002328/0.3686, allocations: 323.5 kB / 0.5066 GB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3687, allocations: 15.98 kB / 0.5066 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.3687, allocations: 4.844 kB / 0.5066 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.967e-05/0.3688, allocations: 160.4 kB / 0.5067 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3688, allocations: 384 / 0.5067 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3688, allocations: 7.938 kB / 0.5067 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.3689, allocations: 37.69 kB / 0.5068 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.3689, allocations: 0 / 0.5068 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3689, allocations: 0 / 0.5068 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.3689, allocations: 0 / 0.5068 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.369, allocations: 11.94 kB / 0.5068 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.3691, allocations: 145.7 kB / 0.5069 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.315e-05/0.3691, allocations: 26.55 kB / 0.507 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.3691, allocations: 8.922 kB / 0.507 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.3692, allocations: 11.92 kB / 0.507 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3692, allocations: 34.56 kB / 0.507 GB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3692, allocations: 0 / 0.507 GB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004951/0.3697, allocations: 252.4 kB / 0.5073 GB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3698, allocations: 51.41 kB / 0.5073 GB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.998e-05/0.3698, allocations: 90.08 kB / 0.5074 GB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.3698, allocations: 33.64 kB / 0.5074 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.3698, allocations: 80.14 kB / 0.5075 GB, free: 14.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3699, allocations: 15.81 kB / 0.5075 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.3699, allocations: 13.7 kB / 0.5075 GB, free: 14.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.3699, allocations: 310.8 kB / 0.5078 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.37, allocations: 4 kB / 0.5078 GB, free: 13.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.37, allocations: 17.72 kB / 0.5078 GB, free: 13.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.37, allocations: 33.7 kB / 0.5079 GB, free: 13.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.37, allocations: 0 / 0.5079 GB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.881e-05/0.3701, allocations: 53.56 kB / 0.5079 GB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3701, allocations: 8 kB / 0.5079 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3701, allocations: 0 / 0.5079 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3702, allocations: 0 / 0.5079 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3702, allocations: 12 kB / 0.5079 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3702, allocations: 3.938 kB / 0.5079 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.3703, allocations: 4.062 kB / 0.508 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3703, allocations: 4 kB / 0.508 GB, free: 13.74 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.3704, allocations: 117.7 kB / 0.5081 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.3704, allocations: 4.141 kB / 0.5081 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3705, allocations: 61.16 kB / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3705, allocations: 0 / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3705, allocations: 0 / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3705, allocations: 0 / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.536e-05/0.3706, allocations: 157.6 kB / 0.5083 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3706, allocations: 0 / 0.5083 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.3707, allocations: 4 kB / 0.5083 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3707, allocations: 4 kB / 0.5083 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3707, allocations: 0 / 0.5083 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3707, allocations: 0 / 0.5083 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3707, allocations: 3.984 kB / 0.5083 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.3708, allocations: 85 kB / 0.5084 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3709, allocations: 77.11 kB / 0.5084 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.3709, allocations: 0 / 0.5084 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.3709, allocations: 4.031 kB / 0.5085 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.371, allocations: 3.984 kB / 0.5085 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.371, allocations: 4 kB / 0.5085 GB, free: 13.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.667e-05/0.371, allocations: 79.22 kB / 0.5085 GB, free: 13.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.371, allocations: 4.062 kB / 0.5085 GB, free: 13.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.3712, allocations: 12 kB / 0.5085 GB, free: 13.02 MB / 382.1 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 () * Number of clocked 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 (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.0001453/0.3714, allocations: 111.2 kB / 0.5087 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.869e-05/0.3715, allocations: 23.92 kB / 0.5087 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3715, allocations: 0 / 0.5087 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.3715, allocations: 8 kB / 0.5087 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3717, allocations: 7.922 kB / 0.5087 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.3719, allocations: 116.9 kB / 0.5088 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.372, allocations: 0.677 MB / 0.5095 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.3721, allocations: 4 kB / 0.5095 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3721, allocations: 11.44 kB / 0.5095 GB, free: 12 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3721, allocations: 0 / 0.5095 GB, free: 12 MB / 382.1 MB Notification: Performance of Templates: time 0.002381/0.3745, allocations: 0.5042 MB / 0.51 GB, free: 11.5 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: