Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002707/0.002707, allocations: 298.5 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.254/1.254, allocations: 180.6 MB / 0.5369 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00294/0.00294, allocations: 105.1 kB / 0.74 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1752, allocations: 95.39 MB / 0.8332 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002129/0.1774, allocations: 0.7775 MB / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1796, allocations: 1.456 MB / 0.8354 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.1796, allocations: 0 / 0.8354 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.1797, allocations: 7.938 kB / 0.8354 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.1797, allocations: 0 / 0.8354 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.1804, allocations: 147.4 kB / 0.8355 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1805, allocations: 51.84 kB / 0.8356 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.1806, allocations: 7.984 kB / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.1807, allocations: 23.92 kB / 0.8356 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.1807, allocations: 27.89 kB / 0.8356 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1807, allocations: 4 kB / 0.8356 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.1812, allocations: 247.5 kB / 0.8359 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.1813, allocations: 19.91 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1813, allocations: 19.92 kB / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.1817, allocations: 207.4 kB / 0.8361 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1817, allocations: 4 kB / 0.8361 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1817, allocations: 0 / 0.8361 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.1817, allocations: 0 / 0.8361 GB, free: 4.75 MB / 0.5762 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.0007372/0.1825, allocations: 335.9 kB / 0.8364 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1825, allocations: 8.75 kB / 0.8364 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.183, allocations: 68.84 kB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1831, allocations: 122.4 kB / 0.8366 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.1831, allocations: 4.375 kB / 0.8366 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.1832, allocations: 12.38 kB / 0.8366 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.1836, allocations: 159.3 kB / 0.8368 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1836, allocations: 0 / 0.8368 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1836, allocations: 4 kB / 0.8368 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1836, allocations: 4 kB / 0.8368 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.1841, allocations: 103.8 kB / 0.8369 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1846, allocations: 268.4 kB / 0.8371 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.1853, allocations: 146.4 kB / 0.8373 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.1855, allocations: 56.8 kB / 0.8373 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1855, allocations: 8 kB / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1856, allocations: 34.56 kB / 0.8374 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1856, allocations: 3.938 kB / 0.8374 GB, free: 3.32 MB / 0.5762 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.01754/0.2031, allocations: 2.692 MB / 0.84 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2031, allocations: 51.41 kB / 0.8401 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.2032, allocations: 113.8 kB / 0.8402 GB, free: 396 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.2033, allocations: 25.7 kB / 0.8402 GB, free: 364 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.2033, allocations: 92.03 kB / 0.8403 GB, free: 268 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.2034, allocations: 35.69 kB / 0.8403 GB, free: 232 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.2036, allocations: 69.58 kB / 0.8404 GB, free: 156 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2037, allocations: 322.8 kB / 0.8407 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006814/0.2044, allocations: 191.7 kB / 0.8409 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.2051, allocations: 199.9 kB / 0.8411 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.2064, allocations: 394.8 kB / 0.8414 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2064, allocations: 0 / 0.8414 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001551/0.208, allocations: 473.2 kB / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.208, allocations: 4 kB / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.208, allocations: 0 / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.208, allocations: 0 / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.2088, allocations: 111.7 kB / 0.842 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2088, allocations: 0 / 0.842 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.2094, allocations: 51.88 kB / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.2095, allocations: 27.92 kB / 0.8421 GB, free: 14.4 MB / 0.5919 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.0001607/0.2096, allocations: 114.5 kB / 0.8422 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.2097, allocations: 7.953 kB / 0.8422 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.2098, allocations: 12.06 kB / 0.8422 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.2098, allocations: 4 kB / 0.8422 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2098, allocations: 4 kB / 0.8422 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2098, allocations: 3.938 kB / 0.8422 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.212, allocations: 0.953 MB / 0.8431 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.212, allocations: 4 kB / 0.8431 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007905/0.2128, allocations: 107.8 kB / 0.8432 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2128, allocations: 0 / 0.8432 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.2129, allocations: 23.94 kB / 0.8433 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2129, allocations: 3.938 kB / 0.8433 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2129, allocations: 4 kB / 0.8433 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.2153, allocations: 0.7917 MB / 0.8441 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.2154, allocations: 43.89 kB / 0.8441 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.2155, allocations: 4 kB / 0.8441 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.2162, allocations: 48.03 kB / 0.8441 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.2163, allocations: 31.86 kB / 0.8442 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.2163, allocations: 27.92 kB / 0.8442 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.2164, allocations: 79.28 kB / 0.8443 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2164, allocations: 0 / 0.8443 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003638/0.2167, allocations: 55.94 kB / 0.8443 GB, free: 11.96 MB / 0.5919 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 (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.0002021/0.2169, allocations: 111.2 kB / 0.8444 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.2184, allocations: 427.4 kB / 0.8448 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2184, allocations: 0 / 0.8448 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007336/0.2192, allocations: 223.7 kB / 0.8451 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2195, allocations: 16 kB / 0.8451 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.2237, allocations: 0.7556 MB / 0.8458 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.391e-05/0.2238, allocations: 75.83 kB / 0.8459 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.2243, allocations: 88.66 kB / 0.846 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.2246, allocations: 55.31 kB / 0.846 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.2246, allocations: 0 / 0.846 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.00742/0.232, allocations: 3.719 MB / 0.8497 GB, free: 6.477 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.479485772550106] Failed to read output from testmodel.py, exit status != 0: 0.2396424189209938 0.25560834999999993 0.070815695 Calling exit ...