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.008733/0.008741, allocations: 105.2 kB / 15.74 MB, free: 6.035 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.001717/0.001717, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.714/1.714, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.6873/0.6873, allocations: 95.48 MB / 365.4 MB, free: 9.77 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.001764/0.001764, allocations: 74.09 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1572, allocations: 69.09 MB / 0.5711 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.002721/0.16, allocations: 0.5475 MB / 0.5716 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006149/0.1607, allocations: 163.8 kB / 0.5718 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.1607, allocations: 0 / 0.5718 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.1608, allocations: 0 / 0.5718 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.972e-06/0.1608, allocations: 0 / 0.5718 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1612, allocations: 39.91 kB / 0.5718 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.178e-05/0.1613, allocations: 7.984 kB / 0.5718 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.1613, allocations: 0 / 0.5718 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.1613, allocations: 4 kB / 0.5718 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.1614, allocations: 11.92 kB / 0.5719 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1614, allocations: 0 / 0.5719 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1616, allocations: 47.89 kB / 0.5719 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1616, allocations: 4 kB / 0.5719 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1616, allocations: 3.984 kB / 0.5719 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1617, allocations: 31.95 kB / 0.5719 GB, free: 7.445 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1617, allocations: 4 kB / 0.5719 GB, free: 7.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1618, allocations: 7.938 kB / 0.572 GB, free: 7.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1618, allocations: 0 / 0.572 GB, free: 7.434 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.0003515/0.1621, allocations: 319.6 kB / 0.5723 GB, free: 7.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1622, allocations: 15.98 kB / 0.5723 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1622, allocations: 0.9375 kB / 0.5723 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1623, allocations: 164.3 kB / 0.5724 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1624, allocations: 3.938 kB / 0.5724 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1624, allocations: 8 kB / 0.5724 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1625, allocations: 37.69 kB / 0.5725 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1625, allocations: 4 kB / 0.5725 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1625, allocations: 0 / 0.5725 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1626, allocations: 0 / 0.5725 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.1626, allocations: 4 kB / 0.5725 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1628, allocations: 157.5 kB / 0.5726 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.1628, allocations: 22.55 kB / 0.5727 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.1629, allocations: 8.922 kB / 0.5727 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1629, allocations: 4 kB / 0.5727 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.1629, allocations: 42.55 kB / 0.5727 GB, free: 6.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1629, allocations: 0 / 0.5727 GB, free: 6.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006346/0.1636, allocations: 242.4 kB / 0.5729 GB, free: 6.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1636, allocations: 51.41 kB / 0.573 GB, free: 6.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.1637, allocations: 94.08 kB / 0.5731 GB, free: 6.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1637, allocations: 29.7 kB / 0.5731 GB, free: 6.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.1638, allocations: 80.14 kB / 0.5732 GB, free: 5.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1638, allocations: 11.81 kB / 0.5732 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1639, allocations: 21.7 kB / 0.5732 GB, free: 5.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.164, allocations: 314.8 kB / 0.5735 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.164, allocations: 4 kB / 0.5735 GB, free: 5.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.1641, allocations: 25.64 kB / 0.5735 GB, free: 5.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.1642, allocations: 29.66 kB / 0.5736 GB, free: 5.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1642, allocations: 0 / 0.5736 GB, free: 5.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001126/0.1643, allocations: 53.62 kB / 0.5736 GB, free: 5.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1643, allocations: 8 kB / 0.5736 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1644, allocations: 0 / 0.5736 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1644, allocations: 0 / 0.5736 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.1645, allocations: 8 kB / 0.5736 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1645, allocations: 4.062 kB / 0.5736 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1645, allocations: 0 / 0.5736 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1645, allocations: 4 kB / 0.5736 GB, free: 5.418 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.131e-05/0.1646, allocations: 117.8 kB / 0.5738 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.1646, allocations: 0 / 0.5738 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.1648, allocations: 69.19 kB / 0.5738 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1648, allocations: 0 / 0.5738 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1648, allocations: 0 / 0.5738 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1649, allocations: 0 / 0.5738 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.165, allocations: 157.6 kB / 0.574 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.165, allocations: 0 / 0.574 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.1651, allocations: 4 kB / 0.574 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1651, allocations: 0 / 0.574 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1651, allocations: 7.984 kB / 0.574 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1651, allocations: 0 / 0.574 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1651, allocations: 4 kB / 0.574 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1652, allocations: 81 kB / 0.5741 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.1653, allocations: 85.02 kB / 0.5741 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1653, allocations: 0 / 0.5741 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.1654, allocations: 8.016 kB / 0.5742 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.1654, allocations: 0 / 0.5742 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1654, allocations: 4 kB / 0.5742 GB, free: 4.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.838e-05/0.1654, allocations: 75.28 kB / 0.5742 GB, free: 4.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 4.062 kB / 0.5742 GB, free: 4.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.1657, allocations: 12 kB / 0.5742 GB, free: 4.691 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.0001717/0.1658, allocations: 115.2 kB / 0.5744 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.166, allocations: 15.94 kB / 0.5744 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.166, allocations: 0 / 0.5744 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.002e-05/0.166, allocations: 15.98 kB / 0.5744 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1661, allocations: 3.938 kB / 0.5744 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.1664, allocations: 106 kB / 0.5745 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1667, allocations: 0.6767 MB / 0.5752 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.889e-05/0.1667, allocations: 4 kB / 0.5752 GB, free: 3.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1668, allocations: 19.42 kB / 0.5752 GB, free: 3.676 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1668, allocations: 0 / 0.5752 GB, free: 3.676 MB / 446.1 MB Notification: Performance of Templates: time 0.002989/0.1698, allocations: 0.5074 MB / 0.5757 GB, free: 3.172 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)