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.0009629/0.0009629, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009588/0.0009588, allocations: 169 kB / 24.25 MB, free: 304 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.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.6458/0.6458, allocations: 115 MB / 376 MB, free: 7.645 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.423e-06/1.423e-06, allocations: 0 / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.839e-05, allocations: 5.062 kB / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001449/0.001477, allocations: 0.7903 MB / 482.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.003053, allocations: 1.507 MB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.0031, allocations: 2.625 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.003138, allocations: 3.938 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.003198, allocations: 5.062 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.003682, allocations: 144.1 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003791, allocations: 56.73 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.003845, allocations: 3.969 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.003963, allocations: 30.44 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.004019, allocations: 29.88 kB / 484.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.004041, allocations: 1.969 kB / 484.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.004351, allocations: 253.5 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.004375, allocations: 18.55 kB / 484.4 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.004407, allocations: 17.72 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.00472, allocations: 216.6 kB / 484.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004722, allocations: 0.7812 kB / 484.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004723, allocations: 1.125 kB / 484.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.004728, allocations: 1.906 kB / 484.6 MB, free: 10.11 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.0005027/0.005231, allocations: 419.8 kB / 485.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.005277, allocations: 10.09 kB / 485.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.005553, allocations: 61.91 kB / 485.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.005638, allocations: 115.8 kB / 485.2 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.005658, allocations: 3.188 kB / 485.2 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.005685, allocations: 15.09 kB / 485.3 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.005927, allocations: 155.1 kB / 485.4 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.005939, allocations: 1.281 kB / 485.4 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.005956, allocations: 5.5 kB / 485.4 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.005967, allocations: 10.55 kB / 485.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.006043, allocations: 30.41 kB / 485.5 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.006479, allocations: 327.7 kB / 485.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.006641, allocations: 77.66 kB / 485.9 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.00668, allocations: 26.62 kB / 485.9 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.006696, allocations: 2.719 kB / 485.9 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.006717, allocations: 35.45 kB / 485.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.00672, allocations: 0 / 485.9 MB, free: 9.027 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.007439/0.01416, allocations: 1.997 MB / 487.9 MB, free: 8.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.01419, allocations: 57.02 kB / 488 MB, free: 8.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.01426, allocations: 164.4 kB / 488.1 MB, free: 8.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.01429, allocations: 25.7 kB / 488.2 MB, free: 8.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.01455, allocations: 136.6 kB / 488.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.0146, allocations: 42.86 kB / 488.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01471, allocations: 75.81 kB / 488.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01484, allocations: 498.6 kB / 488.9 MB, free: 23.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.01507, allocations: 142.8 kB / 489 MB, free: 23.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.01528, allocations: 143.3 kB / 489.2 MB, free: 23.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.01573, allocations: 291.2 kB / 489.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01573, allocations: 0 / 489.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006115/0.01634, allocations: 383.8 kB / 489.8 MB, free: 23.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01636, allocations: 5.562 kB / 489.8 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.01637, allocations: 5.688 kB / 489.8 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01639, allocations: 0.9375 kB / 489.8 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.01677, allocations: 88.59 kB / 489.9 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.01677, allocations: 1.094 kB / 489.9 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.01701, allocations: 37.33 kB / 490 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.01705, allocations: 21.84 kB / 490 MB, free: 23.43 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.0001358/0.01718, allocations: 162.9 kB / 490.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.01725, allocations: 6.781 kB / 490.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.0173, allocations: 16.67 kB / 490.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01731, allocations: 1.125 kB / 490.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.01731, allocations: 1.125 kB / 490.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01732, allocations: 0 / 490.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.01829, allocations: 0.8941 MB / 491.1 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01829, allocations: 0 / 491.1 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.01865, allocations: 91.88 kB / 491.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01865, allocations: 2.25 kB / 491.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.01869, allocations: 21.95 kB / 491.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01869, allocations: 4.75 kB / 491.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.0187, allocations: 1.344 kB / 491.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.01959, allocations: 0.6567 MB / 491.8 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.01968, allocations: 37.25 kB / 491.9 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.01972, allocations: 1.094 kB / 491.9 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.01998, allocations: 35.55 kB / 491.9 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.02005, allocations: 25.16 kB / 491.9 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.02009, allocations: 27.81 kB / 492 MB, free: 22.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.02014, allocations: 130.7 kB / 492.1 MB, free: 22.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02014, allocations: 1.062 kB / 492.1 MB, free: 22.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.02042, allocations: 50.03 kB / 492.1 MB, free: 22.21 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.0001598/0.02058, allocations: 118.5 kB / 492.3 MB, free: 22.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.02108, allocations: 330.9 kB / 492.6 MB, free: 22.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02108, allocations: 0 / 492.6 MB, free: 22.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.02132, allocations: 182.8 kB / 492.8 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.02154, allocations: 36.41 kB / 492.8 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.02329, allocations: 0.6212 MB / 493.4 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.02333, allocations: 69.17 kB / 493.5 MB, free: 21.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.02364, allocations: 91.02 kB / 493.6 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.02382, allocations: 56.88 kB / 493.6 MB, free: 21.75 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02382, allocations: 0 / 493.6 MB, free: 21.75 MB / 426.7 MB Notification: Performance of Templates: time 0.006428/0.03024, allocations: 3.772 MB / 497.4 MB, free: 21.45 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.6417857171036303]