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.66/1.66, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001081/0.001081, allocations: 185.6 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009795/0.0009792, allocations: 98.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.000532, allocations: 12.81 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.276, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007812/0.2768, allocations: 354 kB / 0.9798 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2785, allocations: 1.373 MB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.2786, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.966e-05/0.2787, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.2787, allocations: 8 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.2794, allocations: 132.9 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.2795, allocations: 23.98 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.2796, allocations: 3.984 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.2796, allocations: 15.92 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.2797, allocations: 27.97 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2797, allocations: 4 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.28, allocations: 167.7 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.2801, allocations: 15.88 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.2801, allocations: 29.7 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.2804, allocations: 132 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2804, allocations: 4 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2804, allocations: 0 / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.2804, allocations: 0 / 0.9816 GB, free: 25.41 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.0003813/0.2808, allocations: 422.6 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2808, allocations: 8.031 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.2809, allocations: 7.906 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.281, allocations: 175 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.281, allocations: 4 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.281, allocations: 3.938 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2812, allocations: 101.6 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2812, allocations: 0 / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2813, allocations: 4 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2813, allocations: 0 / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.2813, allocations: 63.94 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.2815, allocations: 177.6 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.47e-05/0.2816, allocations: 78.47 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2816, allocations: 3.938 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2816, allocations: 42.59 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.2816, allocations: 3.984 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004427/0.2821, allocations: 328.3 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.2821, allocations: 81.11 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.2822, allocations: 147.3 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2823, allocations: 25.7 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.2823, allocations: 88.14 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.2823, allocations: 15.83 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.2823, allocations: 7.938 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.2824, allocations: 314.8 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.2825, allocations: 103.9 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.2826, allocations: 107.9 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2827, allocations: 163.3 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2827, allocations: 0 / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002681/0.283, allocations: 320.8 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.2831, allocations: 72.48 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2831, allocations: 64 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2831, allocations: 8 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.2831, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2831, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.2833, allocations: 11.84 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.2833, allocations: 7.984 kB / 0.9844 GB, free: 22.28 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 8.844e-05/0.2834, allocations: 155.5 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.2834, allocations: 4 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.465e-05/0.2835, allocations: 8.25 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2835, allocations: 4 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2835, allocations: 0 / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2835, allocations: 0 / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.31e-05/0.2836, allocations: 177.5 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2836, allocations: 11.89 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.2836, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2836, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2836, allocations: 4 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2836, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2836, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.2839, allocations: 222.7 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.2839, allocations: 92.91 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2839, allocations: 3.984 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.284, allocations: 4 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.2841, allocations: 11.98 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2841, allocations: 7.938 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.2842, allocations: 100.5 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2842, allocations: 0 / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002884/0.2845, allocations: 72.02 kB / 0.9853 GB, free: 21.31 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.0002804/0.2847, allocations: 147.2 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.2851, allocations: 378.6 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2851, allocations: 0 / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2852, allocations: 135.3 kB / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.2853, allocations: 8 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.2856, allocations: 207.5 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2858, allocations: 0.6965 MB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.692e-06/0.2858, allocations: 0 / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.2858, allocations: 7.438 kB / 0.9868 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2858, allocations: 0 / 0.9868 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.004233/0.2901, allocations: 1.875 MB / 0.9886 GB, free: 17.79 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)