Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.0009829/0.0009829, 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.001434/0.001434, allocations: 169 kB / 24.14 MB, free: 356 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.101/1.101, allocations: 177.1 MB / 204.6 MB, free: 5.074 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.7345/0.7345, allocations: 115 MB / 376 MB, free: 7.387 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 428.8 MB, free: 2.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.028e-05, allocations: 10.25 kB / 428.8 MB, free: 2.672 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002721/0.002751, allocations: 0.6543 MB / 429.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.005637, allocations: 1.481 MB / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.005674, allocations: 0 / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.005694, allocations: 0 / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.00573, allocations: 0 / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.006411, allocations: 147.3 kB / 431.1 MB, free: 384 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.006506, allocations: 31.91 kB / 431.1 MB, free: 352 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.006557, allocations: 4 kB / 431.1 MB, free: 348 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.646e-05/0.006643, allocations: 19.97 kB / 431.2 MB, free: 328 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.006734, allocations: 19.97 kB / 431.2 MB, free: 308 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.006754, allocations: 4 kB / 431.2 MB, free: 304 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.007419, allocations: 263.4 kB / 431.4 MB, free: 40 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.007451, allocations: 3.984 kB / 431.4 MB, free: 36 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.007486, allocations: 15.97 kB / 431.5 MB, free: 20 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.007957, allocations: 199.5 kB / 431.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.007964, allocations: 0 / 431.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.007966, allocations: 0 / 431.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.007972, allocations: 0 / 431.7 MB, free: 15.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004325/0.008405, allocations: 268.2 kB / 431.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.008445, allocations: 12.03 kB / 431.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.008692, allocations: 52.81 kB / 432 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.008785, allocations: 109.8 kB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.0088, allocations: 4.359 kB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.00882, allocations: 8.719 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.008979, allocations: 100.6 kB / 432.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.008985, allocations: 192 / 432.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.008995, allocations: 384 / 432.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.009, allocations: 3.938 kB / 432.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.009046, allocations: 15.92 kB / 432.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.009159, allocations: 73 kB / 432.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.009325, allocations: 38.59 kB / 432.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.009348, allocations: 16.86 kB / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.009503, allocations: 48.05 kB / 432.4 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.009526, allocations: 34.56 kB / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.009527, allocations: 0 / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004271/0.009954, allocations: 201.2 kB / 432.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.009984, allocations: 59.34 kB / 432.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.01004, allocations: 102.6 kB / 432.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.01006, allocations: 29.7 kB / 432.8 MB, free: 14.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.01008, allocations: 80.14 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.01011, allocations: 23.91 kB / 432.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.01015, allocations: 21.7 kB / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.01024, allocations: 314.8 kB / 433.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.01026, allocations: 4 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.01028, allocations: 16.05 kB / 433.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.01033, allocations: 24.84 kB / 433.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01033, allocations: 0 / 433.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.297e-05/0.0104, allocations: 53.61 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.01042, allocations: 7.438 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01042, allocations: 3.938 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01043, allocations: 4 kB / 433.3 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.0105, allocations: 19.98 kB / 433.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01051, allocations: 0 / 433.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.01054, allocations: 11.92 kB / 433.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.01054, allocations: 0 / 433.4 MB, free: 13.91 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 (6): * Single equations (assignments): 6 * 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 6.218e-05/0.01061, allocations: 113.8 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.01062, allocations: 0 / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.01074, allocations: 77.41 kB / 433.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01074, allocations: 0 / 433.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01075, allocations: 0 / 433.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01075, allocations: 4.266 kB / 433.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.287e-05/0.01082, allocations: 69.89 kB / 433.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01082, allocations: 8 kB / 433.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.01089, allocations: 15.98 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.01089, allocations: 0 / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01091, allocations: 4.25 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01091, allocations: 7.984 kB / 433.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01091, allocations: 3.984 kB / 433.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.01104, allocations: 97.02 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.01107, allocations: 4 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.01108, allocations: 3.938 kB / 433.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.01112, allocations: 12.02 kB / 433.8 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.01114, allocations: 11.98 kB / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01114, allocations: 0 / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.648e-06/0.01115, allocations: 8.859 kB / 433.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01115, allocations: 0 / 433.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.01129, allocations: 27.88 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.000165/0.01146, allocations: 116.2 kB / 434 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.142e-05/0.01154, allocations: 32.88 kB / 434 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01154, allocations: 4 kB / 434 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.01157, allocations: 16.8 kB / 434 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.898e-05/0.01165, allocations: 11.27 kB / 434 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.01194, allocations: 144.5 kB / 434.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.01197, allocations: 59.34 kB / 434.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.01203, allocations: 20 kB / 434.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.0121, allocations: 55.36 kB / 434.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0121, allocations: 4 kB / 434.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of Templates: time 0.0031/0.0152, allocations: 1.322 MB / 435.6 MB, free: 11.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.901316975709051]