Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.52/2.52, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 188.3 kB / 329.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.479/2.479, allocations: 225.6 MB / 0.6001 GB, free: 2.129 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009485, allocations: 107.2 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006613/0.0006615, allocations: 17.53 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2289, allocations: 109.1 MB / 0.9308 GB, free: 25.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001059/0.23, allocations: 491.1 kB / 0.9313 GB, free: 24.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.232, allocations: 1.408 MB / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.2321, allocations: 0 / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.2321, allocations: 3.938 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.2322, allocations: 4 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.2328, allocations: 115.6 kB / 0.9327 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.2329, allocations: 51.64 kB / 0.9328 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.2329, allocations: 0 / 0.9328 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.233, allocations: 27.86 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.2331, allocations: 39.89 kB / 0.9329 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2331, allocations: 0 / 0.9329 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.2337, allocations: 307.4 kB / 0.9332 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.2338, allocations: 15.91 kB / 0.9332 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.2338, allocations: 33.7 kB / 0.9332 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.2341, allocations: 143.8 kB / 0.9333 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2342, allocations: 0 / 0.9333 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2342, allocations: 0 / 0.9333 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2342, allocations: 0 / 0.9333 GB, free: 22.45 MB / 0.5886 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.0007739/0.235, allocations: 395.7 kB / 0.9337 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.235, allocations: 8.031 kB / 0.9337 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/0.2358, allocations: 84.84 kB / 0.9338 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.997e-05/0.2359, allocations: 172.2 kB / 0.934 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.2359, allocations: 8.375 kB / 0.934 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.236, allocations: 12.28 kB / 0.934 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.2366, allocations: 117.9 kB / 0.9341 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2366, allocations: 4 kB / 0.9341 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.2366, allocations: 4 kB / 0.9341 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.2367, allocations: 0 / 0.9341 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008522/0.2375, allocations: 119.9 kB / 0.9342 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.2383, allocations: 344.6 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2395, allocations: 186.4 kB / 0.9347 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.2399, allocations: 72.91 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2399, allocations: 3.984 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.24, allocations: 34.56 kB / 0.9348 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.24, allocations: 0 / 0.9348 GB, free: 20.76 MB / 0.5886 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.03535/0.2753, allocations: 3.181 MB / 0.9379 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2754, allocations: 55.34 kB / 0.938 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.2755, allocations: 101.8 kB / 0.9381 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.2756, allocations: 29.7 kB / 0.9381 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.2756, allocations: 91.98 kB / 0.9382 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.325e-05/0.2757, allocations: 35.45 kB / 0.9382 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.2758, allocations: 0 / 0.9382 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.2759, allocations: 318.8 kB / 0.9385 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.2771, allocations: 215.7 kB / 0.9388 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.2783, allocations: 219.8 kB / 0.939 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.2796, allocations: 227.8 kB / 0.9392 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2796, allocations: 4 kB / 0.9392 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003393/0.283, allocations: 0.5132 MB / 0.9397 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.2831, allocations: 4 kB / 0.9397 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2831, allocations: 7.984 kB / 0.9397 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2831, allocations: 0 / 0.9397 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.2853, allocations: 119.8 kB / 0.9398 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.2853, allocations: 7.938 kB / 0.9398 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.2871, allocations: 59.94 kB / 0.9399 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.2873, allocations: 23.92 kB / 0.9399 GB, free: 15.43 MB / 0.5886 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.0002862/0.2876, allocations: 121.8 kB / 0.94 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.2878, allocations: 4 kB / 0.94 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.2879, allocations: 7.969 kB / 0.94 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2879, allocations: 4 kB / 0.94 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.2879, allocations: 7.938 kB / 0.94 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2879, allocations: 0 / 0.94 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.293, allocations: 1.109 MB / 0.9411 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.2931, allocations: 3.938 kB / 0.9411 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/0.2952, allocations: 119.8 kB / 0.9412 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.2953, allocations: 7.938 kB / 0.9412 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.2955, allocations: 23.92 kB / 0.9413 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2955, allocations: 0 / 0.9413 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2955, allocations: 0 / 0.9413 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006079/0.3016, allocations: 0.8621 MB / 0.9421 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.302, allocations: 124.9 kB / 0.9422 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.3022, allocations: 0 / 0.9422 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.304, allocations: 60 kB / 0.9423 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.3043, allocations: 31.86 kB / 0.9423 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.3044, allocations: 27.94 kB / 0.9423 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.3045, allocations: 83.55 kB / 0.9424 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.32e-07/0.3045, allocations: 3.938 kB / 0.9424 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008449/0.3054, allocations: 48 kB / 0.9425 GB, free: 12.63 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0004488/0.3059, allocations: 123.4 kB / 0.9426 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.3098, allocations: 475.5 kB / 0.943 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.3099, allocations: 0 / 0.943 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.3118, allocations: 243.7 kB / 0.9433 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/0.3127, allocations: 11.98 kB / 0.9433 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.3237, allocations: 0.8623 MB / 0.9441 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3239, allocations: 0.6964 MB / 0.9448 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001663/0.3256, allocations: 96.66 kB / 0.9449 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.3262, allocations: 59.3 kB / 0.945 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/0.3263, allocations: 0 / 0.945 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.01117/0.3375, allocations: 3.247 MB / 0.9481 GB, free: 6.766 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)