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.006925/0.006925, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001345/0.001345, allocations: 194.4 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.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.7069/0.7069, allocations: 95.48 MB / 365.4 MB, free: 9.793 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.001594/0.001594, allocations: 75.89 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1587, 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.00287/0.1616, allocations: 0.5544 MB / 0.5716 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.1623, allocations: 159.9 kB / 0.5718 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.1623, allocations: 0 / 0.5718 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1624, allocations: 0 / 0.5718 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.751e-05/0.1624, allocations: 0 / 0.5718 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.1629, allocations: 35.84 kB / 0.5718 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.422e-05/0.163, allocations: 15.98 kB / 0.5718 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.1631, allocations: 0 / 0.5718 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.1631, allocations: 4 kB / 0.5718 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.1632, allocations: 7.875 kB / 0.5719 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1632, allocations: 0 / 0.5719 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1634, allocations: 47.89 kB / 0.5719 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.1634, allocations: 11.97 kB / 0.5719 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1635, allocations: 0 / 0.5719 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.1636, allocations: 31.97 kB / 0.5719 GB, free: 7.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1637, allocations: 4 kB / 0.5719 GB, free: 7.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1637, allocations: 4 kB / 0.5719 GB, free: 7.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1637, allocations: 0 / 0.5719 GB, free: 7.449 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.0003894/0.1641, allocations: 319.6 kB / 0.5723 GB, free: 7.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.1642, allocations: 15.98 kB / 0.5723 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1642, allocations: 0.9375 kB / 0.5723 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1643, allocations: 160.4 kB / 0.5724 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1644, allocations: 7.875 kB / 0.5724 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1644, allocations: 7.984 kB / 0.5724 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1645, allocations: 33.64 kB / 0.5725 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1645, allocations: 4 kB / 0.5725 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1646, allocations: 0 / 0.5725 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1646, allocations: 0 / 0.5725 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.1646, allocations: 8 kB / 0.5725 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.1648, allocations: 153.5 kB / 0.5726 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.1649, allocations: 22.61 kB / 0.5726 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.1649, allocations: 12.91 kB / 0.5727 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.165, allocations: 4 kB / 0.5727 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.165, allocations: 38.5 kB / 0.5727 GB, free: 6.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.1651, allocations: 0 / 0.5727 GB, free: 6.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000722/0.1658, allocations: 250.4 kB / 0.5729 GB, free: 6.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1659, allocations: 51.41 kB / 0.573 GB, free: 6.156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.1659, allocations: 89.86 kB / 0.5731 GB, free: 6.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.166, allocations: 29.92 kB / 0.5731 GB, free: 6.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.166, allocations: 80.14 kB / 0.5732 GB, free: 5.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1661, allocations: 19.8 kB / 0.5732 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1661, allocations: 13.72 kB / 0.5732 GB, free: 5.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1663, allocations: 310.8 kB / 0.5735 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.1663, allocations: 8 kB / 0.5735 GB, free: 5.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.1664, allocations: 21.73 kB / 0.5735 GB, free: 5.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.1664, allocations: 33.59 kB / 0.5736 GB, free: 5.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1665, allocations: 0 / 0.5736 GB, free: 5.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.1666, allocations: 53.69 kB / 0.5736 GB, free: 5.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1666, allocations: 8.938 kB / 0.5736 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1666, allocations: 0 / 0.5736 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1667, allocations: 3.938 kB / 0.5736 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.1668, allocations: 11.94 kB / 0.5736 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1668, allocations: 0 / 0.5736 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.1668, allocations: 8.062 kB / 0.5736 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1669, allocations: 4 kB / 0.5737 GB, free: 5.422 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 0.0001018/0.167, allocations: 113.8 kB / 0.5738 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.167, allocations: 0 / 0.5738 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.1672, allocations: 61.19 kB / 0.5738 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1672, allocations: 3.938 kB / 0.5738 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1672, allocations: 0 / 0.5738 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1672, allocations: 0 / 0.5738 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1674, allocations: 153.6 kB / 0.574 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1674, allocations: 0 / 0.574 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.1675, allocations: 11.92 kB / 0.574 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1675, allocations: 0 / 0.574 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1675, allocations: 8 kB / 0.574 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1675, allocations: 0 / 0.574 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1675, allocations: 0 / 0.574 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.1677, allocations: 77.06 kB / 0.5741 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.1678, allocations: 81.02 kB / 0.5741 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1678, allocations: 3.984 kB / 0.5741 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.1679, allocations: 0 / 0.5741 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.1679, allocations: 8.031 kB / 0.5742 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1679, allocations: 4 kB / 0.5742 GB, free: 4.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.168, allocations: 75.28 kB / 0.5742 GB, free: 4.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.168, allocations: 4.062 kB / 0.5742 GB, free: 4.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.1683, allocations: 8 kB / 0.5742 GB, free: 4.711 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.000208/0.1685, allocations: 115.2 kB / 0.5743 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1687, allocations: 16 kB / 0.5744 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1687, allocations: 0 / 0.5744 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.1687, allocations: 11.98 kB / 0.5744 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1689, allocations: 3.938 kB / 0.5744 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.1693, allocations: 109.9 kB / 0.5745 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1696, allocations: 0.6729 MB / 0.5751 GB, free: 3.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.1697, allocations: 7.984 kB / 0.5751 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1698, allocations: 19.44 kB / 0.5752 GB, free: 3.695 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1698, allocations: 0 / 0.5752 GB, free: 3.695 MB / 446.1 MB Notification: Performance of Templates: time 0.003795/0.1736, allocations: 0.5155 MB / 0.5757 GB, free: 3.184 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)