Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 100.7 kB / 16.36 MB, free: 6.301 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.001898/0.001898, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.637/1.637, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001455/0.001455, allocations: 75.02 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.278, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001902/0.2799, allocations: 0.6443 MB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.2804, allocations: 203.1 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.2804, allocations: 0 / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.2805, allocations: 3.938 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2807, allocations: 7.922 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.2809, allocations: 71.81 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.2809, allocations: 35.91 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.281, allocations: 0 / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.281, allocations: 15.94 kB / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.2811, allocations: 23.89 kB / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2811, allocations: 4 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.2813, allocations: 111.7 kB / 0.7859 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2813, allocations: 3.938 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.2814, allocations: 19.86 kB / 0.7859 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2815, allocations: 103.8 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2816, allocations: 0 / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2816, allocations: 0 / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.2816, allocations: 8 kB / 0.786 GB, free: 1.895 MB / 0.6544 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.0005407/0.2821, allocations: 363.4 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2822, allocations: 12.03 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.2822, allocations: 4.844 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2824, allocations: 172.3 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2824, allocations: 4.375 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.2824, allocations: 8.281 kB / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2826, allocations: 62.22 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2826, allocations: 192 / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2826, allocations: 3.938 kB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2826, allocations: 0 / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2828, allocations: 31.97 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2831, allocations: 248.9 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.2833, allocations: 78.39 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.2834, allocations: 24.94 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.2834, allocations: 0 / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2834, allocations: 30.56 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2834, allocations: 3.938 kB / 0.787 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.541/0.8244, allocations: 1.608 MB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.8245, allocations: 52 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.8246, allocations: 117.4 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.8247, allocations: 25.7 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.8248, allocations: 93 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.8248, allocations: 23.78 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.825, allocations: 29.08 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.8251, allocations: 320.1 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.8255, allocations: 139.6 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.826, allocations: 143.8 kB / 0.7895 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009082/0.8269, allocations: 296.5 kB / 0.7898 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.8269, allocations: 0 / 0.7898 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001097/0.828, allocations: 341.2 kB / 0.7901 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.8281, allocations: 5.25 kB / 0.7901 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.8281, allocations: 3.328 kB / 0.7901 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.8281, allocations: 2.094 kB / 0.7901 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.8297, allocations: 58.92 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8297, allocations: 2.625 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.831, allocations: 49.33 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.8311, allocations: 2.625 kB / 0.7902 GB, free: 47.79 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.8312, allocations: 117.2 kB / 0.7903 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.8313, allocations: 12.81 kB / 0.7903 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.8315, allocations: 18.88 kB / 0.7903 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8315, allocations: 0 / 0.7903 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.8315, allocations: 3.312 kB / 0.7903 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8315, allocations: 4.266 kB / 0.7904 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.8371, allocations: 0.8433 MB / 0.7912 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8371, allocations: 0.6562 kB / 0.7912 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.8383, allocations: 53 kB / 0.7912 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.8383, allocations: 1.906 kB / 0.7912 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.8383, allocations: 4.531 kB / 0.7912 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.8384, allocations: 3.719 kB / 0.7912 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8384, allocations: 0 / 0.7912 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.8392, allocations: 328.8 kB / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.8393, allocations: 87.94 kB / 0.7916 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.8394, allocations: 1.5 kB / 0.7916 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.8404, allocations: 44.7 kB / 0.7917 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.8404, allocations: 7.312 kB / 0.7917 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.8405, allocations: 3.375 kB / 0.7917 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.8405, allocations: 97.81 kB / 0.7918 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.813e-06/0.8405, allocations: 0 / 0.7918 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004157/0.8409, allocations: 99.59 kB / 0.7919 GB, free: 47.03 MB / 0.6544 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 (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.0002931/0.8412, allocations: 115.2 kB / 0.792 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009592/0.8422, allocations: 242.7 kB / 0.7922 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8422, allocations: 2.562 kB / 0.7922 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.8426, allocations: 94.52 kB / 0.7923 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.8429, allocations: 7.969 kB / 0.7923 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.8457, allocations: 331.7 kB / 0.7926 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.8458, allocations: 0.6936 MB / 0.7933 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.8463, allocations: 17.48 kB / 0.7933 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8463, allocations: 2.188 kB / 0.7933 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.009499/0.8558, allocations: 5.038 MB / 0.7982 GB, free: 45.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)