Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.197/1.197, allocations: 173.4 MB / 471.3 MB, free: 6.629 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 70.23 kB / 0.649 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.178, allocations: 89.52 MB / 0.7365 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001957/0.18, allocations: 0.7839 MB / 0.7372 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1821, allocations: 1.475 MB / 0.7387 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.1821, allocations: 4 kB / 0.7387 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.1822, allocations: 7.938 kB / 0.7387 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.1822, allocations: 3.938 kB / 0.7387 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.1828, allocations: 139.4 kB / 0.7388 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.291e-05/0.1829, allocations: 47.91 kB / 0.7389 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.183, allocations: 15.92 kB / 0.7389 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.183, allocations: 23.92 kB / 0.7389 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.1831, allocations: 31.89 kB / 0.7389 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1831, allocations: 4 kB / 0.7389 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.1836, allocations: 323.3 kB / 0.7392 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.1837, allocations: 15.92 kB / 0.7393 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.1837, allocations: 27.84 kB / 0.7393 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.1841, allocations: 207.4 kB / 0.7395 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1841, allocations: 0 / 0.7395 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1841, allocations: 4 kB / 0.7395 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.1841, allocations: 4 kB / 0.7395 GB, free: 0.5 MB / 0.545 GB 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.000714/0.1848, allocations: 406.8 kB / 0.7399 GB, free: 56 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1849, allocations: 12.03 kB / 0.7399 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.1853, allocations: 72.86 kB / 0.74 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1855, allocations: 164.3 kB / 0.7401 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.1855, allocations: 8.312 kB / 0.7401 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1856, allocations: 8.312 kB / 0.7401 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.1859, allocations: 113.9 kB / 0.7402 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.186, allocations: 4 kB / 0.7402 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.186, allocations: 0 / 0.7402 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.186, allocations: 0 / 0.7402 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.1865, allocations: 103.9 kB / 0.7403 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.1872, allocations: 340.6 kB / 0.7407 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.1879, allocations: 154.5 kB / 0.7408 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.1881, allocations: 52.81 kB / 0.7409 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1882, allocations: 3.984 kB / 0.7409 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1882, allocations: 38.56 kB / 0.7409 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1882, allocations: 0 / 0.7409 GB, free: 14.89 MB / 0.5606 GB 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.01843/0.2067, allocations: 2.839 MB / 0.7437 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.2068, allocations: 59.34 kB / 0.7437 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2069, allocations: 101.9 kB / 0.7438 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.2069, allocations: 25.7 kB / 0.7439 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.207, allocations: 88.12 kB / 0.7439 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.2071, allocations: 39.64 kB / 0.744 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.2073, allocations: 69.58 kB / 0.744 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2074, allocations: 318.8 kB / 0.7443 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007068/0.2081, allocations: 191.8 kB / 0.7445 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.2089, allocations: 203.4 kB / 0.7447 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.2103, allocations: 388.5 kB / 0.7451 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2103, allocations: 4 kB / 0.7451 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001691/0.212, allocations: 477.1 kB / 0.7456 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.212, allocations: 4 kB / 0.7456 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.2121, allocations: 0 / 0.7456 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2121, allocations: 4.031 kB / 0.7456 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.2129, allocations: 111.7 kB / 0.7457 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2129, allocations: 3.938 kB / 0.7457 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.2135, allocations: 47.94 kB / 0.7457 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.2136, allocations: 23.94 kB / 0.7457 GB, free: 9.785 MB / 0.5606 GB 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.0001755/0.2138, allocations: 121.8 kB / 0.7459 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.2139, allocations: 4 kB / 0.7459 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.2139, allocations: 11.97 kB / 0.7459 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.214, allocations: 0 / 0.7459 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.214, allocations: 7.938 kB / 0.7459 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.214, allocations: 4 kB / 0.7459 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.2164, allocations: 1.051 MB / 0.7469 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2164, allocations: 3.938 kB / 0.7469 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.2173, allocations: 107.7 kB / 0.747 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2173, allocations: 3.938 kB / 0.747 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.2174, allocations: 23.94 kB / 0.747 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2174, allocations: 0 / 0.747 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2174, allocations: 0 / 0.747 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.2199, allocations: 0.7879 MB / 0.7478 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.2201, allocations: 117 kB / 0.7479 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.2201, allocations: 0 / 0.7479 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.2208, allocations: 55.98 kB / 0.748 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.2209, allocations: 23.94 kB / 0.748 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.221, allocations: 23.92 kB / 0.748 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.221, allocations: 83.28 kB / 0.7481 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.994e-06/0.2211, allocations: 4 kB / 0.7481 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003722/0.2214, allocations: 55.88 kB / 0.7482 GB, free: 7.141 MB / 0.5606 GB 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.0002206/0.2217, allocations: 119.1 kB / 0.7483 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.2232, allocations: 419.5 kB / 0.7487 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2233, allocations: 0 / 0.7487 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.224, allocations: 231.7 kB / 0.7489 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2244, allocations: 11.98 kB / 0.7489 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.2287, allocations: 0.7805 MB / 0.7497 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.229, allocations: 0.6924 MB / 0.7503 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.2294, allocations: 75.25 kB / 0.7504 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2294, allocations: 0 / 0.7504 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of Templates: time 0.006497/0.2359, allocations: 3.801 MB / 0.7541 GB, free: 0.9531 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.12029042490758] Failed to read output from testmodel.py, exit status != 0: 0.24271072284318507 0.25680083099999995 0.07008897900000001 Calling exit ...