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.0006842/0.0006842, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.003937/0.003937, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.607/1.607, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0006516/0.0006517, allocations: 16.97 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2846, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008451/0.2855, allocations: 347.5 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2875, allocations: 1.488 MB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.2875, allocations: 0 / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.2876, allocations: 0 / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.2876, allocations: 0 / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.2881, allocations: 115.7 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.2882, allocations: 27.98 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/0.2882, allocations: 3.984 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.2883, allocations: 15.94 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2884, allocations: 27.89 kB / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2884, allocations: 8 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.2889, allocations: 315.4 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.2889, allocations: 7.984 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.289, allocations: 41.61 kB / 0.7903 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.2893, allocations: 183.7 kB / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2893, allocations: 0 / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2893, allocations: 0 / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2893, allocations: 3.938 kB / 0.7905 GB, free: 8.863 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.0006096/0.2899, allocations: 359.8 kB / 0.7908 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.29, allocations: 16.03 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.29, allocations: 30.75 kB / 0.7909 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000515/0.2906, allocations: 80.75 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2907, allocations: 164.4 kB / 0.7911 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2907, allocations: 4.375 kB / 0.7911 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.2908, allocations: 4.375 kB / 0.7911 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.2911, allocations: 89.69 kB / 0.7912 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2911, allocations: 0 / 0.7912 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.2911, allocations: 0 / 0.7912 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2911, allocations: 0 / 0.7912 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.2914, allocations: 79.94 kB / 0.7913 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.2917, allocations: 165.6 kB / 0.7915 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.2923, allocations: 146.6 kB / 0.7916 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.2925, allocations: 52.86 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000471/0.293, allocations: 173 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.293, allocations: 42.48 kB / 0.7919 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.293, allocations: 0 / 0.7919 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.00119/0.2942, allocations: 442.5 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.2943, allocations: 51.41 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.2943, allocations: 97.86 kB / 0.7924 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2944, allocations: 25.7 kB / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.2944, allocations: 80.14 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.2945, allocations: 23.67 kB / 0.7925 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2945, allocations: 13.84 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2946, allocations: 318.8 kB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2948, allocations: 39.97 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.2949, allocations: 43.95 kB / 0.7929 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2952, allocations: 84.81 kB / 0.793 GB, free: 6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2952, allocations: 4 kB / 0.793 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003531/0.2956, allocations: 137.4 kB / 0.7932 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2956, allocations: 8 kB / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2956, allocations: 0 / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2957, allocations: 0 / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2958, allocations: 27.97 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2958, allocations: 0 / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2959, allocations: 19.98 kB / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2959, allocations: 0 / 0.7932 GB, free: 5.801 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.296, allocations: 114.5 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.2961, allocations: 3.938 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.2966, allocations: 153 kB / 0.7935 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2966, allocations: 0 / 0.7935 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2966, allocations: 0 / 0.7935 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2966, allocations: 4 kB / 0.7935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2968, allocations: 161.7 kB / 0.7936 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2968, allocations: 8.25 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.2969, allocations: 31.97 kB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2969, allocations: 0 / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.297, allocations: 4 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.297, allocations: 4 kB / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.297, allocations: 0 / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.2976, allocations: 205 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.2977, allocations: 92.94 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2977, allocations: 4.031 kB / 0.794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2978, allocations: 16.05 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.2978, allocations: 4 kB / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2978, allocations: 7.984 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.2979, allocations: 75.28 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2979, allocations: 3.938 kB / 0.7941 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000233/0.2981, allocations: 32 kB / 0.7941 GB, free: 4.789 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009049/0.299, allocations: 0.7764 MB / 0.7948 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.2994, allocations: 95.98 kB / 0.7949 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2994, allocations: 0 / 0.7949 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.2996, allocations: 51.91 kB / 0.795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.2998, allocations: 10.95 kB / 0.795 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3019, allocations: 1.402 MB / 0.7964 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3022, allocations: 0.6848 MB / 0.797 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.3024, allocations: 16.06 kB / 0.7971 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.3024, allocations: 27.36 kB / 0.7971 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.3025, allocations: 0 / 0.7971 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.315, allocations: 1.823 MB / 0.7989 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.3153, allocations: 216.4 kB / 0.7991 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.952, allocations: 7.938 kB / 0.7991 GB, free: 15.68 MB / 0.6231 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/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)