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.125/2.125, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001624, allocations: 167.1 kB / 325.5 MB, free: 2.875 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.505/2.505, allocations: 205.4 MB / 0.5764 GB, free: 20.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.0012/0.001199, allocations: 103.8 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007335/0.0007338, allocations: 15.81 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2774, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2818/0.5593, allocations: 132.3 MB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.5597, allocations: 83.95 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02198/0.5817, allocations: 4.083 MB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5818, allocations: 0 / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.5818, allocations: 0 / 1.032 GB, free: 8.785 MB / 0.6823 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.0006095/0.5824, allocations: 375.1 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.5825, allocations: 12.03 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.5825, allocations: 30.56 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/0.5832, allocations: 63.94 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.5833, allocations: 171 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.5834, allocations: 7.984 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.5834, allocations: 4 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.5838, allocations: 73.64 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.5839, allocations: 0 / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.5839, allocations: 3.984 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5839, allocations: 8 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.5844, allocations: 71.94 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.5847, allocations: 169.7 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.5858, allocations: 146.5 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.5859, allocations: 7.938 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.5859, allocations: 30.56 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.5859, allocations: 3.938 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.001961/0.5879, allocations: 442.2 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.588, allocations: 51.41 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.5881, allocations: 93 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.5881, allocations: 25.7 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.5882, allocations: 80.14 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.5882, allocations: 27.62 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.5882, allocations: 4 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5884, allocations: 314.8 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.5887, allocations: 44.09 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.589, allocations: 43.95 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.5893, allocations: 35.98 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5893, allocations: 7.938 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006729/0.59, allocations: 129.8 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.59, allocations: 4 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.59, allocations: 0 / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.5901, allocations: 4 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.5903, allocations: 23.97 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.5904, allocations: 11.98 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.5906, allocations: 11.98 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.5906, allocations: 4 kB / 1.035 GB, free: 6.035 MB / 0.6823 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 () * Number of clocked 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.0001219/0.5908, allocations: 113.8 kB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.5908, allocations: 4 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.5916, allocations: 149.1 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5917, allocations: 0 / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5917, allocations: 4 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5917, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.5919, allocations: 173.6 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5919, allocations: 0 / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.5922, allocations: 23.97 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.5922, allocations: 4 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.5923, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5923, allocations: 3.938 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5923, allocations: 4 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.5933, allocations: 216.8 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5935, allocations: 85.45 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.5935, allocations: 0 / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5937, allocations: 19.92 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.5938, allocations: 11.98 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.5938, allocations: 4.172 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.5939, allocations: 83.34 kB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5939, allocations: 0 / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003546/0.5942, allocations: 35.94 kB / 1.035 GB, free: 5.016 MB / 0.6823 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 () * Number of clocked 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.00156/0.5958, allocations: 0.7842 MB / 1.036 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.5965, allocations: 99.98 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5965, allocations: 0 / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.5968, allocations: 51.91 kB / 1.036 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.597, allocations: 5.891 kB / 1.036 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.5993, allocations: 0.5724 MB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.5997, allocations: 0.682 MB / 1.038 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.5999, allocations: 12.06 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.6, allocations: 23.42 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.6, allocations: 0 / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.6257, allocations: 1.796 MB / 1.039 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/0.626, allocations: 193.2 kB / 1.04 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.081, allocations: 4 kB / 1.04 GB, free: 0.8203 MB / 0.6823 GB