Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.0009962/0.0009962, allocations: 189.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009279/0.0009278, allocations: 101.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 11.84 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2255, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007485/0.2263, allocations: 345.2 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.228, allocations: 1.431 MB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.2281, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.2281, allocations: 11.94 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.2281, allocations: 0 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.2285, allocations: 103.7 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.209e-05/0.2285, allocations: 23.95 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.2286, allocations: 0 / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.2286, allocations: 23.98 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.2287, allocations: 27.89 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2288, allocations: 0 / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.2291, allocations: 307.5 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.2291, allocations: 11.92 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.2291, allocations: 29.7 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2293, allocations: 135.9 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2294, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2294, allocations: 3.938 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2294, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 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.0004621/0.2298, allocations: 359.4 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2299, allocations: 8.031 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.2299, allocations: 34.56 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.2304, allocations: 83.86 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.2305, allocations: 167.3 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2305, allocations: 4 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.2305, allocations: 4 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.2308, allocations: 85.56 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2308, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2308, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2308, allocations: 4 kB / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.2311, allocations: 75.94 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.2313, allocations: 173.5 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.2319, allocations: 142.5 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/0.2323, allocations: 173.2 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2324, allocations: 34.5 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2324, allocations: 4 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.00106/0.2334, allocations: 434.4 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2335, allocations: 51.41 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.2335, allocations: 105.8 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2336, allocations: 25.7 kB / 0.9044 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.2336, allocations: 80.14 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2336, allocations: 23.66 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.2336, allocations: 0 / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.2337, allocations: 318.8 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2338, allocations: 44.09 kB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.234, allocations: 39.97 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2341, allocations: 39.97 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.2341, allocations: 4 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003233/0.2345, allocations: 125.6 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2345, allocations: 12 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2345, allocations: 0 / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2345, allocations: 0 / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2347, allocations: 23.98 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2347, allocations: 0 / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/0.2348, allocations: 19.97 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2348, allocations: 4 kB / 0.9051 GB, free: 58.48 MB / 0.6042 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 6.016e-05/0.2349, allocations: 113.8 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.2349, allocations: 4 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.2353, allocations: 153 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2353, allocations: 320 / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2353, allocations: 0 / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2353, allocations: 0 / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.2354, allocations: 181.6 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2355, allocations: 0 / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2356, allocations: 27.98 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.2356, allocations: 0 / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2356, allocations: 7.922 kB / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2356, allocations: 0 / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2356, allocations: 0 / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.2362, allocations: 212.9 kB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.2362, allocations: 81.09 kB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2363, allocations: 3.938 kB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2364, allocations: 20.05 kB / 0.9059 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.2364, allocations: 7.984 kB / 0.9059 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.2364, allocations: 4 kB / 0.9059 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.2364, allocations: 79.28 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2365, allocations: 0 / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002136/0.2367, allocations: 31.98 kB / 0.906 GB, free: 57.47 MB / 0.6042 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.000757/0.2374, allocations: 0.7647 MB / 0.9068 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.2378, allocations: 103.9 kB / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2378, allocations: 0 / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.238, allocations: 51.97 kB / 0.9069 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.2381, allocations: 5.875 kB / 0.9069 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2393, allocations: 0.557 MB / 0.9074 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2394, allocations: 0.6809 MB / 0.9081 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.2395, allocations: 24.05 kB / 0.9081 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.2396, allocations: 15.44 kB / 0.9082 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2396, allocations: 0 / 0.9082 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.2515, allocations: 1.813 MB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.2517, allocations: 209.3 kB / 0.9101 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.734, allocations: 0 / 0.9101 GB, free: 53.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)