Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001353, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002291/0.002291, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005244, allocations: 22.19 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008763/0.2822, allocations: 339.5 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2844, allocations: 1.438 MB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.2844, allocations: 0 / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.2845, allocations: 0 / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.2845, allocations: 0 / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.285, allocations: 115.7 kB / 0.7892 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.2851, allocations: 19.98 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.342e-05/0.2852, allocations: 3.984 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.2852, allocations: 11.94 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2854, allocations: 31.89 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2854, allocations: 0 / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.2859, allocations: 303.4 kB / 0.7896 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.2859, allocations: 8 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.286, allocations: 33.62 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.2862, allocations: 127.9 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2862, allocations: 4 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2862, allocations: 0 / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.2863, allocations: 0 / 0.7898 GB, free: 9.387 MB / 0.6075 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.0006509/0.2869, allocations: 363.6 kB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.287, allocations: 8.031 kB / 0.7901 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.287, allocations: 30.56 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.2875, allocations: 87.81 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2877, allocations: 163 kB / 0.7904 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.2877, allocations: 8 kB / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2877, allocations: 4 kB / 0.7904 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.288, allocations: 81.62 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.288, allocations: 4 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.288, allocations: 0 / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.288, allocations: 0 / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.2883, allocations: 79.86 kB / 0.7906 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.2885, allocations: 169.6 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.289, allocations: 142.6 kB / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.2892, allocations: 48.92 kB / 0.7909 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004207/0.2896, allocations: 173 kB / 0.7911 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2897, allocations: 38.48 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.2897, allocations: 4 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001187/0.2909, allocations: 438.1 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.291, allocations: 51.41 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.291, allocations: 105.8 kB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.2911, allocations: 25.7 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.2911, allocations: 80.14 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.2912, allocations: 23.73 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.2912, allocations: 0 / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2914, allocations: 314.8 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2915, allocations: 44.09 kB / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.2917, allocations: 43.97 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2918, allocations: 39.97 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2918, allocations: 0 / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003392/0.2922, allocations: 129.5 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2922, allocations: 8 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2922, allocations: 0 / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2922, allocations: 0 / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.2924, allocations: 31.91 kB / 0.7924 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2924, allocations: 0 / 0.7924 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.2925, allocations: 19.98 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2925, allocations: 4 kB / 0.7924 GB, free: 6.391 MB / 0.6075 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 8.111e-05/0.2926, allocations: 114.5 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.2926, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.293, allocations: 149.1 kB / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2931, allocations: 0 / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2931, allocations: 3.938 kB / 0.7927 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2931, allocations: 0 / 0.7927 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2932, allocations: 177.9 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2932, allocations: 4 kB / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2934, allocations: 31.97 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2934, allocations: 0 / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2934, allocations: 0 / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.2934, allocations: 0 / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2934, allocations: 7.938 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.2939, allocations: 205 kB / 0.7931 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.294, allocations: 85 kB / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.294, allocations: 3.984 kB / 0.7932 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2942, allocations: 20.08 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.2942, allocations: 11.94 kB / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2942, allocations: 0 / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.2942, allocations: 83.27 kB / 0.7933 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2942, allocations: 3.938 kB / 0.7933 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002281/0.2945, allocations: 28 kB / 0.7933 GB, free: 5.375 MB / 0.6075 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.0008838/0.2954, allocations: 0.7726 MB / 0.794 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.2957, allocations: 95.94 kB / 0.7941 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2957, allocations: 0 / 0.7941 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.2959, allocations: 55.95 kB / 0.7942 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.296, allocations: 0 / 0.7942 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2972, allocations: 0.5688 MB / 0.7947 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2975, allocations: 0.6809 MB / 0.7954 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.2976, allocations: 24.05 kB / 0.7954 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.2977, allocations: 15.44 kB / 0.7955 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2977, allocations: 0 / 0.7955 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.3091, allocations: 1.825 MB / 0.7972 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.3094, allocations: 200.5 kB / 0.7974 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.211, allocations: 4.062 kB / 0.7974 GB, free: 1.18 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: