Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.353/2.353, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.002306/0.002306, allocations: 186.1 kB / 315.4 MB, free: 4.008 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.075/2.075, 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.001081/0.001081, allocations: 89.64 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.902e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9204/1.159, allocations: 133.3 MB / 1.014 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/1.159, allocations: 78.45 kB / 1.014 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0288/1.188, allocations: 5.445 MB / 1.02 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.188, allocations: 0 / 1.02 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.697e-06/1.188, allocations: 0 / 1.02 GB, free: 0.918 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007756/1.189, allocations: 396.1 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.189, allocations: 12.03 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006361/1.189, allocations: 75.45 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/1.19, allocations: 170.9 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/1.19, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/1.19, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002138/1.19, allocations: 38.92 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/1.19, allocations: 64.53 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.19, allocations: 4 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/1.19, allocations: 4 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.976e-06/1.19, allocations: 0 / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/1.191, allocations: 326.2 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/1.191, allocations: 69.05 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/1.191, allocations: 20.23 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/1.191, allocations: 7.25 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.191, allocations: 30.56 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/1.191, allocations: 0 / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.02658/1.218, allocations: 2.109 MB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/1.218, allocations: 55.39 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/1.218, allocations: 91.75 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.035e-05/1.218, allocations: 29.64 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/1.218, allocations: 88.08 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/1.218, allocations: 40.77 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/1.219, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.219, allocations: 317.7 kB / 1.023 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/1.219, allocations: 111.3 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/1.219, allocations: 111 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/1.22, allocations: 132.9 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.22, allocations: 7.938 kB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002064/1.222, allocations: 337.5 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/1.222, allocations: 7.984 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.222, allocations: 3.953 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.222, allocations: 0 / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.224, allocations: 115.8 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.224, allocations: 4 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.225, allocations: 55.94 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.226, allocations: 19.94 kB / 1.024 GB, free: 12.28 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 (13): * Single equations (assignments): 13 * 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.0002178/1.226, allocations: 109.5 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00139/1.227, allocations: 334.3 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/1.227, allocations: 7.953 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/1.227, allocations: 8.094 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.227, allocations: 0 / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.227, allocations: 0 / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.227, allocations: 0 / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/1.23, allocations: 0.9006 MB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.23, allocations: 0 / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.232, allocations: 119.8 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.232, allocations: 0 / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.514e-05/1.232, allocations: 19.94 kB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.232, allocations: 3.938 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.232, allocations: 0 / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/1.234, allocations: 0.581 MB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/1.234, allocations: 119.1 kB / 1.026 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/1.234, allocations: 0 / 1.026 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.235, allocations: 60 kB / 1.027 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.236, allocations: 23.92 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-05/1.236, allocations: 23.94 kB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.444e-05/1.236, allocations: 83.09 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.236, allocations: 0 / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006039/1.236, allocations: 59.92 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002421/1.239, allocations: 1.123 MB / 1.028 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009284/1.24, allocations: 261.7 kB / 1.028 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.24, allocations: 0 / 1.028 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004827/1.24, allocations: 153.8 kB / 1.028 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/1.241, allocations: 8 kB / 1.028 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007666/1.248, allocations: 0.7268 MB / 1.029 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/1.249, allocations: 0.7079 MB / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00121/1.25, allocations: 88.67 kB / 1.03 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/1.25, allocations: 64.61 kB / 1.03 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/1.25, allocations: 0 / 1.03 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/1.292, allocations: 3.759 MB / 1.033 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/1.293, allocations: 167.2 kB / 1.034 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.998, allocations: 0 / 1.034 GB, free: 3.176 MB / 0.6511 GB