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.451/2.451, allocations: 248.7 MB / 256.2 MB, free: 6.98 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.001427/0.001427, allocations: 193.1 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.318/2.318, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 89.73 kB / 0.6704 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.549e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.901/1.114, allocations: 132.1 MB / 1.013 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.115, allocations: 76.7 kB / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008787/1.123, allocations: 1.834 MB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.178e-06/1.124, allocations: 0 / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.124, allocations: 7.938 kB / 1.015 GB, free: 5.078 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.0004673/1.124, allocations: 352.7 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/1.124, allocations: 8.031 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/1.124, allocations: 8 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.124, allocations: 163 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/1.124, allocations: 0 / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/1.124, allocations: 4 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.247e-05/1.124, allocations: 11.19 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/1.125, allocations: 45.06 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.125, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.125, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.125, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/1.125, allocations: 141.6 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/1.125, allocations: 43.05 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/1.125, allocations: 20.16 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/1.126, allocations: 0.5505 MB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.126, allocations: 38 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.384e-06/1.126, allocations: 4 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001182/1.127, allocations: 348.6 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.127, allocations: 51.41 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/1.127, allocations: 85 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/1.127, allocations: 26.73 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/1.127, allocations: 84.14 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/1.127, allocations: 19.66 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-06/1.127, allocations: 4 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.127, allocations: 326.3 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/1.127, allocations: 15.44 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/1.128, allocations: 19.81 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/1.128, allocations: 30.98 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.128, allocations: 0 / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002345/1.128, allocations: 82.47 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.128, allocations: 5.875 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.128, allocations: 0 / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.128, allocations: 4 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.128, allocations: 19.98 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.742e-05/1.128, allocations: 1.016 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/1.128, allocations: 0 / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.128, allocations: 0.875 kB / 1.017 GB, free: 2.34 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: 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.922e-05/1.128, allocations: 109.6 kB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002092/1.129, allocations: 74.62 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/1.129, allocations: 7.906 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/1.129, allocations: 99.95 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.129, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.129, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.129, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/1.129, allocations: 153 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.129, allocations: 1.812 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.129, allocations: 19.94 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.13, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.13, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.13, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.321e-06/1.13, allocations: 3.984 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/1.13, allocations: 124.1 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/1.13, allocations: 88.52 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/1.13, allocations: 7.922 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/1.13, allocations: 4.062 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/1.13, allocations: 4 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/1.13, allocations: 4 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.815e-05/1.13, allocations: 75.28 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.01e-07/1.13, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003313/1.131, allocations: 35.92 kB / 1.018 GB, free: 1.504 MB / 0.6355 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.0007556/1.131, allocations: 0.6892 MB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001765/1.131, allocations: 60.28 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.132, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/1.132, allocations: 25.75 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/1.132, allocations: 7.25 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/1.132, allocations: 141.1 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/1.133, allocations: 0.6846 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000133/1.133, allocations: 16.17 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/1.133, allocations: 11.44 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.133, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/1.171, allocations: 1.188 MB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003573/1.171, allocations: 167.7 kB / 1.021 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/3.48, allocations: 0.625 kB / 1.021 GB, free: 14.46 MB / 0.6511 GB