Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.274/1.274, 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.0008997/0.0008997, allocations: 175.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.421/1.421, allocations: 205 MB / 0.5766 GB, free: 21 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.0007547/0.0007546, allocations: 78.38 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 14.31 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1832, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006378/0.1839, allocations: 343.2 kB / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1855, allocations: 1.523 MB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.1855, allocations: 4 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.1855, allocations: 0 / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.512e-05/0.1856, allocations: 0 / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.186, allocations: 111.7 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.1861, allocations: 27.97 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.1861, allocations: 7.938 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.1862, allocations: 15.98 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.1863, allocations: 19.97 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1863, allocations: 4 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.1867, allocations: 311.3 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.1867, allocations: 11.92 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.1867, allocations: 11.98 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.187, allocations: 191.9 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.187, allocations: 8 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.187, allocations: 0 / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.187, allocations: 0 / 0.8993 GB, free: 65.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004476/0.1875, allocations: 355.4 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1875, allocations: 8.031 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.188, allocations: 76.84 kB / 0.8997 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1881, allocations: 172.3 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1881, allocations: 8.359 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1881, allocations: 4.375 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1884, allocations: 85.94 kB / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1884, allocations: 0 / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1884, allocations: 0 / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1884, allocations: 3.938 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.1887, allocations: 79.92 kB / 0.9 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1888, allocations: 165.6 kB / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.1894, allocations: 146.5 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1895, allocations: 52.91 kB / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003932/0.1899, allocations: 173 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.19, allocations: 34.5 kB / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.19, allocations: 0 / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0009647/0.1909, allocations: 438.2 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.396e-05/0.191, allocations: 55.41 kB / 0.901 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.982e-05/0.191, allocations: 93.84 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.191, allocations: 37.77 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.332e-05/0.191, allocations: 80.14 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1911, allocations: 19.7 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.1911, allocations: 13.72 kB / 0.9013 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.1911, allocations: 318.8 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1913, allocations: 43.97 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1914, allocations: 43.91 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.1917, allocations: 92.98 kB / 0.9018 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1917, allocations: 4 kB / 0.9018 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002925/0.192, allocations: 121.6 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.192, allocations: 14.44 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1921, allocations: 0 / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1921, allocations: 0 / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1922, allocations: 27.98 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1922, allocations: 7.922 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.1923, allocations: 15.98 kB / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1923, allocations: 0 / 0.9019 GB, free: 62.53 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 (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.31e-05/0.1924, allocations: 115.8 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.1924, allocations: 7.938 kB / 0.9021 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.1928, allocations: 141.2 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1928, allocations: 4 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1928, allocations: 0 / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.1929, allocations: 89 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1929, allocations: 3.938 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.193, allocations: 19.98 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1931, allocations: 7.984 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004075/0.1935, allocations: 220.8 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004789/0.194, allocations: 350.7 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001381/0.1941, allocations: 56.3 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.667e-05/0.1941, allocations: 75.28 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of Backend: time 3.81e-07/0.1941, allocations: 7.938 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.1947, allocations: 171.7 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002772/0.195, allocations: 0.5709 MB / 0.9037 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.003181/0.1981, allocations: 1.648 MB / 0.9053 GB, free: 58.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)