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.289/2.289, allocations: 248.5 MB / 261 MB, free: 6.055 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.001417/0.001417, allocations: 182.5 kB / 320.4 MB, free: 15.33 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.977/1.977, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001136/0.001136, allocations: 90.48 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.987e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2129, allocations: 106.3 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8666/1.08, allocations: 132.2 MB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.08, allocations: 78.58 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02152/1.101, allocations: 4.082 MB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/1.102, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.102, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 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.0005727/1.102, allocations: 361.7 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.102, allocations: 12.03 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/1.102, allocations: 34.5 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/1.103, allocations: 59.94 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/1.103, allocations: 171 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/1.103, allocations: 8 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/1.103, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/1.103, allocations: 49.17 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/1.103, allocations: 0 / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.103, allocations: 3.25 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/1.103, allocations: 3.938 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/1.104, allocations: 27.61 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/1.104, allocations: 165.5 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/1.104, allocations: 56.62 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/1.104, allocations: 20.23 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/1.104, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.104, allocations: 38.55 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 4.058e-06/1.104, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0007607/1.105, allocations: 286.5 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.105, allocations: 55.34 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/1.105, allocations: 85 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/1.105, allocations: 33.69 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/1.105, allocations: 83.58 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/1.105, allocations: 15.66 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/1.105, allocations: 3.562 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.106, allocations: 318.8 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/1.106, allocations: 15.12 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/1.106, allocations: 15.11 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/1.106, allocations: 11.94 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.106, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000245/1.106, allocations: 65.69 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/1.106, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.106, allocations: 64 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.106, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/1.107, allocations: 39.78 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.107, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/1.107, allocations: 15.98 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/1.107, allocations: 0 / 1.026 GB, free: 13.36 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 (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.0001113/1.107, allocations: 112.9 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/1.107, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/1.107, allocations: 88.72 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.107, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.107, allocations: 4 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.107, allocations: 3.984 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/1.108, allocations: 176.4 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.108, allocations: 3.938 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/1.108, allocations: 27.97 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/1.108, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.108, allocations: 3.062 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.108, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.108, allocations: 4 kB / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/1.108, allocations: 123 kB / 1.026 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.109, allocations: 85.03 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/1.109, allocations: 4.031 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/1.109, allocations: 11.98 kB / 1.026 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/1.109, allocations: 12.05 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/1.109, allocations: 4 kB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.931e-05/1.109, allocations: 83.09 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.109, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003522/1.109, allocations: 39.94 kB / 1.027 GB, free: 12.54 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.0009118/1.11, allocations: 0.6929 MB / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002112/1.111, allocations: 40.98 kB / 1.027 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.111, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/1.111, allocations: 19.06 kB / 1.027 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/1.111, allocations: 8.5 kB / 1.027 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/1.112, allocations: 181.9 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.112, allocations: 0.6887 MB / 1.028 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001921/1.112, allocations: 23.88 kB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/1.112, allocations: 11.44 kB / 1.028 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/1.112, allocations: 4 kB / 1.028 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/1.138, allocations: 1.803 MB / 1.03 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000377/1.138, allocations: 189.1 kB / 1.03 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.546, allocations: 0 / 1.03 GB, free: 8.941 MB / 0.6511 GB