Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004352/0.004351, allocations: 236 kB / 15.81 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001143/0.001143, allocations: 178.8 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.981/3.981, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.198/4.198, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004928, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001578/0.2092, allocations: 0.4964 MB / 1.105 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.2124, allocations: 1.43 MB / 1.106 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.2125, allocations: 0 / 1.106 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.2126, allocations: 7.938 kB / 1.106 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.2126, allocations: 3.984 kB / 1.107 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.2133, allocations: 114.8 kB / 1.107 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.2134, allocations: 39.91 kB / 1.107 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.2134, allocations: 7.984 kB / 1.107 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.2135, allocations: 23.92 kB / 1.107 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.2136, allocations: 28.88 kB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2136, allocations: 4 kB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.2142, allocations: 314.8 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.2142, allocations: 11.92 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.2143, allocations: 29.7 kB / 1.107 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.2146, allocations: 151.8 kB / 1.107 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2146, allocations: 0 / 1.107 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2146, allocations: 0 / 1.107 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2146, allocations: 0 / 1.107 GB, free: 39.39 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007319/0.2154, allocations: 394.9 kB / 1.108 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2154, allocations: 8.031 kB / 1.108 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/0.2161, allocations: 85.84 kB / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.684e-05/0.2162, allocations: 171 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.2163, allocations: 8 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.2163, allocations: 8 kB / 1.108 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.2169, allocations: 116.4 kB / 1.108 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2169, allocations: 0 / 1.108 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.217, allocations: 5.734 kB / 1.108 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.217, allocations: 6.781 kB / 1.108 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008535/0.2179, allocations: 126.3 kB / 1.108 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.2186, allocations: 347.6 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2197, allocations: 177.5 kB / 1.109 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.2201, allocations: 65.22 kB / 1.109 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2202, allocations: 7.984 kB / 1.109 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2202, allocations: 37.53 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.2202, allocations: 0 / 1.109 GB, free: 37.73 MB / 0.6042 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.05083/0.271, allocations: 3.189 MB / 1.112 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2711, allocations: 55.41 kB / 1.112 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.2713, allocations: 97.84 kB / 1.112 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.2714, allocations: 29.7 kB / 1.112 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.2715, allocations: 88.08 kB / 1.112 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2716, allocations: 43.36 kB / 1.112 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.2717, allocations: 3.312 kB / 1.112 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.2718, allocations: 326.8 kB / 1.112 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.2737, allocations: 210.1 kB / 1.113 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.2756, allocations: 215.4 kB / 1.113 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.2776, allocations: 218.2 kB / 1.113 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2776, allocations: 0 / 1.113 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.004322/0.282, allocations: 0.5179 MB / 1.114 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.2821, allocations: 10.88 kB / 1.114 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2821, allocations: 0 / 1.114 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.2821, allocations: 0 / 1.114 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.2845, allocations: 117.4 kB / 1.114 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.2845, allocations: 3.938 kB / 1.114 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.2864, allocations: 58.75 kB / 1.114 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.2866, allocations: 28.86 kB / 1.114 GB, free: 32.59 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 (13): * Single equations (assignments): 13 * 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 0.0003038/0.287, allocations: 121.7 kB / 1.114 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.2871, allocations: 8.406 kB / 1.114 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.388e-05/0.2872, allocations: 14.78 kB / 1.114 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2873, allocations: 3.984 kB / 1.114 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2873, allocations: 0 / 1.114 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.2876, allocations: 113 kB / 1.114 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.2878, allocations: 0 / 1.114 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.2898, allocations: 67.39 kB / 1.114 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.29, allocations: 30.44 kB / 1.114 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006393/0.2965, allocations: 0.6636 MB / 1.115 GB, free: 31.56 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006515/0.303, allocations: 0.9531 MB / 1.116 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001903/0.305, allocations: 220.5 kB / 1.116 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.3051, allocations: 83.27 kB / 1.116 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of Backend: time 1.102e-06/0.3051, allocations: 0 / 1.116 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003093/0.3082, allocations: 385.6 kB / 1.116 GB, free: 29.95 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001026/0.3093, allocations: 0.6711 MB / 1.117 GB, free: 29.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.02267/0.332, allocations: 6.499 MB / 1.123 GB, free: 22.94 MB / 0.6042 GB