Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001275/0.001275, allocations: 72.83 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001899/0.001899, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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.079/1.079, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6962/0.6962, allocations: 115 MB / 376 MB, free: 7.43 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 428.8 MB, free: 2.637 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.952e-05, allocations: 2.312 kB / 428.8 MB, free: 2.633 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001791/0.001821, allocations: 0.8388 MB / 429.7 MB, free: 1.793 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003503, allocations: 1.501 MB / 431.2 MB, free: 280 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.003542, allocations: 0 / 431.2 MB, free: 280 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.003577, allocations: 7.922 kB / 431.2 MB, free: 272 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.003629, allocations: 7.875 kB / 431.2 MB, free: 264 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.004081, allocations: 147.3 kB / 431.3 MB, free: 116 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.004166, allocations: 47.89 kB / 431.4 MB, free: 68 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.004211, allocations: 15.97 kB / 431.4 MB, free: 52 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004313, allocations: 35.91 kB / 431.4 MB, free: 16 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.00438, allocations: 23.95 kB / 431.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.004396, allocations: 8 kB / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.004718, allocations: 259.4 kB / 431.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.004739, allocations: 23.91 kB / 431.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.004761, allocations: 15.98 kB / 431.8 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.005014, allocations: 219.4 kB / 432 MB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005016, allocations: 0 / 432 MB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005017, allocations: 0 / 432 MB, free: 15.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.00502, allocations: 0 / 432 MB, free: 15.48 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.00039/0.00541, allocations: 296.4 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.005442, allocations: 8.031 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.005677, allocations: 64.88 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.244e-05/0.005759, allocations: 109.7 kB / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.005778, allocations: 4.375 kB / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.0058, allocations: 12.36 kB / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.005982, allocations: 150.2 kB / 432.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005993, allocations: 4.141 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.006002, allocations: 8.375 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.006009, allocations: 3.938 kB / 432.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.482e-05/0.006053, allocations: 19.98 kB / 432.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.006376, allocations: 208.2 kB / 432.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.006496, allocations: 70.47 kB / 432.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.006518, allocations: 12.86 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.006532, allocations: 3.938 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.006555, allocations: 34.56 kB / 433 MB, free: 14.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006556, allocations: 0 / 433 MB, free: 14.38 MB / 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.008115/0.01467, allocations: 2.153 MB / 435.1 MB, free: 12.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.0147, allocations: 51.41 kB / 435.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.01476, allocations: 106.7 kB / 435.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.0148, allocations: 33.7 kB / 435.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.01483, allocations: 80.14 kB / 435.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.01489, allocations: 43.62 kB / 435.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.01499, allocations: 61.58 kB / 435.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01509, allocations: 314.8 kB / 435.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.01523, allocations: 104 kB / 435.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.01534, allocations: 99.94 kB / 436 MB, free: 11.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.01561, allocations: 224.6 kB / 436.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01561, allocations: 0 / 436.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003273/0.01594, allocations: 245.5 kB / 436.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01596, allocations: 4 kB / 436.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01596, allocations: 7.984 kB / 436.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.01598, allocations: 0 / 436.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.01633, allocations: 99.75 kB / 436.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01634, allocations: 7.875 kB / 436.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.01653, allocations: 31.97 kB / 436.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.01657, allocations: 23.92 kB / 436.6 MB, free: 10.61 MB / 410.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.0001112/0.01668, allocations: 121.8 kB / 436.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.01673, allocations: 4 kB / 436.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.01677, allocations: 12.12 kB / 436.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01677, allocations: 0 / 436.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01678, allocations: 7.984 kB / 436.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01678, allocations: 0 / 436.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.01737, allocations: 462.5 kB / 437.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01737, allocations: 4 kB / 437.2 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.01772, allocations: 95.75 kB / 437.3 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01772, allocations: 0 / 437.3 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.01776, allocations: 27.92 kB / 437.3 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01776, allocations: 0 / 437.3 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01776, allocations: 0 / 437.3 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.01833, allocations: 459.1 kB / 437.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.0184, allocations: 23.91 kB / 437.8 MB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.01844, allocations: 4 kB / 437.8 MB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.01867, allocations: 31.95 kB / 437.8 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.01874, allocations: 19.92 kB / 437.9 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.01877, allocations: 27.92 kB / 437.9 MB, free: 9.281 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.651e-05/0.01879, allocations: 8.859 kB / 437.9 MB, free: 9.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01879, allocations: 4.031 kB / 437.9 MB, free: 9.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01905, allocations: 55.94 kB / 438 MB, free: 9.211 MB / 410.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.0001704/0.01922, allocations: 88.34 kB / 438 MB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.01956, allocations: 244.6 kB / 438.3 MB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.01956, allocations: 0 / 438.3 MB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.01972, allocations: 132.7 kB / 438.4 MB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01992, allocations: 40.36 kB / 438.4 MB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.0218, allocations: 0.5549 MB / 439 MB, free: 8.117 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.657e-05/0.02186, allocations: 67.34 kB / 439.1 MB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003257/0.02218, allocations: 89.05 kB / 439.2 MB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.02247, allocations: 103.2 kB / 439.3 MB, free: 7.844 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.02247, allocations: 0 / 439.3 MB, free: 7.844 MB / 410.7 MB Notification: Performance of Templates: time 0.006521/0.02899, allocations: 3.861 MB / 443.1 MB, free: 3.973 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8045246438123286]