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.0006746/0.0006746, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009186/0.001593, allocations: 440 kB / 10.41 MB, free: 284 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.0006941/0.0006941, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009399/0.001634, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9103/0.9103, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09019/1.001, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.001272/0.001272, allocations: 242.4 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009995/0.002271, allocations: 471.6 kB / 244.8 MB, free: 14.06 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.6749/0.6749, allocations: 138.7 MB / 384.3 MB, free: 344 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08113/0.7561, allocations: 42.4 MB / 426.7 MB, free: 5.816 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.593e-06/1.593e-06, allocations: 0 / 428.1 MB, free: 4.402 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.114e-05, allocations: 2.312 kB / 428.1 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001498/0.001509, allocations: 0.851 MB / 429 MB, free: 3.547 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.00305, allocations: 1.509 MB / 430.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.003078, allocations: 4 kB / 430.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.0031, allocations: 3.938 kB / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.972e-05/0.00312, allocations: 0 / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.003454, allocations: 151.3 kB / 430.6 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.003526, allocations: 43.91 kB / 430.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.003557, allocations: 4 kB / 430.7 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.003658, allocations: 43.94 kB / 430.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.003708, allocations: 23.91 kB / 430.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.003724, allocations: 4 kB / 430.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.004074, allocations: 259.5 kB / 431 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.004092, allocations: 8 kB / 431 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.004115, allocations: 23.88 kB / 431 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.004384, allocations: 183.6 kB / 431.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.004394, allocations: 0 / 431.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004394, allocations: 4 kB / 431.2 MB, free: 1.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.004404, allocations: 0 / 431.2 MB, free: 1.277 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.0004477/0.004852, allocations: 312.1 kB / 431.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.004884, allocations: 11.98 kB / 431.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.005162, allocations: 141.9 kB / 431.7 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.005255, allocations: 117.7 kB / 431.8 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.005273, allocations: 4.375 kB / 431.8 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.005298, allocations: 8.375 kB / 431.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.005521, allocations: 142.3 kB / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.005533, allocations: 8.109 kB / 432 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.005544, allocations: 4.375 kB / 432 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005551, allocations: 7.938 kB / 432 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.005607, allocations: 27.92 kB / 432 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.005943, allocations: 212.1 kB / 432.2 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.006075, allocations: 66.47 kB / 432.3 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.006103, allocations: 12.86 kB / 432.3 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.006115, allocations: 3.938 kB / 432.3 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.006138, allocations: 38.56 kB / 432.3 MB, free: 60 kB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006139, allocations: 0 / 432.3 MB, free: 60 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.1939/0.2, allocations: 2.149 MB / 434.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.2001, allocations: 57.97 kB / 434.5 MB, free: 1.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.2001, allocations: 106.8 kB / 434.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.2001, allocations: 31.08 kB / 434.7 MB, free: 1.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.2002, allocations: 90.84 kB / 434.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.2002, allocations: 44.31 kB / 434.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2003, allocations: 62.39 kB / 434.9 MB, free: 1.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2004, allocations: 321 kB / 435.2 MB, free: 17.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2006, allocations: 97.05 kB / 435.3 MB, free: 17.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2007, allocations: 101.8 kB / 435.4 MB, free: 17.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.201, allocations: 223.8 kB / 435.6 MB, free: 17.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.201, allocations: 0 / 435.6 MB, free: 17.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003512/0.2014, allocations: 246.7 kB / 435.8 MB, free: 17.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2014, allocations: 6.625 kB / 435.8 MB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2014, allocations: 0 / 435.8 MB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2014, allocations: 2.453 kB / 435.8 MB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.2018, allocations: 125.6 kB / 436 MB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2018, allocations: 1.859 kB / 436 MB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.202, allocations: 28.89 kB / 436 MB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.2021, allocations: 22.31 kB / 436 MB, free: 17.15 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.0001232/0.2022, allocations: 123.9 kB / 436.1 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.2023, allocations: 7.188 kB / 436.1 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.2023, allocations: 14.17 kB / 436.1 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2023, allocations: 1.375 kB / 436.1 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2023, allocations: 0.5938 kB / 436.1 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2023, allocations: 2.719 kB / 436.2 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.203, allocations: 466.8 kB / 436.6 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.203, allocations: 0 / 436.6 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.2034, allocations: 126.8 kB / 436.7 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.2035, allocations: 23.12 kB / 436.8 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2035, allocations: 1.188 kB / 436.8 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.2035, allocations: 25.31 kB / 436.8 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.2035, allocations: 1.797 kB / 436.8 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2035, allocations: 1.188 kB / 436.8 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.2041, allocations: 456.2 kB / 437.2 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.2042, allocations: 1.25 kB / 437.2 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.2044, allocations: 36.84 kB / 437.3 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.2045, allocations: 24.22 kB / 437.3 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.2045, allocations: 16.53 kB / 437.3 MB, free: 16.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.563e-05/0.2045, allocations: 13.47 kB / 437.3 MB, free: 16.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2045, allocations: 0.5469 kB / 437.3 MB, free: 16.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.2048, allocations: 55.77 kB / 437.4 MB, free: 16.7 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.0001848/0.205, allocations: 94.27 kB / 437.5 MB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.2053, allocations: 236.9 kB / 437.7 MB, free: 16.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.2053, allocations: 2.016 kB / 437.7 MB, free: 16.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.2055, allocations: 144.7 kB / 437.8 MB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.2057, allocations: 105.7 kB / 437.9 MB, free: 16.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2072, allocations: 0.566 MB / 438.5 MB, free: 16.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.2072, allocations: 62.5 kB / 438.6 MB, free: 16.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.2075, allocations: 90.52 kB / 438.7 MB, free: 16.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.2078, allocations: 103.9 kB / 438.8 MB, free: 16.31 MB / 426.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2078, allocations: 0.8125 kB / 438.8 MB, free: 16.31 MB / 426.7 MB Notification: Performance of Templates: time 0.00582/0.2137, allocations: 3.88 MB / 442.6 MB, free: 14.62 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.4162551388144493]