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.01/0.01, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001496/0.001497, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.778/1.778, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.645/0.645, allocations: 95.47 MB / 365.4 MB, free: 9.777 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.001508/0.001508, allocations: 71.89 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1714, allocations: 69.08 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.001686/0.1731, allocations: 0.5513 MB / 0.5716 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004669/0.1736, allocations: 167.9 kB / 0.5718 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.1736, allocations: 3.938 kB / 0.5718 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.1736, allocations: 0 / 0.5718 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.1736, allocations: 0 / 0.5718 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.174, allocations: 23.92 kB / 0.5718 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.1741, allocations: 11.97 kB / 0.5718 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1741, allocations: 4 kB / 0.5718 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.1741, allocations: 4 kB / 0.5718 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.1742, allocations: 7.938 kB / 0.5718 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1742, allocations: 0 / 0.5718 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1744, allocations: 51.89 kB / 0.5719 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1744, allocations: 0 / 0.5719 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1744, allocations: 11.97 kB / 0.5719 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1745, allocations: 31.97 kB / 0.5719 GB, free: 7.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1745, allocations: 0 / 0.5719 GB, free: 7.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1746, allocations: 0 / 0.5719 GB, free: 7.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1746, allocations: 0 / 0.5719 GB, free: 7.453 MB / 446.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.0003374/0.1749, allocations: 319.6 kB / 0.5722 GB, free: 7.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.175, allocations: 11.98 kB / 0.5723 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.175, allocations: 4.938 kB / 0.5723 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1751, allocations: 172.3 kB / 0.5724 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1751, allocations: 7.938 kB / 0.5724 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1752, allocations: 0 / 0.5724 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1753, allocations: 33.69 kB / 0.5725 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1753, allocations: 3.984 kB / 0.5725 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1753, allocations: 4 kB / 0.5725 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1753, allocations: 0 / 0.5725 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.1753, allocations: 0 / 0.5725 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1755, allocations: 161.5 kB / 0.5726 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.776e-05/0.1756, allocations: 26.55 kB / 0.5727 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.1756, allocations: 16.86 kB / 0.5727 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.1756, allocations: 3.984 kB / 0.5727 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1757, allocations: 30.56 kB / 0.5727 GB, free: 6.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1757, allocations: 0 / 0.5727 GB, free: 6.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005377/0.1762, allocations: 246.6 kB / 0.5729 GB, free: 6.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1763, allocations: 59.41 kB / 0.573 GB, free: 6.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.808e-05/0.1763, allocations: 89.86 kB / 0.5731 GB, free: 6.051 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1764, allocations: 25.7 kB / 0.5731 GB, free: 6.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.1764, allocations: 80.14 kB / 0.5732 GB, free: 5.938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1764, allocations: 11.8 kB / 0.5732 GB, free: 5.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1765, allocations: 21.7 kB / 0.5732 GB, free: 5.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1766, allocations: 314.9 kB / 0.5735 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.1766, allocations: 4 kB / 0.5735 GB, free: 5.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.17e-05/0.1767, allocations: 25.7 kB / 0.5735 GB, free: 5.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.1767, allocations: 29.59 kB / 0.5736 GB, free: 5.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1767, allocations: 0 / 0.5736 GB, free: 5.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.405e-05/0.1768, allocations: 53.62 kB / 0.5736 GB, free: 5.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1768, allocations: 9 kB / 0.5736 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1769, allocations: 0 / 0.5736 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1769, allocations: 4 kB / 0.5736 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.1769, allocations: 4 kB / 0.5736 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.177, allocations: 0 / 0.5736 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.177, allocations: 8 kB / 0.5736 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.177, allocations: 0 / 0.5736 GB, free: 5.43 MB / 446.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 9.033e-05/0.1771, allocations: 117.8 kB / 0.5738 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.1771, allocations: 0 / 0.5738 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.1773, allocations: 65.06 kB / 0.5738 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1773, allocations: 4 kB / 0.5738 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1773, allocations: 0 / 0.5738 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1773, allocations: 0 / 0.5738 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1774, allocations: 149.6 kB / 0.574 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1774, allocations: 8 kB / 0.574 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.1775, allocations: 8 kB / 0.574 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1775, allocations: 3.984 kB / 0.574 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1775, allocations: 0 / 0.574 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1775, allocations: 0 / 0.574 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1775, allocations: 0 / 0.574 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1776, allocations: 77.3 kB / 0.5741 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.1777, allocations: 85.05 kB / 0.5741 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1777, allocations: 3.984 kB / 0.5741 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.1778, allocations: 11.98 kB / 0.5742 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.1778, allocations: 4 kB / 0.5742 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1778, allocations: 3.938 kB / 0.5742 GB, free: 4.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.07e-05/0.1779, allocations: 79.28 kB / 0.5742 GB, free: 4.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1779, allocations: 0 / 0.5742 GB, free: 4.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.1781, allocations: 12 kB / 0.5742 GB, free: 4.699 MB / 446.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.0001692/0.1782, allocations: 111.2 kB / 0.5744 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.1783, allocations: 16 kB / 0.5744 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1784, allocations: 4.125 kB / 0.5744 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.1784, allocations: 11.92 kB / 0.5744 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.1785, allocations: 7.938 kB / 0.5744 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.1788, allocations: 101.9 kB / 0.5745 GB, free: 4.414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1791, allocations: 0.6729 MB / 0.5751 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.989e-05/0.1791, allocations: 11.98 kB / 0.5752 GB, free: 3.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.1791, allocations: 11.44 kB / 0.5752 GB, free: 3.691 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1791, allocations: 0 / 0.5752 GB, free: 3.691 MB / 446.1 MB Notification: Performance of Templates: time 0.002765/0.1819, allocations: 0.5013 MB / 0.5757 GB, free: 3.191 MB / 446.1 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)