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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001145/0.001146, allocations: 192.1 kB / 16.13 MB, free: 6.699 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.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.68 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.641/1.641, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001528/0.001528, allocations: 70.69 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2222, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002065/0.2243, allocations: 0.6859 MB / 0.7833 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.2264, allocations: 1.453 MB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.2265, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.058e-05/0.2266, allocations: 3.984 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.2266, allocations: 4 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.2273, allocations: 139.3 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.2274, allocations: 47.88 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.2274, allocations: 7.984 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.2275, allocations: 19.92 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.2276, allocations: 27.91 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2276, allocations: 0 / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.228, allocations: 191.7 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.228, allocations: 15.98 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.2281, allocations: 27.8 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.2284, allocations: 191.8 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2284, allocations: 0 / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2284, allocations: 0 / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2284, allocations: 0 / 0.7854 GB, free: 11.21 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.0004682/0.2289, allocations: 438.7 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2289, allocations: 8.031 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.229, allocations: 8.844 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2291, allocations: 172.2 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2291, allocations: 384 / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2291, allocations: 4.375 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2293, allocations: 102 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2293, allocations: 0 / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2294, allocations: 7.984 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2294, allocations: 0 / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.2295, allocations: 59.95 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.2296, allocations: 169.7 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.2299, allocations: 86.41 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.23, allocations: 72.89 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.23, allocations: 0 / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.23, allocations: 42.48 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.23, allocations: 0 / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004543/0.2305, allocations: 255.1 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.2305, allocations: 81.11 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2307, allocations: 152.3 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2307, allocations: 25.7 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.2307, allocations: 96.16 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2308, allocations: 15.8 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.2308, allocations: 25.72 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.231, allocations: 318.8 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.2311, allocations: 103.9 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.2312, allocations: 103.9 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.2315, allocations: 277.9 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2315, allocations: 0 / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003244/0.2318, allocations: 332.7 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.2319, allocations: 71.39 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2319, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2319, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.2319, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2319, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2321, allocations: 15.92 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2321, allocations: 4 kB / 0.7883 GB, free: 7.941 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.2322, allocations: 147.5 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.2323, allocations: 11.88 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.2323, allocations: 12.25 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2323, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2323, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2323, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.2324, allocations: 169.6 kB / 0.7886 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2325, allocations: 4 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-06/0.2325, allocations: 3.938 kB / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2325, allocations: 0 / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2325, allocations: 4 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2325, allocations: 3.984 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2325, allocations: 4 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.2328, allocations: 238.7 kB / 0.7889 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.2329, allocations: 84.95 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2329, allocations: 7.984 kB / 0.789 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.2329, allocations: 4 kB / 0.789 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.144e-05/0.233, allocations: 11.92 kB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.233, allocations: 0 / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.2331, allocations: 111.3 kB / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2331, allocations: 0 / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002966/0.2334, allocations: 63.98 kB / 0.7892 GB, free: 6.961 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 (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.0002783/0.2337, allocations: 155.2 kB / 0.7893 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.2341, allocations: 374.6 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2341, allocations: 0 / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2343, allocations: 139.3 kB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.2344, allocations: 11.03 kB / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.2348, allocations: 219.6 kB / 0.79 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.2351, allocations: 0.6926 MB / 0.7907 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.052e-06/0.2351, allocations: 3.906 kB / 0.7907 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-06/0.2351, allocations: 7.438 kB / 0.7907 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.2351, allocations: 4 kB / 0.7907 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of Templates: time 0.004629/0.2397, allocations: 1.912 MB / 0.7926 GB, free: 3.375 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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)