Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadModel(Buildings): time 3.788/3.788, allocations: 433.3 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.632e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4895, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.6774, allocations: 125.3 MB / 0.7513 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.6778, allocations: 91.88 kB / 0.7514 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01373/0.6915, allocations: 3.17 MB / 0.7545 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.056e-06/0.6916, allocations: 0 / 0.7545 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.6916, allocations: 0 / 0.7545 GB, free: 14.96 MB / 0.6355 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.0005355/0.6922, allocations: 437.6 kB / 0.7549 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6922, allocations: 16.02 kB / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.6923, allocations: 3.906 kB / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.6924, allocations: 178.9 kB / 0.7551 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6925, allocations: 4 kB / 0.7551 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.6925, allocations: 0 / 0.7551 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001233/0.6926, allocations: 35.98 kB / 0.7551 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.6928, allocations: 65.67 kB / 0.7552 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.196e-06/0.6928, allocations: 0 / 0.7552 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.6928, allocations: 4 kB / 0.7552 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-06/0.6928, allocations: 4 kB / 0.7552 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.6933, allocations: 263.5 kB / 0.7555 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.6934, allocations: 50.56 kB / 0.7555 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.6935, allocations: 36.92 kB / 0.7556 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.6935, allocations: 0 / 0.7556 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.6936, allocations: 42.55 kB / 0.7556 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.12e-06/0.6936, allocations: 0 / 0.7556 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003326/0.6939, allocations: 101.6 kB / 0.7557 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.694, allocations: 85.03 kB / 0.7558 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.6942, allocations: 116.9 kB / 0.7559 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.6942, allocations: 25.7 kB / 0.7559 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.6943, allocations: 88.14 kB / 0.756 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.6943, allocations: 7.844 kB / 0.756 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.6943, allocations: 8.031 kB / 0.756 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6945, allocations: 322.8 kB / 0.7563 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.6946, allocations: 47.98 kB / 0.7564 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.6947, allocations: 47.97 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.6949, allocations: 47.97 kB / 0.7565 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-06/0.6949, allocations: 0 / 0.7565 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003354/0.6952, allocations: 145.5 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.6953, allocations: 71.33 kB / 0.7567 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.695e-06/0.6953, allocations: 0 / 0.7567 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6954, allocations: 0 / 0.7567 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.6954, allocations: 8 kB / 0.7567 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-06/0.6955, allocations: 4 kB / 0.7567 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.6955, allocations: 15.98 kB / 0.7567 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.6956, allocations: 4 kB / 0.7567 GB, free: 12.5 MB / 0.6355 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 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001216/0.6957, allocations: 138.6 kB / 0.7568 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.6958, allocations: 7.906 kB / 0.7568 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.6958, allocations: 12.33 kB / 0.7568 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-06/0.6958, allocations: 4 kB / 0.7568 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.223e-06/0.6958, allocations: 0 / 0.7568 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-06/0.6959, allocations: 0 / 0.7568 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.6961, allocations: 154.2 kB / 0.757 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-06/0.6961, allocations: 0 / 0.757 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.6962, allocations: 4 kB / 0.757 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.178e-06/0.6962, allocations: 0 / 0.757 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.6962, allocations: 0 / 0.757 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6962, allocations: 0 / 0.757 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.728e-06/0.6962, allocations: 0 / 0.757 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.6965, allocations: 215.4 kB / 0.7572 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.6966, allocations: 77.11 kB / 0.7573 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.6966, allocations: 8.078 kB / 0.7573 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.6967, allocations: 4 kB / 0.7573 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.6968, allocations: 15.97 kB / 0.7573 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.6969, allocations: 0 / 0.7573 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.496e-05/0.697, allocations: 95.22 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.44e-07/0.697, allocations: 4.031 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004795/0.6975, allocations: 71.86 kB / 0.7575 GB, free: 11.62 MB / 0.6355 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0003531/0.6978, allocations: 159.2 kB / 0.7576 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.6982, allocations: 222.8 kB / 0.7578 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.848e-06/0.6982, allocations: 4 kB / 0.7578 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.6984, allocations: 95.38 kB / 0.7579 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.6985, allocations: 7.938 kB / 0.7579 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.6989, allocations: 123.9 kB / 0.758 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.6993, allocations: 0.6846 MB / 0.7587 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.885e-05/0.6993, allocations: 3.938 kB / 0.7587 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.6993, allocations: 11.44 kB / 0.7587 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of SimCode: time 1.886e-06/0.6994, allocations: 0 / 0.7587 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.005253/0.7046, allocations: 1.523 MB / 0.7602 GB, free: 8.699 MB / 0.6355 GB