Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.0009063/0.0009063, allocations: 192.7 kB / 382.3 MB, free: 14.82 MB / 314.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.323/1.323, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0007945/0.0007945, allocations: 100.7 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 13.66 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5311, allocations: 119.2 MB / 1.022 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007212/0.5318, allocations: 337.1 kB / 1.023 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.5336, allocations: 1.812 MB / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.5336, allocations: 0 / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.5337, allocations: 0 / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.826e-05/0.5337, allocations: 7.406 kB / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.5341, allocations: 107.8 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.5342, allocations: 33.75 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.5343, allocations: 0.7969 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.5343, allocations: 18.81 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.5344, allocations: 23.58 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.5344, allocations: 2 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.5349, allocations: 309.3 kB / 1.025 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.5349, allocations: 9.047 kB / 1.025 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.535, allocations: 37.08 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.5353, allocations: 191.2 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5353, allocations: 0 / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5353, allocations: 0 / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.5354, allocations: 0 / 1.025 GB, free: 56.23 MB / 0.698 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.0004455/0.5358, allocations: 360.6 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5359, allocations: 11.44 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.5363, allocations: 80.77 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.914e-05/0.5364, allocations: 165.1 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5365, allocations: 384 / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.5365, allocations: 3.781 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.5367, allocations: 94.72 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.5368, allocations: 2.562 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.5368, allocations: 0 / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5368, allocations: 0 / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.5371, allocations: 78.53 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.5372, allocations: 169.6 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.5378, allocations: 140 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.538, allocations: 59.56 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004531/0.5385, allocations: 170.3 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.5385, allocations: 40.62 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5385, allocations: 0 / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001095/0.5396, allocations: 438.5 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.5397, allocations: 52.2 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.945e-05/0.5397, allocations: 97.23 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.5397, allocations: 26.95 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.511e-05/0.5397, allocations: 85 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5398, allocations: 25.03 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.5398, allocations: 0 / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.5398, allocations: 312.7 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.54, allocations: 45.22 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.5401, allocations: 40.2 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.5404, allocations: 88.5 kB / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5404, allocations: 7.938 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003124/0.5408, allocations: 131.6 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5408, allocations: 9.156 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5408, allocations: 0 / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5408, allocations: 0 / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5409, allocations: 26.2 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.541, allocations: 0 / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.5411, allocations: 18.59 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.5411, allocations: 9.922 kB / 1.028 GB, free: 54.21 MB / 0.698 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 5.257e-05/0.5411, allocations: 109.5 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.5411, allocations: 3.938 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.5416, allocations: 150.2 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5416, allocations: 0 / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5416, allocations: 2.75 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5416, allocations: 4 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/0.5417, allocations: 170.1 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5417, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.5418, allocations: 27.34 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5419, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5419, allocations: 1.75 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5419, allocations: 4.5 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5419, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.5424, allocations: 205.5 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.5425, allocations: 98.8 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.5425, allocations: 0.5625 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.5426, allocations: 16.52 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.5426, allocations: 7.125 kB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5427, allocations: 2.844 kB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.952e-05/0.5427, allocations: 86.08 kB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5427, allocations: 4.094 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002169/0.5429, allocations: 28.78 kB / 1.029 GB, free: 53.52 MB / 0.698 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.000195/0.5431, allocations: 135.1 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.5435, allocations: 103 kB / 1.029 GB, free: 53.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5435, allocations: 0 / 1.029 GB, free: 53.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.5436, allocations: 52.78 kB / 1.029 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.5438, allocations: 10.03 kB / 1.029 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.5443, allocations: 200 kB / 1.029 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.5444, allocations: 0.6799 MB / 1.03 GB, free: 52.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.5445, allocations: 18.73 kB / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.5446, allocations: 11.98 kB / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.5446, allocations: 0 / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of Templates: time 0.003152/0.5478, allocations: 1.122 MB / 1.031 GB, free: 52.46 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)