Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 248.5 MB / 261.1 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 178 kB / 320.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 0.571 GB, free: 11.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 94.48 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.644e-05/4.649e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2176, allocations: 106.3 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8578/1.075, allocations: 131.8 MB / 1.019 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.076, allocations: 78.94 kB / 1.019 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008506/1.084, allocations: 1.839 MB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/1.084, allocations: 0 / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.084, allocations: 0 / 1.021 GB, free: 1.508 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004448/1.085, allocations: 357.4 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.085, allocations: 8.031 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/1.085, allocations: 37.44 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/1.085, allocations: 0 / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.085, allocations: 167 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/1.085, allocations: 7.938 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/1.085, allocations: 2.75 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/1.085, allocations: 47.12 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.085, allocations: 0 / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.085, allocations: 0 / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.085, allocations: 4 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/1.086, allocations: 11.12 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/1.086, allocations: 160.4 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/1.086, allocations: 41.14 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/1.086, allocations: 23.8 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/1.087, allocations: 0.5544 MB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.087, allocations: 38.5 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 2.685e-06/1.087, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.002501/1.089, allocations: 443.1 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.089, allocations: 55.41 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/1.089, allocations: 88.31 kB / 1.023 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/1.089, allocations: 25.7 kB / 1.023 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/1.089, allocations: 88.25 kB / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/1.089, allocations: 26.77 kB / 1.023 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/1.09, allocations: 3.188 kB / 1.023 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.09, allocations: 318.8 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/1.09, allocations: 19.06 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/1.09, allocations: 19 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/1.09, allocations: 19.86 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.09, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000234/1.09, allocations: 91.53 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.09, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.09, allocations: 7.984 kB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.09, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.09, allocations: 15.98 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.09, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/1.091, allocations: 0.875 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/1.091, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.747e-05/1.091, allocations: 113 kB / 1.024 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/1.091, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/1.091, allocations: 106.7 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.091, allocations: 7.984 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.091, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.091, allocations: 3.938 kB / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/1.091, allocations: 172.7 kB / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.091, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/1.092, allocations: 19.98 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.092, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.092, allocations: 256 / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.092, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.092, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/1.092, allocations: 138 kB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/1.092, allocations: 81.05 kB / 1.024 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.092, allocations: 4.031 kB / 1.024 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/1.092, allocations: 4.062 kB / 1.024 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/1.092, allocations: 7.984 kB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/1.092, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.128e-05/1.092, allocations: 79.16 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.092, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003166/1.093, allocations: 31.94 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete 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 (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.0007427/1.093, allocations: 0.7029 MB / 1.025 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001842/1.094, allocations: 52.06 kB / 1.025 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.094, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/1.094, allocations: 27.12 kB / 1.025 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/1.094, allocations: 0.75 kB / 1.025 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/1.094, allocations: 155.6 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.095, allocations: 0.6888 MB / 1.026 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001506/1.095, allocations: 16.3 kB / 1.026 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/1.095, allocations: 15 kB / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of SimCode: time 7.92e-07/1.095, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/1.115, allocations: 1.494 MB / 1.028 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/1.115, allocations: 191.6 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.416, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB