Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.4 MB / 303.4 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 171.2 kB / 372 MB, free: 10.2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 0.6307 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00085/0.0008501, allocations: 93.19 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 12.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008381/0.1939, allocations: 0.4972 MB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1954, allocations: 1.453 MB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.1955, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1955, allocations: 4 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.1956, allocations: 3.938 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.196, allocations: 103.7 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.1961, allocations: 47.89 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.1961, allocations: 7.938 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.1962, allocations: 23.92 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.1962, allocations: 31.89 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1963, allocations: 4 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.1966, allocations: 315.3 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.1967, allocations: 8 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.1967, allocations: 33.69 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1969, allocations: 148 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1969, allocations: 0 / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1969, allocations: 0 / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.1969, allocations: 4 kB / 0.9822 GB, free: 24.92 MB / 0.6198 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.0005216/0.1974, allocations: 391.2 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1975, allocations: 19.95 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.1979, allocations: 87.81 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.198, allocations: 163 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1981, allocations: 12 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.1981, allocations: 4 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.1985, allocations: 125.6 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1985, allocations: 0 / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1985, allocations: 0 / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1985, allocations: 0 / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.199, allocations: 131.8 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.1995, allocations: 348.5 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.2002, allocations: 186.4 kB / 0.9836 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.2004, allocations: 68.8 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.2004, allocations: 0 / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.2005, allocations: 38.56 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2005, allocations: 0 / 0.9837 GB, free: 23.21 MB / 0.6198 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.01828/0.2188, allocations: 3.174 MB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.2188, allocations: 51.41 kB / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.2189, allocations: 105.8 kB / 0.987 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.2189, allocations: 29.7 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.219, allocations: 84.08 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.219, allocations: 39.45 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.2191, allocations: 8 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.2191, allocations: 318.8 kB / 0.9874 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.2198, allocations: 223.7 kB / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.2204, allocations: 215.8 kB / 0.9878 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.221, allocations: 217 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.221, allocations: 0 / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001426/0.2225, allocations: 0.5267 MB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2225, allocations: 4 kB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2225, allocations: 0 / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2225, allocations: 0 / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.2233, allocations: 123.7 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.2233, allocations: 3.984 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.224, allocations: 59.94 kB / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.224, allocations: 23.94 kB / 0.9888 GB, free: 17.9 MB / 0.6198 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.0001462/0.2242, allocations: 113.8 kB / 0.9889 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.2243, allocations: 11.95 kB / 0.9889 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.2243, allocations: 23.89 kB / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2243, allocations: 0 / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2243, allocations: 0 / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2243, allocations: 0 / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.2263, allocations: 1.102 MB / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2263, allocations: 0 / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.2271, allocations: 119.8 kB / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2272, allocations: 0 / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.2272, allocations: 19.94 kB / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2272, allocations: 0 / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2272, allocations: 4 kB / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.2293, allocations: 0.8697 MB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.2295, allocations: 117 kB / 0.9911 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.2295, allocations: 0 / 0.9911 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/0.2303, allocations: 68 kB / 0.9911 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.2303, allocations: 31.92 kB / 0.9912 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.2304, allocations: 23.92 kB / 0.9912 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.2304, allocations: 83.28 kB / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2304, allocations: 0 / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003497/0.2308, allocations: 48 kB / 0.9913 GB, free: 15.12 MB / 0.6198 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.0002117/0.231, allocations: 115.6 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.2323, allocations: 471.5 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2324, allocations: 0 / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006594/0.233, allocations: 252 kB / 0.9921 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2334, allocations: 16.11 kB / 0.9921 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.2374, allocations: 0.8733 MB / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.2375, allocations: 0.6926 MB / 0.9937 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000686/0.2382, allocations: 93.69 kB / 0.9938 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.2385, allocations: 55.3 kB / 0.9938 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.2385, allocations: 0 / 0.9938 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.004855/0.2433, allocations: 3.246 MB / 0.997 GB, free: 9.262 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)