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.422/1.422, allocations: 252 MB / 267.6 MB, free: 10.96 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.001194/0.001194, allocations: 175.6 kB / 327.3 MB, free: 2.211 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.804/1.804, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.00084/0.0008401, allocations: 73.31 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 12.31 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.179, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008314/0.1799, allocations: 0.5049 MB / 0.9013 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1814, allocations: 1.456 MB / 0.9028 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.1814, allocations: 4 kB / 0.9028 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.1814, allocations: 0 / 0.9028 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.1815, allocations: 0 / 0.9028 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1819, allocations: 111.7 kB / 0.9029 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.1819, allocations: 43.91 kB / 0.9029 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.182, allocations: 4 kB / 0.9029 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.1821, allocations: 31.91 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1821, allocations: 23.91 kB / 0.903 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1821, allocations: 4 kB / 0.903 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.1825, allocations: 303.4 kB / 0.9033 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.1825, allocations: 19.92 kB / 0.9033 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.1825, allocations: 29.7 kB / 0.9033 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1827, allocations: 151.8 kB / 0.9035 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1827, allocations: 0 / 0.9035 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1827, allocations: 4 kB / 0.9035 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1827, allocations: 3.938 kB / 0.9035 GB, free: 61.57 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.0005489/0.1833, allocations: 391.5 kB / 0.9038 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1833, allocations: 8.031 kB / 0.9038 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.1838, allocations: 83.83 kB / 0.9039 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.1839, allocations: 178.9 kB / 0.9041 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.1839, allocations: 8 kB / 0.9041 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.184, allocations: 4 kB / 0.9041 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.1843, allocations: 117.6 kB / 0.9042 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1843, allocations: 7.891 kB / 0.9042 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1844, allocations: 0 / 0.9042 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1844, allocations: 8 kB / 0.9042 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.1848, allocations: 127.8 kB / 0.9044 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.1853, allocations: 332.7 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.186, allocations: 198.4 kB / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.1862, allocations: 60.81 kB / 0.9049 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1862, allocations: 4 kB / 0.9049 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.1863, allocations: 42.5 kB / 0.905 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1863, allocations: 0 / 0.905 GB, free: 59.86 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.01725/0.2035, allocations: 3.178 MB / 0.9081 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2036, allocations: 55.41 kB / 0.9081 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.2037, allocations: 101.8 kB / 0.9082 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.2037, allocations: 25.7 kB / 0.9082 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.2038, allocations: 92.05 kB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.2038, allocations: 43.39 kB / 0.9084 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2039, allocations: 4 kB / 0.9084 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.2039, allocations: 318.8 kB / 0.9087 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.2045, allocations: 219.9 kB / 0.9089 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.2051, allocations: 221.6 kB / 0.9091 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.2058, allocations: 215.8 kB / 0.9093 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2058, allocations: 0 / 0.9093 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001363/0.2071, allocations: 0.5232 MB / 0.9098 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2072, allocations: 8 kB / 0.9098 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2072, allocations: 0 / 0.9098 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2072, allocations: 0 / 0.9098 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/0.208, allocations: 115.8 kB / 0.9099 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.208, allocations: 0 / 0.9099 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.2086, allocations: 59.94 kB / 0.91 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.2086, allocations: 27.92 kB / 0.91 GB, free: 54.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.2088, allocations: 121.8 kB / 0.9101 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.2089, allocations: 7.953 kB / 0.9101 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.2089, allocations: 15.91 kB / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2089, allocations: 0 / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2089, allocations: 0 / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2089, allocations: 7.984 kB / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.2108, allocations: 1.094 MB / 0.9112 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2108, allocations: 0 / 0.9112 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.2116, allocations: 115.8 kB / 0.9113 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2116, allocations: 0 / 0.9113 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.2116, allocations: 27.92 kB / 0.9114 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2117, allocations: 0 / 0.9114 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2117, allocations: 0 / 0.9114 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.2137, allocations: 0.8737 MB / 0.9122 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.2139, allocations: 124.9 kB / 0.9123 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.214, allocations: 4.062 kB / 0.9123 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.2146, allocations: 60.12 kB / 0.9124 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.2147, allocations: 27.92 kB / 0.9124 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.2147, allocations: 31.91 kB / 0.9125 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.2148, allocations: 79.28 kB / 0.9125 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2148, allocations: 0 / 0.9125 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003879/0.2152, allocations: 48 kB / 0.9126 GB, free: 51.76 MB / 0.6042 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.0002388/0.2154, allocations: 111.3 kB / 0.9127 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.2168, allocations: 483.7 kB / 0.9131 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2168, allocations: 0 / 0.9131 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006452/0.2175, allocations: 255.7 kB / 0.9134 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.2179, allocations: 15.95 kB / 0.9134 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.2219, allocations: 0.8869 MB / 0.9143 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2221, allocations: 0.6965 MB / 0.915 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.2224, allocations: 79.17 kB / 0.915 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.2224, allocations: 0 / 0.915 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.005269/0.2277, allocations: 3.783 MB / 0.9187 GB, free: 45.39 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)