Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.807/1.807, allocations: 288.4 MB / 303.4 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 187 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000873/0.000873, allocations: 88.89 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005257/0.0005258, allocations: 14.34 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2816, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007621/0.2824, allocations: 347.7 kB / 0.9799 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2844, allocations: 1.375 MB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.2844, allocations: 0 / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.2845, allocations: 7.938 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.2846, allocations: 4 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.2853, allocations: 129.4 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.2854, allocations: 35.89 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.2855, allocations: 7.984 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.2855, allocations: 15.98 kB / 0.9815 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.2856, allocations: 31.91 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2856, allocations: 8 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.2861, allocations: 175.8 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.2861, allocations: 19.91 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.2862, allocations: 29.7 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2864, allocations: 128 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2864, allocations: 0 / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2865, allocations: 0 / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2865, allocations: 3.938 kB / 0.9818 GB, free: 25.33 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003815/0.2869, allocations: 426.5 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2869, allocations: 16.03 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.287, allocations: 7.906 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2871, allocations: 175 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2871, allocations: 7.938 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.2871, allocations: 8 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2874, allocations: 89.64 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2874, allocations: 0 / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2874, allocations: 4 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2874, allocations: 0 / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.2875, allocations: 59.95 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.2877, allocations: 185.5 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.2878, allocations: 82.45 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.2879, allocations: 72.89 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.2879, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2879, allocations: 30.56 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.288, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004006/0.2884, allocations: 255.2 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2884, allocations: 81.14 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2885, allocations: 147.7 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2886, allocations: 25.7 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.2886, allocations: 88.14 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.2886, allocations: 15.81 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2886, allocations: 3.938 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.2887, allocations: 326.8 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2889, allocations: 103.9 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.289, allocations: 103.9 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2892, allocations: 167.3 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2892, allocations: 4 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003963/0.2896, allocations: 320.9 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.2897, allocations: 71.38 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2897, allocations: 0 / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2897, allocations: 0 / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.2897, allocations: 0 / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2897, allocations: 0 / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.2899, allocations: 15.91 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.2899, allocations: 12 kB / 0.9846 GB, free: 22.21 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.2901, allocations: 151.5 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.2901, allocations: 4 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.2901, allocations: 12.19 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2901, allocations: 0 / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2901, allocations: 3.938 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2902, allocations: 0 / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2903, allocations: 181.5 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2903, allocations: 0 / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.2903, allocations: 4 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2903, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2903, allocations: 4 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2903, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2903, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.2906, allocations: 226.7 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.2907, allocations: 84.97 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.2907, allocations: 4 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.2908, allocations: 12.02 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.2909, allocations: 8 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.2909, allocations: 0 / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.291, allocations: 112.7 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.32e-07/0.291, allocations: 0 / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000406/0.2914, allocations: 67.92 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB 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 (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.000332/0.2917, allocations: 155.2 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.2922, allocations: 370.6 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2922, allocations: 0 / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2923, allocations: 135.4 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2926, allocations: 9.234 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.2929, allocations: 211.3 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.293, allocations: 0.6967 MB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.821e-06/0.2931, allocations: 0 / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.2931, allocations: 7.438 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2931, allocations: 0 / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.004464/0.2975, allocations: 1.868 MB / 0.9888 GB, free: 17.72 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)