Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.5/2.5, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001574/0.001574, allocations: 176.6 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001173/0.001173, allocations: 96.89 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.782e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2145, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8872/1.102, allocations: 132.5 MB / 1.013 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.102, allocations: 85 kB / 1.014 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02105/1.123, allocations: 4.049 MB / 1.018 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.123, allocations: 4 kB / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.123, allocations: 4 kB / 1.018 GB, free: 3.168 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.0005826/1.124, allocations: 357.8 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.124, allocations: 12.03 kB / 1.018 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/1.124, allocations: 59.94 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.125, allocations: 171 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/1.125, allocations: 4 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/1.125, allocations: 4 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001189/1.125, allocations: 19.19 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.125, allocations: 52.97 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.125, allocations: 3.938 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/1.125, allocations: 4 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.125, allocations: 0 / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/1.125, allocations: 145.9 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/1.126, allocations: 49.98 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/1.126, allocations: 24.56 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/1.126, allocations: 4 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.126, allocations: 34.56 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/1.126, allocations: 0 / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.002022/1.128, allocations: 428.4 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/1.128, allocations: 51.41 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/1.128, allocations: 89 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.128, allocations: 25.7 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/1.128, allocations: 80.14 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/1.128, allocations: 31.14 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/1.128, allocations: 4.125 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.128, allocations: 310.8 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/1.128, allocations: 11.62 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/1.129, allocations: 15.44 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/1.129, allocations: 70.94 kB / 1.02 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.129, allocations: 0 / 1.02 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006339/1.13, allocations: 112.5 kB / 1.02 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.13, allocations: 4 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.13, allocations: 0 / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.13, allocations: 4 kB / 1.02 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/1.13, allocations: 27.97 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.13, allocations: 4 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/1.13, allocations: 11.98 kB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/1.13, allocations: 4 kB / 1.02 GB, free: 0.8164 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 (6): * Single equations (assignments): 6 * 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 0.0001064/1.13, allocations: 108.9 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005939/1.131, allocations: 112.7 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/1.131, allocations: 192 / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/1.132, allocations: 152 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.132, allocations: 4 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.132, allocations: 3.938 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.132, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/1.132, allocations: 145.8 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.132, allocations: 0 / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/1.132, allocations: 27.92 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.132, allocations: 4 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/1.132, allocations: 4 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.132, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.132, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/1.133, allocations: 170.5 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.133, allocations: 85.12 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/1.133, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/1.134, allocations: 15.98 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/1.134, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/1.134, allocations: 7.484 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.034e-05/1.134, allocations: 83.34 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.134, allocations: 0 / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003738/1.134, allocations: 39.88 kB / 1.021 GB, free: 15.82 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 (6): * Single equations (assignments): 6 * 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.001231/1.135, allocations: 0.7345 MB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001848/1.136, allocations: 34.62 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.136, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/1.136, allocations: 23.55 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/1.136, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008645/1.137, allocations: 174.2 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/1.137, allocations: 0.6807 MB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001954/1.137, allocations: 23.94 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/1.137, allocations: 18.98 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/1.137, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/1.174, allocations: 1.485 MB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/1.175, allocations: 158.6 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.532, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.6511 GB