Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01294/0.01294, allocations: 100.9 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.003527/0.003527, allocations: 186.9 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.691/1.691, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.6419/0.6419, allocations: 95.47 MB / 365.4 MB, free: 9.781 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.001497/0.001497, allocations: 71.89 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1695, allocations: 69.09 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001762/0.1714, allocations: 0.5113 MB / 0.5716 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005548/0.1719, allocations: 191.7 kB / 0.5717 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.172, allocations: 4 kB / 0.5718 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.172, allocations: 0 / 0.5718 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.1721, allocations: 0 / 0.5718 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.1725, allocations: 63.78 kB / 0.5718 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.1726, allocations: 7.984 kB / 0.5718 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.1726, allocations: 4 kB / 0.5718 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.1726, allocations: 11.92 kB / 0.5718 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.1727, allocations: 4 kB / 0.5718 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1727, allocations: 0 / 0.5718 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.1729, allocations: 127.8 kB / 0.572 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.173, allocations: 19.91 kB / 0.572 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.173, allocations: 7.938 kB / 0.572 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1732, allocations: 67.89 kB / 0.5721 GB, free: 7.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1732, allocations: 4 kB / 0.5721 GB, free: 7.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1732, allocations: 0 / 0.5721 GB, free: 7.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1732, allocations: 0 / 0.5721 GB, free: 7.324 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.0004205/0.1736, allocations: 343.4 kB / 0.5724 GB, free: 6.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1737, allocations: 11.98 kB / 0.5724 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1737, allocations: 4.938 kB / 0.5724 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1739, allocations: 164.3 kB / 0.5726 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1739, allocations: 8.359 kB / 0.5726 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1739, allocations: 4.375 kB / 0.5726 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.174, allocations: 38.2 kB / 0.5726 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1741, allocations: 4.188 kB / 0.5726 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1741, allocations: 3.938 kB / 0.5726 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1741, allocations: 0 / 0.5726 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.1741, allocations: 15.98 kB / 0.5726 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.1743, allocations: 157.7 kB / 0.5728 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.1744, allocations: 30.52 kB / 0.5728 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.1744, allocations: 12.91 kB / 0.5728 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1744, allocations: 4 kB / 0.5728 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1745, allocations: 34.5 kB / 0.5729 GB, free: 6.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.1745, allocations: 0 / 0.5729 GB, free: 6.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000669/0.1752, allocations: 306.4 kB / 0.5732 GB, free: 5.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1752, allocations: 51.41 kB / 0.5732 GB, free: 5.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.1753, allocations: 113.8 kB / 0.5733 GB, free: 5.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1753, allocations: 25.7 kB / 0.5733 GB, free: 5.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.1754, allocations: 84.14 kB / 0.5734 GB, free: 5.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1754, allocations: 15.8 kB / 0.5734 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1755, allocations: 17.72 kB / 0.5734 GB, free: 5.648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1756, allocations: 314.8 kB / 0.5737 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.1756, allocations: 15.98 kB / 0.5738 GB, free: 5.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.1757, allocations: 25.75 kB / 0.5738 GB, free: 5.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.1757, allocations: 41.64 kB / 0.5738 GB, free: 5.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1757, allocations: 4 kB / 0.5738 GB, free: 5.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.588e-05/0.1758, allocations: 65.69 kB / 0.5739 GB, free: 5.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1759, allocations: 7.938 kB / 0.5739 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1759, allocations: 8.047 kB / 0.5739 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1759, allocations: 3.938 kB / 0.5739 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.176, allocations: 11.94 kB / 0.5739 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.176, allocations: 0 / 0.5739 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.176, allocations: 0 / 0.5739 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.176, allocations: 4 kB / 0.5739 GB, free: 5.129 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 7.822e-05/0.1761, allocations: 105.8 kB / 0.574 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.1761, allocations: 11.84 kB / 0.574 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.1763, allocations: 77.88 kB / 0.5741 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1763, allocations: 0 / 0.5741 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1763, allocations: 4 kB / 0.5741 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1763, allocations: 3.984 kB / 0.5741 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1765, allocations: 165.7 kB / 0.5743 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1765, allocations: 0 / 0.5743 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.1765, allocations: 7.938 kB / 0.5743 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1765, allocations: 3.938 kB / 0.5743 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1765, allocations: 0 / 0.5743 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1766, allocations: 3.984 kB / 0.5743 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1766, allocations: 4 kB / 0.5743 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1767, allocations: 101.1 kB / 0.5744 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.1768, allocations: 85.02 kB / 0.5745 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1768, allocations: 7.969 kB / 0.5745 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.1768, allocations: 0 / 0.5745 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.1769, allocations: 7.922 kB / 0.5745 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1769, allocations: 4 kB / 0.5745 GB, free: 4.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.1769, allocations: 83.28 kB / 0.5746 GB, free: 4.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.177, allocations: 4.062 kB / 0.5746 GB, free: 4.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1772, allocations: 27.98 kB / 0.5746 GB, free: 4.324 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.0001696/0.1773, allocations: 115.2 kB / 0.5747 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1775, allocations: 27.98 kB / 0.5747 GB, free: 4.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1775, allocations: 0 / 0.5747 GB, free: 4.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.372e-05/0.1775, allocations: 16 kB / 0.5748 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.1777, allocations: 7.938 kB / 0.5748 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.178, allocations: 133.9 kB / 0.5749 GB, free: 3.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1783, allocations: 0.6884 MB / 0.5756 GB, free: 3.277 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.1783, allocations: 4 kB / 0.5756 GB, free: 3.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.1784, allocations: 7.438 kB / 0.5756 GB, free: 3.266 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1784, allocations: 0 / 0.5756 GB, free: 3.266 MB / 446.1 MB Notification: Performance of Templates: time 0.003279/0.1817, allocations: 0.8905 MB / 0.5764 GB, free: 2.375 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)