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.001407/0.001407, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001684/0.001684, allocations: 173.5 kB / 24.84 MB, free: 9.195 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 1.03/1.03, allocations: 177.1 MB / 205.3 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.6833/0.6833, allocations: 115 MB / 376.8 MB, free: 7.496 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.773e-06/1.773e-06, allocations: 0 / 482.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.58e-05, allocations: 4.281 kB / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001322/0.001338, allocations: 0.7935 MB / 483.6 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.00283, allocations: 1.494 MB / 485.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.002869, allocations: 0.8125 kB / 485.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.002897, allocations: 3.938 kB / 485.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.002949, allocations: 6.469 kB / 485.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.003519, allocations: 142.3 kB / 485.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.00363, allocations: 53.31 kB / 485.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.003679, allocations: 2.781 kB / 485.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.0038, allocations: 33.58 kB / 485.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.003859, allocations: 28.78 kB / 485.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00388, allocations: 3.656 kB / 485.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.004221, allocations: 256.5 kB / 485.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.004247, allocations: 15.03 kB / 485.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.004285, allocations: 17.81 kB / 485.7 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.004611, allocations: 218.4 kB / 485.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004614, allocations: 0 / 485.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004615, allocations: 0.5625 kB / 485.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.004621, allocations: 1.375 kB / 485.9 MB, free: 9.93 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.0004819/0.005103, allocations: 429.4 kB / 486.3 MB, free: 9.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.00515, allocations: 8.656 kB / 486.3 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.005443, allocations: 58.91 kB / 486.4 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.005537, allocations: 111.2 kB / 486.5 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.005562, allocations: 8.094 kB / 486.5 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.005592, allocations: 6.812 kB / 486.5 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.005815, allocations: 156.2 kB / 486.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.005826, allocations: 192 / 486.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.005839, allocations: 2.531 kB / 486.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.005847, allocations: 5.344 kB / 486.6 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.045e-05/0.005908, allocations: 25 kB / 486.7 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.006288, allocations: 306 kB / 487 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.006448, allocations: 75.09 kB / 487 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.00648, allocations: 29.67 kB / 487.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.006495, allocations: 1.094 kB / 487.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.006516, allocations: 36.64 kB / 487.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.006517, allocations: 0 / 487.1 MB, free: 8.879 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.006971/0.01349, allocations: 1.88 MB / 489 MB, free: 8.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.01351, allocations: 58.06 kB / 489 MB, free: 8.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.0137, allocations: 154.4 kB / 489.2 MB, free: 24.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.01374, allocations: 31.55 kB / 489.2 MB, free: 24.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.01379, allocations: 140.2 kB / 489.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.01384, allocations: 44.48 kB / 489.4 MB, free: 24.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.01396, allocations: 79.08 kB / 489.5 MB, free: 24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01408, allocations: 0.4917 MB / 490 MB, free: 23.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.01426, allocations: 124.4 kB / 490.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.01443, allocations: 118.4 kB / 490.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.01478, allocations: 251 kB / 490.5 MB, free: 23.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01478, allocations: 0 / 490.5 MB, free: 23.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004979/0.01528, allocations: 334.1 kB / 490.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.0153, allocations: 5.875 kB / 490.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.0153, allocations: 1.156 kB / 490.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.01531, allocations: 0 / 490.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.01567, allocations: 93.23 kB / 490.9 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01568, allocations: 1.312 kB / 490.9 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.01591, allocations: 33.53 kB / 490.9 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.01594, allocations: 22.56 kB / 490.9 MB, free: 23.4 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.0001229/0.01607, allocations: 166.1 kB / 491.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.01615, allocations: 6.781 kB / 491.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.01619, allocations: 17.38 kB / 491.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01619, allocations: 1.094 kB / 491.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01619, allocations: 3.594 kB / 491.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.0162, allocations: 1.5 kB / 491.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.01702, allocations: 0.8263 MB / 492 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01703, allocations: 0 / 492 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.01739, allocations: 88.16 kB / 492 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01739, allocations: 0.5 kB / 492 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.01742, allocations: 25.38 kB / 492.1 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01743, allocations: 1.156 kB / 492.1 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01743, allocations: 3.844 kB / 492.1 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/0.01819, allocations: 0.5889 MB / 492.7 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.01827, allocations: 42.09 kB / 492.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.01832, allocations: 1.406 kB / 492.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.01858, allocations: 30.95 kB / 492.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.01864, allocations: 31.67 kB / 492.8 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.01867, allocations: 21.58 kB / 492.8 MB, free: 22.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.01871, allocations: 123.2 kB / 492.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01871, allocations: 0 / 492.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.01898, allocations: 53.84 kB / 493 MB, free: 22.27 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.0001387/0.01912, allocations: 103.9 kB / 493.1 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.01953, allocations: 299.2 kB / 493.4 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01953, allocations: 0 / 493.4 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.01973, allocations: 166.6 kB / 493.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.01995, allocations: 39.75 kB / 493.6 MB, free: 22.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.0217, allocations: 0.5947 MB / 494.1 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.02173, allocations: 65.41 kB / 494.2 MB, free: 21.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.02204, allocations: 90.58 kB / 494.3 MB, free: 21.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.02232, allocations: 125.5 kB / 494.4 MB, free: 21.79 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02232, allocations: 0 / 494.4 MB, free: 21.79 MB / 426.7 MB Notification: Performance of Templates: time 0.007099/0.02942, allocations: 3.95 MB / 498.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.7909214491955936]