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.0006864/0.0006864, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008894/0.001576, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007119/0.0007119, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000926/0.001638, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9665/0.9665, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0869/1.053, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001273/0.001273, allocations: 240.6 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009531/0.002226, allocations: 467.1 kB / 244.7 MB, free: 14.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7093/0.7093, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06803/0.7773, allocations: 42.4 MB / 426.5 MB, free: 5.961 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 427.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.526e-05, allocations: 2.312 kB / 427.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001186/0.001201, allocations: 0.847 MB / 428.7 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.002472, allocations: 1.501 MB / 430.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.002497, allocations: 0 / 430.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.002517, allocations: 7.938 kB / 430.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.987e-05/0.002537, allocations: 4 kB / 430.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.002813, allocations: 139.3 kB / 430.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.002892, allocations: 47.91 kB / 430.4 MB, free: 2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.002923, allocations: 4 kB / 430.4 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.003026, allocations: 47.88 kB / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.003074, allocations: 23.97 kB / 430.5 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.003089, allocations: 4 kB / 430.5 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.003359, allocations: 259.4 kB / 430.7 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.003372, allocations: 7.938 kB / 430.7 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.00339, allocations: 12 kB / 430.7 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.003607, allocations: 183.5 kB / 430.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.003622, allocations: 0 / 430.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003622, allocations: 0 / 430.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.003639, allocations: 3.938 kB / 430.9 MB, free: 1.465 MB / 410.7 MB 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.0004258/0.004065, allocations: 320.1 kB / 431.2 MB, free: 1.129 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.004092, allocations: 12.03 kB / 431.3 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.004316, allocations: 130 kB / 431.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.004395, allocations: 129.6 kB / 431.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.004413, allocations: 8.375 kB / 431.5 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.004431, allocations: 4.375 kB / 431.5 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.004608, allocations: 146.3 kB / 431.7 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.004619, allocations: 4.188 kB / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.004628, allocations: 4.375 kB / 431.7 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004635, allocations: 3.938 kB / 431.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.004688, allocations: 23.92 kB / 431.7 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.004972, allocations: 212.1 kB / 431.9 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.005081, allocations: 62.53 kB / 432 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.0051, allocations: 16.8 kB / 432 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.005113, allocations: 7.938 kB / 432 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.005133, allocations: 34.56 kB / 432 MB, free: 252 kB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005134, allocations: 0 / 432 MB, free: 252 kB / 410.7 MB 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.186/0.1911, allocations: 2.136 MB / 434.2 MB, free: 1.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1911, allocations: 51.41 kB / 434.2 MB, free: 1.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.1912, allocations: 105.3 kB / 434.3 MB, free: 1.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1912, allocations: 28.67 kB / 434.3 MB, free: 1.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.1912, allocations: 92.17 kB / 434.4 MB, free: 1.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.1913, allocations: 44.19 kB / 434.5 MB, free: 1.562 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1914, allocations: 66.5 kB / 434.5 MB, free: 1.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.1916, allocations: 320.1 kB / 434.9 MB, free: 17.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1918, allocations: 94.77 kB / 434.9 MB, free: 17.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1919, allocations: 101.6 kB / 435 MB, free: 17.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1922, allocations: 226.5 kB / 435.3 MB, free: 17.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1922, allocations: 0 / 435.3 MB, free: 17.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003519/0.1926, allocations: 247.9 kB / 435.5 MB, free: 17.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1926, allocations: 5.344 kB / 435.5 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1926, allocations: 1.25 kB / 435.5 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1926, allocations: 1.688 kB / 435.5 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.193, allocations: 127.5 kB / 435.6 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.193, allocations: 1.156 kB / 435.6 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1932, allocations: 28.59 kB / 435.7 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.1933, allocations: 23.7 kB / 435.7 MB, free: 17.2 MB / 426.7 MB 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.0001116/0.1934, allocations: 118.4 kB / 435.8 MB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.1934, allocations: 7.047 kB / 435.8 MB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.1935, allocations: 14.11 kB / 435.8 MB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1935, allocations: 1.281 kB / 435.8 MB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1935, allocations: 1.797 kB / 435.8 MB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1935, allocations: 1.406 kB / 435.8 MB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.1941, allocations: 468.7 kB / 436.3 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1941, allocations: 2.516 kB / 436.3 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.1946, allocations: 125.8 kB / 436.4 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1946, allocations: 23.28 kB / 436.4 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1946, allocations: 3.031 kB / 436.4 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.1947, allocations: 20.17 kB / 436.5 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1947, allocations: 3.812 kB / 436.5 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1947, allocations: 1.312 kB / 436.5 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.1952, allocations: 457.3 kB / 436.9 MB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.1953, allocations: 2.25 kB / 436.9 MB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.1955, allocations: 28.47 kB / 436.9 MB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.1955, allocations: 25.77 kB / 437 MB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.1956, allocations: 18.98 kB / 437 MB, free: 16.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.378e-05/0.1956, allocations: 14.31 kB / 437 MB, free: 16.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1956, allocations: 1.188 kB / 437 MB, free: 16.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.1959, allocations: 52.05 kB / 437.1 MB, free: 16.75 MB / 426.7 MB 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.0001762/0.196, allocations: 95.62 kB / 437.1 MB, free: 16.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.1964, allocations: 237.6 kB / 437.4 MB, free: 16.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.1964, allocations: 5.5 kB / 437.4 MB, free: 16.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1965, allocations: 137.4 kB / 437.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.1967, allocations: 55.31 kB / 437.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1983, allocations: 0.5631 MB / 438.1 MB, free: 16.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.1983, allocations: 61.77 kB / 438.2 MB, free: 16.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.1987, allocations: 90.41 kB / 438.3 MB, free: 16.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.1989, allocations: 104.5 kB / 438.4 MB, free: 16.42 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1989, allocations: 0.7188 kB / 438.4 MB, free: 16.42 MB / 426.7 MB Notification: Performance of Templates: time 0.006237/0.2052, allocations: 3.892 MB / 442.3 MB, free: 14.83 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3951411489397287]