Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008645/0.008645, allocations: 101.6 kB / 15.73 MB, free: 6.051 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.001352/0.001353, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.807/1.807, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.6332/0.6332, allocations: 95.47 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.001475/0.001475, allocations: 66.09 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1745, allocations: 69.09 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001854/0.1764, allocations: 0.5825 MB / 0.5717 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1783, allocations: 1.413 MB / 0.5731 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.1784, allocations: 0 / 0.5731 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.649e-05/0.1784, allocations: 3.938 kB / 0.5731 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.1785, allocations: 0 / 0.5731 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.1791, allocations: 187.5 kB / 0.5732 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1793, allocations: 47.89 kB / 0.5733 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.1793, allocations: 4 kB / 0.5733 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.1794, allocations: 19.92 kB / 0.5733 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.1795, allocations: 27.89 kB / 0.5733 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1795, allocations: 4 kB / 0.5733 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1798, allocations: 195.7 kB / 0.5735 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.1799, allocations: 15.98 kB / 0.5735 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.1799, allocations: 27.8 kB / 0.5736 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1802, allocations: 187.7 kB / 0.5737 GB, free: 5.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1802, allocations: 3.938 kB / 0.5737 GB, free: 5.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1802, allocations: 0 / 0.5737 GB, free: 5.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1802, allocations: 3.938 kB / 0.5737 GB, free: 5.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004913/0.1807, allocations: 442.6 kB / 0.5742 GB, free: 5.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1808, allocations: 15.97 kB / 0.5742 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1808, allocations: 8.844 kB / 0.5742 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.181, allocations: 176.8 kB / 0.5744 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.181, allocations: 0 / 0.5744 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.181, allocations: 8 kB / 0.5744 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1812, allocations: 93.64 kB / 0.5745 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1812, allocations: 0 / 0.5745 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1812, allocations: 0 / 0.5745 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1813, allocations: 0 / 0.5745 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.1813, allocations: 59.95 kB / 0.5745 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1815, allocations: 181.6 kB / 0.5747 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1817, allocations: 86.47 kB / 0.5748 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.1818, allocations: 68.89 kB / 0.5748 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.1818, allocations: 0 / 0.5748 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1818, allocations: 30.56 kB / 0.5749 GB, free: 4.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1818, allocations: 0 / 0.5749 GB, free: 4.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004098/0.1822, allocations: 259.1 kB / 0.5751 GB, free: 4.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.1823, allocations: 81.11 kB / 0.5752 GB, free: 3.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1824, allocations: 144.9 kB / 0.5753 GB, free: 3.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1825, allocations: 25.73 kB / 0.5754 GB, free: 3.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.1825, allocations: 100 kB / 0.5754 GB, free: 3.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.1826, allocations: 3.906 kB / 0.5755 GB, free: 3.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.1826, allocations: 29.7 kB / 0.5755 GB, free: 3.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1828, allocations: 326.8 kB / 0.5758 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1829, allocations: 99.94 kB / 0.5759 GB, free: 3.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.183, allocations: 103.9 kB / 0.576 GB, free: 3.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.1833, allocations: 285.7 kB / 0.5763 GB, free: 2.758 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1833, allocations: 0 / 0.5763 GB, free: 2.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003554/0.1837, allocations: 324.8 kB / 0.5766 GB, free: 2.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.1838, allocations: 75.38 kB / 0.5766 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1838, allocations: 0 / 0.5766 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1838, allocations: 0 / 0.5766 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1838, allocations: 0 / 0.5766 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1838, allocations: 0 / 0.5766 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.184, allocations: 15.84 kB / 0.5767 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.184, allocations: 4 kB / 0.5767 GB, free: 2.316 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.000112/0.1841, allocations: 151.5 kB / 0.5768 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.1842, allocations: 15.92 kB / 0.5768 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.1842, allocations: 8.25 kB / 0.5768 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1842, allocations: 144 / 0.5768 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1842, allocations: 3.938 kB / 0.5768 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1842, allocations: 3.984 kB / 0.5768 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1844, allocations: 181.6 kB / 0.577 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1844, allocations: 0 / 0.577 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1844, allocations: 0 / 0.577 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1844, allocations: 0 / 0.577 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1844, allocations: 4 kB / 0.577 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1844, allocations: 4 kB / 0.577 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1844, allocations: 0 / 0.577 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.1847, allocations: 234.5 kB / 0.5772 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.1848, allocations: 81.02 kB / 0.5773 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1848, allocations: 4 kB / 0.5773 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.1848, allocations: 4 kB / 0.5773 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.1849, allocations: 11.98 kB / 0.5773 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1849, allocations: 0 / 0.5773 GB, free: 1.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.185, allocations: 111.3 kB / 0.5774 GB, free: 1.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.185, allocations: 0 / 0.5774 GB, free: 1.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.1853, allocations: 67.98 kB / 0.5775 GB, free: 1.332 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002515/0.1856, allocations: 143.1 kB / 0.5776 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.186, allocations: 378.6 kB / 0.578 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.186, allocations: 0 / 0.578 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1862, allocations: 143.3 kB / 0.5781 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.1864, allocations: 11.25 kB / 0.5782 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1869, allocations: 209.7 kB / 0.5784 GB, free: 400 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1873, allocations: 0.6885 MB / 0.579 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.214e-06/0.1873, allocations: 0 / 0.579 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.1873, allocations: 11.44 kB / 0.579 GB, free: 15.67 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1873, allocations: 0 / 0.579 GB, free: 15.67 MB / 462.1 MB Notification: Performance of Templates: time 0.004942/0.1923, allocations: 2.046 MB / 0.581 GB, free: 13.63 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)