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.001042/0.001042, allocations: 105.4 kB / 15.7 MB, free: 24 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.001147/0.001147, allocations: 192.5 kB / 16.64 MB, free: 6.594 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.687/1.687, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001547/0.001547, allocations: 71.52 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2266, allocations: 114.5 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002284/0.2289, allocations: 0.5937 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.2312, allocations: 1.49 MB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.2313, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.2313, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.702e-05/0.2314, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.232, allocations: 139.4 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.732e-05/0.2321, allocations: 39.89 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.2322, allocations: 4 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.2322, allocations: 15.92 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2323, allocations: 23.97 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2323, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005244/0.2329, allocations: 319.3 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.2329, allocations: 11.92 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.2329, allocations: 11.98 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.2333, allocations: 187.6 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2333, allocations: 4 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2333, allocations: 0 / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2334, allocations: 0 / 0.7864 GB, free: 10.42 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.0007142/0.2341, allocations: 363.7 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.2341, allocations: 8.031 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.2342, allocations: 34.75 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.2347, allocations: 68.84 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2348, allocations: 164.4 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2349, allocations: 8.344 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2349, allocations: 4.375 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.2352, allocations: 77.7 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2352, allocations: 0 / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2353, allocations: 4 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2353, allocations: 0 / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.2356, allocations: 63.92 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.2358, allocations: 165.6 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.2365, allocations: 122.5 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.2367, allocations: 48.91 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.2372, allocations: 157 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2372, allocations: 42.5 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2372, allocations: 0 / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.00126/0.2385, allocations: 402.2 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.2385, allocations: 51.41 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.2386, allocations: 97.84 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.2387, allocations: 25.7 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.2387, allocations: 88.27 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.2387, allocations: 19.73 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.2388, allocations: 29.55 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2389, allocations: 310.8 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2391, allocations: 35.97 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2393, allocations: 35.97 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2396, allocations: 84.73 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2396, allocations: 0 / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003729/0.24, allocations: 113.6 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.24, allocations: 4 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.24, allocations: 0 / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.24, allocations: 0 / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2402, allocations: 27.97 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2402, allocations: 4 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.2403, allocations: 11.98 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2403, allocations: 4 kB / 0.789 GB, free: 7.504 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 0.0001018/0.2404, allocations: 106.5 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.2405, allocations: 7.938 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.2409, allocations: 141.1 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.241, allocations: 0 / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.241, allocations: 320 / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.241, allocations: 0 / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.2412, allocations: 165.7 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.2412, allocations: 7.938 kB / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.2414, allocations: 28.23 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2414, allocations: 4 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2414, allocations: 8 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2414, allocations: 0 / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2414, allocations: 0 / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.242, allocations: 192.9 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.2421, allocations: 85.03 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.2422, allocations: 7.984 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.2423, allocations: 16.05 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.2423, allocations: 4 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2424, allocations: 4 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.2424, allocations: 79.27 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2424, allocations: 0 / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002547/0.2427, allocations: 32 kB / 0.7898 GB, free: 6.527 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.001118/0.2438, allocations: 0.7568 MB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.2442, allocations: 80 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2442, allocations: 0 / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.2444, allocations: 51.89 kB / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.2446, allocations: 11.94 kB / 0.7907 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.2467, allocations: 1.36 MB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.247, allocations: 0.6807 MB / 0.7927 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.499e-05/0.2471, allocations: 16 kB / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2471, allocations: 11.44 kB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.2471, allocations: 0 / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2692, allocations: 2.048 MB / 0.7947 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.622, allocations: 11.45 kB / 0.7947 GB, free: 1.5 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)