Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.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 8.0.0/package.mo): time 1.847/1.847, allocations: 291.7 MB / 306.8 MB, free: 7.668 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.001001/0.001001, allocations: 178.3 kB / 375.4 MB, free: 5.117 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.411/1.411, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.001055/0.001055, allocations: 100 kB / 0.7699 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 14.5 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6887, allocations: 118.1 MB / 1.011 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001114/0.6899, allocations: 0.498 MB / 1.011 GB, free: 57.99 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.6925, allocations: 1.401 MB / 1.013 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.6926, allocations: 3.906 kB / 1.013 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.6926, allocations: 0.7969 kB / 1.013 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.6927, allocations: 0 / 1.013 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.6933, allocations: 115.4 kB / 1.013 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.6935, allocations: 47.98 kB / 1.013 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.6935, allocations: 11.19 kB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.6936, allocations: 23.64 kB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.6937, allocations: 37.72 kB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.6938, allocations: 3.812 kB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006672/0.6944, allocations: 299.9 kB / 1.013 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.6945, allocations: 16.72 kB / 1.013 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.6945, allocations: 35.64 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.6949, allocations: 147.6 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6949, allocations: 2.344 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6949, allocations: 0 / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6949, allocations: 0 / 1.013 GB, free: 57.79 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.0007406/0.6956, allocations: 397.5 kB / 1.014 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6957, allocations: 8.531 kB / 1.014 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.6963, allocations: 88.77 kB / 1.014 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.6965, allocations: 171 kB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.6965, allocations: 7.688 kB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.6966, allocations: 9.812 kB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.6971, allocations: 120.8 kB / 1.014 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.6971, allocations: 1.531 kB / 1.014 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.6971, allocations: 6.75 kB / 1.014 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.6972, allocations: 0.5156 kB / 1.014 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008178/0.698, allocations: 127.4 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.6987, allocations: 339.4 kB / 1.015 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/0.6996, allocations: 184 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.7, allocations: 68.5 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.7, allocations: 3.828 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.7, allocations: 32.78 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.7, allocations: 0 / 1.015 GB, free: 56.82 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.03031/0.7304, allocations: 3.186 MB / 1.018 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.7305, allocations: 55.34 kB / 1.018 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.7306, allocations: 98.42 kB / 1.018 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.7307, allocations: 30.14 kB / 1.018 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.7308, allocations: 85.77 kB / 1.018 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.7309, allocations: 44.73 kB / 1.018 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.731, allocations: 9.25 kB / 1.018 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.7311, allocations: 317.3 kB / 1.019 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.7323, allocations: 216.9 kB / 1.019 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.7334, allocations: 224.8 kB / 1.019 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.7357, allocations: 441.7 kB / 1.02 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7357, allocations: 4 kB / 1.02 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002695/0.7384, allocations: 0.5089 MB / 1.02 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.7385, allocations: 2.938 kB / 1.02 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.7385, allocations: 6.969 kB / 1.02 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.7386, allocations: 0 / 1.02 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.74, allocations: 123 kB / 1.02 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.74, allocations: 3.938 kB / 1.02 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.7411, allocations: 60.92 kB / 1.02 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.7412, allocations: 23.19 kB / 1.02 GB, free: 55.52 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.0002109/0.7414, allocations: 112.7 kB / 1.02 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.7416, allocations: 11.02 kB / 1.02 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.7417, allocations: 13.31 kB / 1.02 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7417, allocations: 0 / 1.02 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7417, allocations: 10.38 kB / 1.02 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.7417, allocations: 2.531 kB / 1.02 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.7454, allocations: 1.105 MB / 1.021 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.7454, allocations: 0 / 1.021 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.7468, allocations: 119.7 kB / 1.022 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.7469, allocations: 3.938 kB / 1.022 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/0.747, allocations: 24.02 kB / 1.022 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.747, allocations: 0 / 1.022 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.747, allocations: 0 / 1.022 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.7511, allocations: 0.8762 MB / 1.022 GB, free: 54.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.7513, allocations: 113.4 kB / 1.023 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7514, allocations: 6.469 kB / 1.023 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.7527, allocations: 60.11 kB / 1.023 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7528, allocations: 31.47 kB / 1.023 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.793e-05/0.7529, allocations: 27.52 kB / 1.023 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.753, allocations: 82.31 kB / 1.023 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/0.753, allocations: 1.781 kB / 1.023 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006689/0.7537, allocations: 56.69 kB / 1.023 GB, free: 54.46 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.0002913/0.754, allocations: 114.1 kB / 1.023 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.7566, allocations: 477 kB / 1.023 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7566, allocations: 2.875 kB / 1.023 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.7579, allocations: 253.7 kB / 1.024 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.7585, allocations: 8.938 kB / 1.024 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/0.766, allocations: 0.8677 MB / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.7662, allocations: 0.6944 MB / 1.025 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001451/0.7677, allocations: 93.73 kB / 1.025 GB, free: 53.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.7681, allocations: 52.98 kB / 1.025 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.7681, allocations: 0 / 1.025 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.01102/0.7791, allocations: 3.242 MB / 1.028 GB, free: 53.2 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)