Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 184.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007476/0.0007478, allocations: 103.7 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 9.344 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0007978/0.1732, allocations: 0.5319 MB / 0.8973 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1746, allocations: 1.538 MB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.1746, allocations: 8 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.1747, allocations: 3.984 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.1747, allocations: 0 / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.1751, allocations: 103.6 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.1751, allocations: 55.89 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.1752, allocations: 7.938 kB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.1752, allocations: 31.91 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.1753, allocations: 27.84 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1753, allocations: 4 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.1756, allocations: 319.3 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1756, allocations: 11.98 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.1757, allocations: 27.86 kB / 0.8994 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1759, allocations: 203.5 kB / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1759, allocations: 4 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1759, allocations: 4 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1759, allocations: 0 / 0.8996 GB, free: 65.25 MB / 0.6042 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.0004608/0.1764, allocations: 387.3 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1764, allocations: 8.031 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.1768, allocations: 92.75 kB / 0.9 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.834e-05/0.1769, allocations: 164.3 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1769, allocations: 8.375 kB / 0.9002 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1769, allocations: 8.281 kB / 0.9002 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1772, allocations: 133.9 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1773, allocations: 0 / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1773, allocations: 0 / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1773, allocations: 0 / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.1777, allocations: 123.9 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1781, allocations: 344.5 kB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.1786, allocations: 190.4 kB / 0.901 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.1788, allocations: 68.8 kB / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1789, allocations: 0 / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.1789, allocations: 42.5 kB / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1789, allocations: 0 / 0.9011 GB, free: 63.55 MB / 0.6042 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.01532/0.1942, allocations: 3.174 MB / 0.9042 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.1943, allocations: 59.48 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.266e-05/0.1943, allocations: 105.7 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1943, allocations: 25.7 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.1944, allocations: 96.03 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.1944, allocations: 39.45 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.1945, allocations: 21.7 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.1945, allocations: 318.8 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.1951, allocations: 215.8 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.1956, allocations: 221.8 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.1968, allocations: 444.5 kB / 0.9056 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1968, allocations: 0 / 0.9056 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001268/0.198, allocations: 0.5237 MB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1981, allocations: 4 kB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1981, allocations: 0 / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1981, allocations: 4 kB / 0.9062 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.1988, allocations: 119.8 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.1988, allocations: 3.938 kB / 0.9063 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/0.1994, allocations: 59.94 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.1994, allocations: 23.94 kB / 0.9064 GB, free: 57.98 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.1995, allocations: 117.8 kB / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.1996, allocations: 0 / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.1996, allocations: 23.95 kB / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1997, allocations: 0 / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1997, allocations: 0 / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1998, allocations: 120.9 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.1998, allocations: 7.984 kB / 0.9066 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.2004, allocations: 55.94 kB / 0.9067 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.2005, allocations: 31.92 kB / 0.9067 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001855/0.2024, allocations: 0.6604 MB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001944/0.2044, allocations: 0.9433 MB / 0.9083 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005561/0.2049, allocations: 223.8 kB / 0.9085 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.195e-05/0.205, allocations: 87.27 kB / 0.9086 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of Backend: time 8.32e-07/0.205, allocations: 0 / 0.9086 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.2061, allocations: 390 kB / 0.9089 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005033/0.2066, allocations: 0.6614 MB / 0.9096 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.007307/0.2139, allocations: 6.636 MB / 0.9161 GB, free: 47.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)