Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.704/1.704, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.0009596/0.0009596, allocations: 172.2 kB / 393.1 MB, free: 4.074 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.343/1.343, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.0008064, allocations: 99.39 kB / 0.7935 GB, free: 39.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 12 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5261, allocations: 121.3 MB / 1.041 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.000741/0.5269, allocations: 367 kB / 1.041 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.5285, allocations: 1.801 MB / 1.043 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.5285, allocations: 1.5 kB / 1.043 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.5285, allocations: 3.938 kB / 1.043 GB, free: 56.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.5286, allocations: 5.844 kB / 1.043 GB, free: 56.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.5289, allocations: 98.61 kB / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.529, allocations: 27.5 kB / 1.043 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.5291, allocations: 1.578 kB / 1.043 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.5291, allocations: 15.45 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.5292, allocations: 24.59 kB / 1.043 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.5292, allocations: 0.6562 kB / 1.043 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.5296, allocations: 310.8 kB / 1.043 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.5296, allocations: 5.125 kB / 1.043 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.5297, allocations: 43.09 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.5299, allocations: 186.2 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.53, allocations: 0 / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.53, allocations: 3.156 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.53, allocations: 0 / 1.044 GB, free: 55.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003915/0.5304, allocations: 369 kB / 1.044 GB, free: 55.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5304, allocations: 13.34 kB / 1.044 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.5308, allocations: 78.61 kB / 1.044 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.5309, allocations: 179.9 kB / 1.044 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5309, allocations: 3.781 kB / 1.044 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.531, allocations: 7.188 kB / 1.044 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.5312, allocations: 80.62 kB / 1.044 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5312, allocations: 2.156 kB / 1.044 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5312, allocations: 0 / 1.044 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5313, allocations: 0 / 1.044 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.5316, allocations: 85.31 kB / 1.044 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.5318, allocations: 170.5 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.5323, allocations: 155 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.5325, allocations: 47.12 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.5325, allocations: 2.031 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.5325, allocations: 42.44 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5325, allocations: 0 / 1.045 GB, free: 54.86 MB / 0.698 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=9): time 0.00402/0.5365, allocations: 0.9525 MB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.5366, allocations: 52.56 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.5366, allocations: 114.5 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.5367, allocations: 25.7 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.5367, allocations: 86.95 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.5367, allocations: 24.19 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.5367, allocations: 6.375 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.5368, allocations: 313.3 kB / 1.046 GB, free: 54.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.5372, allocations: 124.3 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.5376, allocations: 116.9 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/0.5384, allocations: 242.5 kB / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.5384, allocations: 0 / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008508/0.5393, allocations: 290.5 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5393, allocations: 8.844 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5393, allocations: 4 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5393, allocations: 0 / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.5396, allocations: 62.78 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5396, allocations: 5.359 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.5399, allocations: 43.64 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.5399, allocations: 3.375 kB / 1.047 GB, free: 53.91 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 (9): * Single equations (assignments): 9 * 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 7.463e-05/0.54, allocations: 117.2 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.54, allocations: 7.562 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.54, allocations: 15.39 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5401, allocations: 0.75 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5401, allocations: 6.469 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5401, allocations: 2.484 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.5417, allocations: 0.6532 MB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5417, allocations: 3.188 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.542, allocations: 64.78 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.542, allocations: 0 / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.542, allocations: 4.359 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.542, allocations: 5.469 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.542, allocations: 3.938 kB / 1.048 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.5429, allocations: 388.3 kB / 1.048 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.5429, allocations: 89.52 kB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.5429, allocations: 2.344 kB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.5432, allocations: 49.05 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.5433, allocations: 12.36 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.5433, allocations: 5.094 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.5433, allocations: 91.45 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5433, allocations: 3.938 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003027/0.5436, allocations: 45.06 kB / 1.049 GB, free: 52.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0001927/0.5438, allocations: 129.8 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008985/0.5447, allocations: 251.2 kB / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5447, allocations: 1.812 kB / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.5452, allocations: 130.8 kB / 1.049 GB, free: 52.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.5455, allocations: 7.969 kB / 1.049 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.547, allocations: 478.7 kB / 1.05 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.5472, allocations: 0.6852 MB / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.5473, allocations: 20.03 kB / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.5474, allocations: 18.16 kB / 1.05 GB, free: 51.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5474, allocations: 4 kB / 1.05 GB, free: 51.93 MB / 0.698 GB Notification: Performance of Templates: time 0.004117/0.5515, allocations: 1.59 MB / 1.052 GB, free: 51.82 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)