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.001567/0.001567, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009613/0.0009613, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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 0.9931/0.9931, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.6371/0.6371, allocations: 114.9 MB / 375.7 MB, free: 7.652 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 1.362e-06/1.362e-06, allocations: 0 / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.582e-05, allocations: 8.344 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00112/0.001136, allocations: 0.7969 MB / 482.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.002338, allocations: 1.505 MB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.002368, allocations: 1.562 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.002396, allocations: 4.5 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.002432, allocations: 4.844 kB / 483.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.002841, allocations: 151.7 kB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.002917, allocations: 50.06 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.002954, allocations: 2.594 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.003034, allocations: 37.34 kB / 484.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.003079, allocations: 27.84 kB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.003097, allocations: 5.438 kB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.003388, allocations: 251.9 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.003405, allocations: 11.19 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.003429, allocations: 25.38 kB / 484.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.003679, allocations: 214.2 kB / 484.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003681, allocations: 0 / 484.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003682, allocations: 0 / 484.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003686, allocations: 1.875 kB / 484.6 MB, free: 10.08 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.0003695/0.004055, allocations: 425.2 kB / 485.1 MB, free: 9.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.004096, allocations: 15.19 kB / 485.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.004327, allocations: 58.25 kB / 485.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.584e-05/0.004383, allocations: 110.9 kB / 485.2 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.004399, allocations: 8.156 kB / 485.2 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.004424, allocations: 9.531 kB / 485.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.00462, allocations: 155.5 kB / 485.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.004629, allocations: 192 / 485.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.004642, allocations: 9.391 kB / 485.4 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.00465, allocations: 7.344 kB / 485.4 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.004717, allocations: 34.23 kB / 485.5 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.005205, allocations: 316.8 kB / 485.8 MB, free: 25.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.005348, allocations: 84.12 kB / 485.8 MB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.005379, allocations: 28.08 kB / 485.9 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.005394, allocations: 1.094 kB / 485.9 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.00541, allocations: 36.83 kB / 485.9 MB, free: 25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.005411, allocations: 0 / 485.9 MB, free: 25 MB / 426.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.006863/0.01227, allocations: 1.997 MB / 487.9 MB, free: 24.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.01229, allocations: 58.16 kB / 488 MB, free: 24.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.01235, allocations: 158.5 kB / 488.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.01238, allocations: 30.8 kB / 488.2 MB, free: 24.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.01242, allocations: 130.1 kB / 488.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.01246, allocations: 43.06 kB / 488.3 MB, free: 24.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.01257, allocations: 76.91 kB / 488.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.01266, allocations: 0.4908 MB / 488.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.01285, allocations: 141.1 kB / 489 MB, free: 23.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.01305, allocations: 143 kB / 489.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.01347, allocations: 297.5 kB / 489.5 MB, free: 23.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01347, allocations: 2.281 kB / 489.5 MB, free: 23.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005837/0.01406, allocations: 375.6 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01407, allocations: 7.781 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.01408, allocations: 1.219 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01409, allocations: 1 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.01446, allocations: 91.86 kB / 489.9 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01446, allocations: 0 / 489.9 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.01471, allocations: 30.02 kB / 490 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.01476, allocations: 25.31 kB / 490 MB, free: 23.41 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.0001174/0.01487, allocations: 168.7 kB / 490.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.01496, allocations: 12.28 kB / 490.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.01501, allocations: 10.19 kB / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01501, allocations: 2.531 kB / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01501, allocations: 0.7188 kB / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01502, allocations: 3.422 kB / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.01609, allocations: 0.8907 MB / 491.1 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.0161, allocations: 1.062 kB / 491.1 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.01656, allocations: 93.23 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01656, allocations: 2.219 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.01661, allocations: 19.75 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01661, allocations: 2.625 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01661, allocations: 0 / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.01766, allocations: 0.6499 MB / 491.8 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.01777, allocations: 42.5 kB / 491.9 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.01782, allocations: 5.531 kB / 491.9 MB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.01816, allocations: 30.42 kB / 491.9 MB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.01824, allocations: 26.16 kB / 491.9 MB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.0183, allocations: 38.27 kB / 492 MB, free: 22.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.01834, allocations: 122.2 kB / 492.1 MB, free: 22.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01834, allocations: 0 / 492.1 MB, free: 22.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.01871, allocations: 54.31 kB / 492.1 MB, free: 22.18 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.0001577/0.01886, allocations: 107.5 kB / 492.2 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.01947, allocations: 329.3 kB / 492.6 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.01947, allocations: 9.062 kB / 492.6 MB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.01976, allocations: 186 kB / 492.8 MB, free: 22.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.02007, allocations: 34.89 kB / 492.8 MB, free: 22.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.02224, allocations: 0.6292 MB / 493.4 MB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.02228, allocations: 66.16 kB / 493.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.02267, allocations: 94.91 kB / 493.6 MB, free: 21.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.0229, allocations: 55.89 kB / 493.6 MB, free: 21.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.894e-06/0.0229, allocations: 0 / 493.6 MB, free: 21.71 MB / 426.7 MB Notification: Performance of Templates: time 0.007844/0.03074, allocations: 3.764 MB / 497.4 MB, free: 21.41 MB / 426.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 -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.7306207343935966]