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.001454/0.001454, 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.00139/0.00139, 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 1.028/1.028, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.6367/0.6367, allocations: 115 MB / 375.7 MB, free: 7.66 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.164e-06/2.164e-06, allocations: 0 / 481.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.583e-05/4.799e-05, allocations: 3.188 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.002661/0.002709, allocations: 0.8016 MB / 482.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.004997, allocations: 1.504 MB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.005045, allocations: 0 / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.005085, allocations: 5.062 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.005148, allocations: 8.094 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007175/0.005866, allocations: 151 kB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.005987, allocations: 49.66 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.006038, allocations: 3.656 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.006155, allocations: 33.22 kB / 484.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.006226, allocations: 31.22 kB / 484.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.006249, allocations: 4.844 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.006674, allocations: 251 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.0067, allocations: 10.56 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.006736, allocations: 21.25 kB / 484.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.00712, allocations: 221.6 kB / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.007125, allocations: 6.625 kB / 484.7 MB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007127, allocations: 0 / 484.7 MB, free: 10.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.007132, allocations: 0 / 484.7 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.0005745/0.007706, allocations: 419.5 kB / 485.1 MB, free: 9.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.007755, allocations: 9.125 kB / 485.1 MB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.008121, allocations: 60.28 kB / 485.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.008214, allocations: 116.8 kB / 485.2 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.008238, allocations: 3.125 kB / 485.2 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.008271, allocations: 9.375 kB / 485.3 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.008568, allocations: 152.1 kB / 485.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.008583, allocations: 6.375 kB / 485.4 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.0086, allocations: 4.312 kB / 485.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.008612, allocations: 10.27 kB / 485.4 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.008709, allocations: 32.38 kB / 485.5 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.009415, allocations: 326.7 kB / 485.8 MB, free: 25.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.009628, allocations: 82.53 kB / 485.9 MB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.009673, allocations: 23.38 kB / 485.9 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.009689, allocations: 2.281 kB / 485.9 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.009718, allocations: 38.52 kB / 485.9 MB, free: 25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.00972, 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.00907/0.01879, allocations: 1.994 MB / 487.9 MB, free: 24.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.01881, allocations: 54.19 kB / 488 MB, free: 24.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.01889, allocations: 161.2 kB / 488.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.01892, allocations: 26.8 kB / 488.2 MB, free: 24.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.01896, allocations: 136.5 kB / 488.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.01901, allocations: 47.97 kB / 488.3 MB, free: 24.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01912, allocations: 77.34 kB / 488.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.01936, allocations: 497.6 kB / 488.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.01956, allocations: 142.1 kB / 489 MB, free: 23.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.01976, allocations: 144.6 kB / 489.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.02017, allocations: 292.4 kB / 489.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.02017, allocations: 1.375 kB / 489.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005877/0.02076, allocations: 380.8 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.02078, allocations: 5.562 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.02079, allocations: 2.938 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.0208, allocations: 4.062 kB / 489.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.02118, allocations: 89.86 kB / 489.9 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.02119, allocations: 1.062 kB / 489.9 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.02142, allocations: 31.59 kB / 490 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.02146, allocations: 25.28 kB / 490 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.0001164/0.02158, allocations: 164.4 kB / 490.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.02166, allocations: 10.34 kB / 490.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.0217, allocations: 16.28 kB / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.0217, allocations: 1.156 kB / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02171, allocations: 0 / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.02171, allocations: 2.156 kB / 490.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.0226, allocations: 0.8878 MB / 491.1 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02261, allocations: 1.406 kB / 491.1 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.02296, allocations: 87.98 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.02296, allocations: 1.094 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.02299, allocations: 23.17 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.023, allocations: 1.031 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.023, allocations: 2.219 kB / 491.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.02386, allocations: 0.6627 MB / 491.8 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.02395, allocations: 36.38 kB / 491.9 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.02399, allocations: 3.969 kB / 491.9 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.02425, allocations: 27.94 kB / 491.9 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.02432, allocations: 32.52 kB / 491.9 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.02436, allocations: 26.8 kB / 492 MB, free: 22.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.02448, allocations: 130.9 kB / 492.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02448, allocations: 1.375 kB / 492.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.02473, allocations: 49.72 kB / 492.1 MB, free: 22.19 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.0001624/0.0249, allocations: 116.4 kB / 492.3 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.0254, allocations: 327.5 kB / 492.6 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.0254, allocations: 6.562 kB / 492.6 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.02565, allocations: 183.9 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.0002561/0.0259, allocations: 36.45 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.001768/0.02767, allocations: 0.6232 MB / 493.4 MB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.02771, allocations: 67.78 kB / 493.5 MB, free: 21.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.02799, allocations: 93.78 kB / 493.6 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.02818, allocations: 53.92 kB / 493.6 MB, free: 21.72 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02818, allocations: 0 / 493.6 MB, free: 21.72 MB / 426.7 MB Notification: Performance of Templates: time 0.007311/0.03549, allocations: 3.86 MB / 497.5 MB, free: 21.39 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.7297997479327023]