Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.336/2.336, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 186.9 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.36/2.36, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 88.42 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004686, allocations: 18.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.481, allocations: 132.4 MB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/0.4814, allocations: 87.89 kB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.4973, allocations: 3.189 MB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4973, allocations: 0 / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4973, allocations: 4 kB / 1.031 GB, free: 9.566 MB / 0.6823 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.0005176/0.4979, allocations: 442.4 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4979, allocations: 8.031 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.498, allocations: 7.906 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.4982, allocations: 179 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4982, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.4982, allocations: 4 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.4985, allocations: 109.5 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4985, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4985, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4985, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.4987, allocations: 63.89 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.4989, allocations: 181.5 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4991, allocations: 82.53 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.4991, allocations: 0 / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4992, allocations: 30.56 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 5.34e-06/0.4992, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000661/0.4999, allocations: 332.3 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.4999, allocations: 85.09 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.5001, allocations: 126.4 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.5002, allocations: 33.73 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.5002, allocations: 88.05 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.5003, allocations: 19.83 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.5003, allocations: 0 / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5005, allocations: 318.8 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.5007, allocations: 99.92 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.5009, allocations: 95.94 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.5012, allocations: 163.3 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5013, allocations: 0 / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006185/0.5019, allocations: 320.8 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.022e-05/0.502, allocations: 73.56 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.502, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.502, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.502, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5021, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.5022, allocations: 15.84 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.5022, allocations: 12 kB / 1.034 GB, free: 6.445 MB / 0.6823 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.0001646/0.5024, allocations: 151.5 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.5025, allocations: 15.92 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.5025, allocations: 4.25 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5025, allocations: 0 / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5025, allocations: 4 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.5025, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.5027, allocations: 181.5 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5027, allocations: 3.953 kB / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.5027, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5027, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.5028, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5028, allocations: 4 kB / 1.034 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5028, allocations: 4 kB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.5032, allocations: 230.6 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.5033, allocations: 88.97 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.5034, allocations: 0 / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.5034, allocations: 4 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.5035, allocations: 7.984 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.5035, allocations: 4 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001107/0.5037, allocations: 111.3 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5037, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000469/0.5042, allocations: 75.92 kB / 1.035 GB, free: 5.465 MB / 0.6823 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.0003711/0.5045, allocations: 155.2 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006549/0.5052, allocations: 370.5 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5052, allocations: 1.656 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.5055, allocations: 139.3 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.5056, allocations: 9.5 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.5061, allocations: 207.3 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.5065, allocations: 0.6967 MB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.271e-05/0.5065, allocations: 3.984 kB / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.011e-05/0.5065, allocations: 7.438 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/0.5065, allocations: 4 kB / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of Templates: time 0.006316/0.5129, allocations: 1.815 MB / 1.038 GB, free: 1.98 MB / 0.6823 GB