Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001325/0.001325, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002053/0.003379, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001321/0.001321, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.003025, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.944/0.944, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08859/1.033, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7965/0.7965, allocations: 154.6 MB / 398.5 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2627/1.059, allocations: 49.03 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 448.9 MB, free: 5.332 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.453e-05, allocations: 2.312 kB / 448.9 MB, free: 5.328 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001528/0.001543, allocations: 0.844 MB / 449.8 MB, free: 4.527 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003171, allocations: 1.51 MB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.003201, allocations: 1.062 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.003222, allocations: 3.938 kB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.283e-05/0.003244, allocations: 6.047 kB / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.00361, allocations: 133.5 kB / 451.4 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.003691, allocations: 54.3 kB / 451.5 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.899e-05/0.00372, allocations: 4 kB / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.003813, allocations: 42.89 kB / 451.5 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.003861, allocations: 21.28 kB / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.003876, allocations: 5.203 kB / 451.6 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.004215, allocations: 264.9 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.004232, allocations: 9.969 kB / 451.8 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.004253, allocations: 11.94 kB / 451.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.004512, allocations: 183.6 kB / 452 MB, free: 2.309 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.004527, allocations: 0 / 452 MB, free: 2.309 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004528, allocations: 0 / 452 MB, free: 2.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.004544, allocations: 0 / 452 MB, free: 2.309 MB / 426.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.0004293/0.004973, allocations: 324.1 kB / 452.3 MB, free: 1.973 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.005001, allocations: 8.031 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.005234, allocations: 146.5 kB / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.622e-05/0.00531, allocations: 113.8 kB / 452.6 MB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005327, allocations: 384 / 452.6 MB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.005349, allocations: 12.38 kB / 452.6 MB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.005531, allocations: 147.5 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.005539, allocations: 192 / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.005549, allocations: 5.281 kB / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005555, allocations: 11.88 kB / 452.8 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.005598, allocations: 17.86 kB / 452.8 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.005997, allocations: 212.1 kB / 453 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.006133, allocations: 71.28 kB / 453.1 MB, free: 1.168 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.006153, allocations: 16.86 kB / 453.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.006163, allocations: 4.844 kB / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.006184, allocations: 30.56 kB / 453.1 MB, free: 1.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.006186, allocations: 1 kB / 453.1 MB, free: 1.105 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.007371/0.01356, allocations: 2.159 MB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.01358, allocations: 51.41 kB / 455.3 MB, free: 14.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.463e-05/0.01364, allocations: 104.2 kB / 455.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.01367, allocations: 33.7 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.0137, allocations: 89.64 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.01375, allocations: 43.62 kB / 455.6 MB, free: 14.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.01385, allocations: 57.58 kB / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.01393, allocations: 318.8 kB / 456 MB, free: 14.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.01405, allocations: 96.92 kB / 456.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01416, allocations: 97.06 kB / 456.2 MB, free: 14.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.01443, allocations: 235.6 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01443, allocations: 0.625 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007541/0.01518, allocations: 246.5 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01519, allocations: 4 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.0152, allocations: 0.875 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.01521, allocations: 0 / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.01558, allocations: 130.7 kB / 456.8 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.01558, allocations: 3.938 kB / 456.8 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.01577, allocations: 28.75 kB / 456.8 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.0158, allocations: 19.92 kB / 456.8 MB, free: 13.37 MB / 442.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.0001032/0.0159, allocations: 118.9 kB / 456.9 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.01596, allocations: 4 kB / 456.9 MB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.01599, allocations: 21.3 kB / 457 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01599, allocations: 0 / 457 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.016, allocations: 0 / 457 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.016, allocations: 1.844 kB / 457 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.01656, allocations: 466.5 kB / 457.4 MB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01657, allocations: 3.984 kB / 457.4 MB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.01691, allocations: 123.6 kB / 457.5 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.01698, allocations: 27.84 kB / 457.6 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01699, allocations: 0 / 457.6 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.01701, allocations: 16.78 kB / 457.6 MB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01702, allocations: 4 kB / 457.6 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01702, allocations: 1.781 kB / 457.6 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.01751, allocations: 455.2 kB / 458 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.01754, allocations: 4 kB / 458 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.01776, allocations: 38.02 kB / 458.1 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.01781, allocations: 19.92 kB / 458.1 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.01784, allocations: 25.19 kB / 458.1 MB, free: 12.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.112e-05/0.01785, allocations: 8.859 kB / 458.1 MB, free: 12.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01785, allocations: 0 / 458.1 MB, free: 12.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.01806, allocations: 57.17 kB / 458.2 MB, free: 11.96 MB / 442.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.0001317/0.01819, allocations: 92.34 kB / 458.3 MB, free: 11.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.01849, allocations: 237.9 kB / 458.5 MB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.01849, allocations: 8 kB / 458.5 MB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.01863, allocations: 133.1 kB / 458.6 MB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.0188, allocations: 59.8 kB / 458.7 MB, free: 11.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.02026, allocations: 0.5657 MB / 459.3 MB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.0203, allocations: 63.34 kB / 459.3 MB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.02062, allocations: 90.12 kB / 459.4 MB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.02088, allocations: 99.23 kB / 459.5 MB, free: 10.67 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02088, allocations: 0 / 459.5 MB, free: 10.67 MB / 442.7 MB Notification: Performance of Templates: time 0.00533/0.02621, allocations: 3.864 MB / 463.4 MB, free: 6.953 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6828304072842]