Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 292.6 MB / 307.8 MB, free: 7.164 MB / 234.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.0008802/0.0008802, allocations: 185.1 kB / 376.5 MB, free: 4.484 MB / 298.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 1.452/1.452, allocations: 225.7 MB / 0.655 GB, free: 13.16 MB / 490.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.0007944/0.0007945, allocations: 103.7 kB / 0.7711 GB, free: 50.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003814, allocations: 16.69 kB / 0.897 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5816, allocations: 118.2 MB / 1.012 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009317/0.5825, allocations: 499.6 kB / 1.013 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.5841, allocations: 1.405 MB / 1.014 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.5841, allocations: 0 / 1.014 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.5841, allocations: 3.938 kB / 1.014 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.5842, allocations: 0.625 kB / 1.014 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.5846, allocations: 118.4 kB / 1.014 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.5846, allocations: 40.31 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.5847, allocations: 6.781 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.5847, allocations: 25.59 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.5848, allocations: 27.17 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.5848, allocations: 5.094 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.5852, allocations: 310.1 kB / 1.015 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.5852, allocations: 20.08 kB / 1.015 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.5853, allocations: 43.5 kB / 1.015 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.5855, allocations: 149.5 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5855, allocations: 0 / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5855, allocations: 0.9062 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.5855, allocations: 3.938 kB / 1.015 GB, free: 57.81 MB / 0.7136 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.0004892/0.586, allocations: 392.9 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.586, allocations: 11.69 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.5865, allocations: 91.98 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.5865, allocations: 170.5 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.5866, allocations: 6.656 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.5866, allocations: 8.281 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.587, allocations: 123.1 kB / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.587, allocations: 0 / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.587, allocations: 3.688 kB / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.587, allocations: 4.594 kB / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.5875, allocations: 127.7 kB / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.588, allocations: 335.5 kB / 1.016 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.5886, allocations: 186.8 kB / 1.016 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.5888, allocations: 67.95 kB / 1.016 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.5888, allocations: 0 / 1.016 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.5888, allocations: 33.5 kB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.5889, allocations: 0 / 1.016 GB, free: 56.84 MB / 0.7136 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.01768/0.6065, allocations: 3.19 MB / 1.02 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.6066, allocations: 55.34 kB / 1.02 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.6067, allocations: 104.9 kB / 1.02 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.6067, allocations: 25.7 kB / 1.02 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.6067, allocations: 91.14 kB / 1.02 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.6068, allocations: 42.2 kB / 1.02 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.6068, allocations: 6.781 kB / 1.02 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.6069, allocations: 314.1 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/0.6075, allocations: 215.7 kB / 1.02 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.6082, allocations: 219.2 kB / 1.021 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.6094, allocations: 448.4 kB / 1.021 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6094, allocations: 3.094 kB / 1.021 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001394/0.6108, allocations: 0.5103 MB / 1.022 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6109, allocations: 5.781 kB / 1.022 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6109, allocations: 0.6562 kB / 1.022 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6109, allocations: 0 / 1.022 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.6117, allocations: 128.5 kB / 1.022 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.6117, allocations: 3.938 kB / 1.022 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/0.6123, allocations: 57.62 kB / 1.022 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.6124, allocations: 27.17 kB / 1.022 GB, free: 55.55 MB / 0.7136 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.0001124/0.6125, allocations: 121.2 kB / 1.022 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.6126, allocations: 9.453 kB / 1.022 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.6126, allocations: 9.031 kB / 1.022 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6126, allocations: 2.25 kB / 1.022 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6126, allocations: 3.938 kB / 1.022 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6126, allocations: 3.422 kB / 1.022 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.6145, allocations: 1.104 MB / 1.023 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6146, allocations: 2.875 kB / 1.023 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.6154, allocations: 118.2 kB / 1.023 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.6154, allocations: 10.94 kB / 1.023 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.6154, allocations: 24.92 kB / 1.023 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6154, allocations: 2.906 kB / 1.023 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6154, allocations: 0 / 1.023 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.6176, allocations: 0.8608 MB / 1.024 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6177, allocations: 124.1 kB / 1.024 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.6178, allocations: 4.625 kB / 1.024 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.6185, allocations: 57.73 kB / 1.024 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.6186, allocations: 27.55 kB / 1.024 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.6186, allocations: 25.91 kB / 1.024 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.6187, allocations: 85.38 kB / 1.024 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6187, allocations: 0 / 1.024 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003314/0.619, allocations: 57.09 kB / 1.024 GB, free: 54.49 MB / 0.7136 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.0001791/0.6192, allocations: 117.1 kB / 1.024 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.6205, allocations: 474.2 kB / 1.025 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6205, allocations: 1 kB / 1.025 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006885/0.6212, allocations: 250.7 kB / 1.025 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.6216, allocations: 18.52 kB / 1.025 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.6257, allocations: 0.8706 MB / 1.026 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.6258, allocations: 0.6953 MB / 1.027 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006598/0.6264, allocations: 87.62 kB / 1.027 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.6267, allocations: 56.09 kB / 1.027 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.6267, allocations: 0 / 1.027 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.004961/0.6317, allocations: 3.254 MB / 1.03 GB, free: 53.22 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)