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.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.682/1.682, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.68/1.68, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001429/0.001429, allocations: 72.28 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001705/0.2231, allocations: 0.6057 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.225, allocations: 1.482 MB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.225, allocations: 0 / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.225, allocations: 3.938 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.2251, allocations: 4 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.2257, allocations: 139.4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.2257, allocations: 27.92 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.615e-05/0.2258, allocations: 11.98 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.2259, allocations: 12 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.226, allocations: 27.89 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.226, allocations: 4 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.2265, allocations: 319.3 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.2265, allocations: 4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.2266, allocations: 11.92 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.2269, allocations: 187.6 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2269, allocations: 0 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.227, allocations: 0 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.227, allocations: 4 kB / 0.7862 GB, free: 10.52 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.0005449/0.2275, allocations: 371.7 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2276, allocations: 8.031 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.2276, allocations: 34.69 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004441/0.2281, allocations: 72.84 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2282, allocations: 160.4 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2282, allocations: 4.375 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2283, allocations: 384 / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.2285, allocations: 81.75 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2286, allocations: 0 / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2286, allocations: 4 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2286, allocations: 0 / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.2289, allocations: 63.94 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.2291, allocations: 169.6 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.2297, allocations: 122.5 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2299, allocations: 44.92 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004583/0.2304, allocations: 153 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.2304, allocations: 42.5 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.845e-06/0.2304, allocations: 7.984 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001334/0.2318, allocations: 402.2 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2318, allocations: 51.41 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.2319, allocations: 93.86 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.232, allocations: 25.7 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.232, allocations: 88.08 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2321, allocations: 15.73 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.2321, allocations: 29.75 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2322, allocations: 318.8 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2324, allocations: 31.97 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2326, allocations: 39.97 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.2329, allocations: 80.8 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2329, allocations: 0 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003524/0.2332, allocations: 113.5 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2333, allocations: 8 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2333, allocations: 0 / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2333, allocations: 0 / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.2334, allocations: 23.92 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2335, allocations: 3.984 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.2336, allocations: 15.98 kB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.2336, allocations: 8 kB / 0.7888 GB, free: 7.594 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 6.854e-05/0.2337, allocations: 105.8 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.2337, allocations: 7.938 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.2341, allocations: 133.5 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2341, allocations: 8 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2341, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2342, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.2343, allocations: 165.7 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2343, allocations: 3.938 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.2344, allocations: 23.92 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2345, allocations: 0 / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2345, allocations: 7.984 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2345, allocations: 0 / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2345, allocations: 8 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.2351, allocations: 180.9 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.2351, allocations: 89.06 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.2352, allocations: 0 / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2353, allocations: 15.98 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.2353, allocations: 12.05 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.2353, allocations: 3.938 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.2354, allocations: 79.28 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.793e-06/0.2354, allocations: 0 / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002444/0.2356, allocations: 39.92 kB / 0.7897 GB, free: 6.621 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.0009164/0.2366, allocations: 0.7483 MB / 0.7904 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.2369, allocations: 87.92 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.237, allocations: 0 / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.2371, allocations: 43.95 kB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.2373, allocations: 8 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.2393, allocations: 1.368 MB / 0.7919 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.2395, allocations: 0.6768 MB / 0.7925 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.2396, allocations: 20 kB / 0.7925 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.2397, allocations: 15.42 kB / 0.7926 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2397, allocations: 0 / 0.7926 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2578, allocations: 2.03 MB / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.277, allocations: 18.11 kB / 0.7946 GB, free: 1.598 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)