Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.518/2.518, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 169.1 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 103.1 kB / 0.7434 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006037/0.000604, allocations: 13.34 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1735, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0008882/0.1744, allocations: 361.8 kB / 0.9791 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.175, allocations: 185.1 kB / 0.9793 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.1751, allocations: 0 / 0.9793 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.1751, allocations: 3.938 kB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1753, allocations: 8 kB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1756, allocations: 63.81 kB / 0.9794 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.1757, allocations: 19.97 kB / 0.9794 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.1757, allocations: 4 kB / 0.9794 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.1758, allocations: 7.938 kB / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.1759, allocations: 27.89 kB / 0.9794 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1759, allocations: 0 / 0.9794 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.1762, allocations: 107.8 kB / 0.9795 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.1762, allocations: 7.969 kB / 0.9795 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.1763, allocations: 29.7 kB / 0.9796 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1765, allocations: 71.94 kB / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.022e-06/0.1765, allocations: 0 / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.1765, allocations: 0 / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1766, allocations: 4 kB / 0.9796 GB, free: 27.29 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006132/0.1772, allocations: 367.5 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1773, allocations: 11.97 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.1773, allocations: 3.906 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1775, allocations: 175 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1775, allocations: 0 / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1776, allocations: 8 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1778, allocations: 57.67 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1778, allocations: 3.938 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1779, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-06/0.1779, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.1782, allocations: 43.97 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.1785, allocations: 256.8 kB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.179, allocations: 78.53 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.179, allocations: 0 / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.179, allocations: 34.56 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.677e-06/0.1791, allocations: 3.938 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.05677/0.2358, allocations: 1.761 MB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.236, allocations: 55.36 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.2362, allocations: 125.8 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.2363, allocations: 25.7 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.2364, allocations: 88.05 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.2367, allocations: 27.64 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.2368, allocations: 0 / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.237, allocations: 314.8 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.2386, allocations: 163.9 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.2402, allocations: 163.9 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.2419, allocations: 156 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.073e-06/0.242, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003998/0.246, allocations: 389.8 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.2461, allocations: 4 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2461, allocations: 0 / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.2461, allocations: 0 / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.2499, allocations: 79.89 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.25, allocations: 3.953 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/0.2531, allocations: 59.94 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.2533, allocations: 11.98 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004062/0.2538, allocations: 113.8 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.2541, allocations: 3.906 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.2545, allocations: 24.36 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2545, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.548e-06/0.2545, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.789e-06/0.2546, allocations: 7.953 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.269, allocations: 0.908 MB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.2691, allocations: 0 / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/0.2718, allocations: 71.84 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.2719, allocations: 3.953 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.2721, allocations: 16.03 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.606e-06/0.2721, allocations: 0 / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.2721, allocations: 7.938 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.2753, allocations: 392.4 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.2754, allocations: 89 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.2756, allocations: 4 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/0.2781, allocations: 43.95 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.2782, allocations: 7.938 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.2784, allocations: 11.97 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001114/0.2785, allocations: 99.27 kB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.319e-06/0.2785, allocations: 0 / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00126/0.2798, allocations: 96 kB / 0.9858 GB, free: 20.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004385/0.2803, allocations: 116.9 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.2834, allocations: 284.1 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.256e-06/0.2835, allocations: 0 / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.2849, allocations: 119.9 kB / 0.9863 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.2854, allocations: 16 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.2918, allocations: 352.5 kB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.2919, allocations: 0.6887 MB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001326/0.2933, allocations: 55.98 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.2944, allocations: 35.38 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.162e-06/0.2944, allocations: 0 / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.02186/0.3163, allocations: 8.154 MB / 0.9953 GB, free: 10.73 MB / 0.6198 GB