Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009507/0.0009506, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009614/0.0009615, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005692/0.0005693, allocations: 18.23 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2789, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0009049/0.2798, allocations: 347.4 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.2819, allocations: 1.387 MB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.282, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.282, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.2821, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.2827, allocations: 135.8 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.706e-05/0.2828, allocations: 35.89 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.2828, allocations: 0 / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.2829, allocations: 27.92 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2829, allocations: 27.95 kB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.283, allocations: 4 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.2833, allocations: 175.8 kB / 0.7894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.2833, allocations: 11.92 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2834, allocations: 29.7 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.2836, allocations: 132 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2836, allocations: 3.938 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2836, allocations: 0 / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2836, allocations: 0 / 0.7895 GB, free: 9.625 MB / 0.6075 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.0004696/0.2841, allocations: 430.6 kB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2842, allocations: 8.031 kB / 0.79 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.2842, allocations: 7.906 kB / 0.79 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2844, allocations: 171 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2844, allocations: 0 / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2844, allocations: 7.984 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2846, allocations: 97.64 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2846, allocations: 4 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2846, allocations: 0 / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2847, allocations: 0 / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.519e-05/0.2848, allocations: 71.83 kB / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.285, allocations: 181.5 kB / 0.7905 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2851, allocations: 74.53 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.2852, allocations: 72.89 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.2852, allocations: 0 / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2852, allocations: 30.56 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2852, allocations: 4 kB / 0.7906 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003747/0.2856, allocations: 259.1 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2857, allocations: 81.11 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2858, allocations: 148.8 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2858, allocations: 29.7 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.2859, allocations: 92.12 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2859, allocations: 11.81 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.2859, allocations: 0 / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.286, allocations: 326.8 kB / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2861, allocations: 104 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2863, allocations: 103.9 kB / 0.7918 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2864, allocations: 159.3 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2864, allocations: 0 / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003494/0.2868, allocations: 324.8 kB / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.2868, allocations: 71.38 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2869, allocations: 0 / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2869, allocations: 0 / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.2869, allocations: 0 / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2869, allocations: 0 / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.2871, allocations: 23.91 kB / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2871, allocations: 4 kB / 0.7923 GB, free: 6.512 MB / 0.6075 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.0001063/0.2873, allocations: 160.1 kB / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2873, allocations: 7.938 kB / 0.7925 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.2873, allocations: 4.25 kB / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2873, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2873, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2873, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.2874, allocations: 181.5 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2875, allocations: 4 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.2875, allocations: 0 / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2875, allocations: 4 kB / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2875, allocations: 0 / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2875, allocations: 0 / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2875, allocations: 3.984 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.2878, allocations: 226.7 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.2878, allocations: 88.97 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2878, allocations: 8.031 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.2879, allocations: 7.984 kB / 0.793 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.288, allocations: 4.141 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.288, allocations: 7.984 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.2881, allocations: 107.2 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2881, allocations: 0 / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002913/0.2884, allocations: 67.98 kB / 0.7932 GB, free: 5.531 MB / 0.6075 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.0002705/0.2886, allocations: 151.2 kB / 0.7933 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.2891, allocations: 370.6 kB / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2891, allocations: 3.938 kB / 0.7937 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2892, allocations: 135.4 kB / 0.7938 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.2894, allocations: 11.92 kB / 0.7938 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.2897, allocations: 215.3 kB / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.29, allocations: 0.6926 MB / 0.7947 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.431e-06/0.29, allocations: 0 / 0.7947 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/0.2901, allocations: 7.438 kB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2901, allocations: 0 / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.004708/0.2948, allocations: 1.874 MB / 0.7965 GB, free: 2.004 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: