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.001079/0.001079, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002619, allocations: 440 kB / 10.41 MB, free: 284 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.001078/0.001078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002651, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09822/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.8542/0.8542, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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.261/1.115, allocations: 49.05 MB / 447.8 MB, free: 6.594 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.123e-06/1.123e-06, allocations: 0 / 449.2 MB, free: 5.203 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.125e-05, allocations: 5.375 kB / 449.2 MB, free: 5.199 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001164/0.001175, allocations: 0.8536 MB / 450.1 MB, free: 4.391 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002456, allocations: 1.5 MB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.002486, allocations: 0 / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.002508, allocations: 3.938 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.099e-05/0.002529, allocations: 3.281 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.002833, allocations: 145.4 kB / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.002902, allocations: 44.36 kB / 451.8 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.002934, allocations: 8.734 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.003025, allocations: 34.8 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.003074, allocations: 29.7 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.003088, allocations: 8.078 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.003355, allocations: 261.4 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.003371, allocations: 4 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.003389, allocations: 15.94 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.003604, allocations: 187.5 kB / 452.3 MB, free: 2.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.003613, allocations: 0 / 452.3 MB, free: 2.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003613, allocations: 0 / 452.3 MB, free: 2.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.003621, allocations: 0 / 452.3 MB, free: 2.18 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.000384/0.004005, allocations: 319.1 kB / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.004034, allocations: 12.03 kB / 452.6 MB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.004258, allocations: 136.7 kB / 452.8 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.004327, allocations: 111 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.004343, allocations: 8.375 kB / 452.9 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.004362, allocations: 4.375 kB / 452.9 MB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.004526, allocations: 152.3 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.004535, allocations: 4.188 kB / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004543, allocations: 384 / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004548, allocations: 4.594 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.004591, allocations: 27.33 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.004864, allocations: 217.4 kB / 453.3 MB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.004978, allocations: 59.55 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.005001, allocations: 17.84 kB / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.005014, allocations: 13.03 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.005032, allocations: 30.56 kB / 453.4 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.005032, allocations: 0 / 453.4 MB, free: 0.9805 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.00743/0.01246, allocations: 2.174 MB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.01249, allocations: 51.41 kB / 455.6 MB, free: 14.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.971e-05/0.01254, allocations: 106.7 kB / 455.7 MB, free: 14.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.01257, allocations: 30.33 kB / 455.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.0126, allocations: 88.09 kB / 455.9 MB, free: 14.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.01265, allocations: 44.59 kB / 455.9 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.01275, allocations: 61.56 kB / 456 MB, free: 14.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.01281, allocations: 319.7 kB / 456.3 MB, free: 14.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.01292, allocations: 95.94 kB / 456.4 MB, free: 13.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.01302, allocations: 100.7 kB / 456.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.01326, allocations: 222.8 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.01326, allocations: 0 / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002959/0.01356, allocations: 256 kB / 456.9 MB, free: 13.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01357, allocations: 4 kB / 456.9 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.01357, allocations: 0.7812 kB / 456.9 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01358, allocations: 4 kB / 456.9 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.01394, allocations: 122.2 kB / 457.1 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.01394, allocations: 0 / 457.1 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.01413, allocations: 34.08 kB / 457.1 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.01416, allocations: 19.94 kB / 457.1 MB, free: 13.23 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 9.734e-05/0.01426, allocations: 117.7 kB / 457.2 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.01431, allocations: 12.86 kB / 457.2 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.01435, allocations: 12.12 kB / 457.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01435, allocations: 3.844 kB / 457.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01435, allocations: 0 / 457.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01435, allocations: 0 / 457.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.01488, allocations: 470.5 kB / 457.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01488, allocations: 0.75 kB / 457.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.01522, allocations: 124.9 kB / 457.8 MB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.01528, allocations: 29.44 kB / 457.9 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.01528, allocations: 0 / 457.9 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.01531, allocations: 27.92 kB / 457.9 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01531, allocations: 0 / 457.9 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01531, allocations: 1.25 kB / 457.9 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.0158, allocations: 450.9 kB / 458.3 MB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.01584, allocations: 4 kB / 458.3 MB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.01605, allocations: 32.83 kB / 458.4 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.01611, allocations: 29.2 kB / 458.4 MB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.01613, allocations: 15.94 kB / 458.4 MB, free: 11.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.195e-05/0.01615, allocations: 12.84 kB / 458.4 MB, free: 11.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01615, allocations: 0.7812 kB / 458.4 MB, free: 11.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.01636, allocations: 55.94 kB / 458.5 MB, free: 11.82 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.0001369/0.0165, allocations: 89.41 kB / 458.6 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.0168, allocations: 237.2 kB / 458.8 MB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.0168, allocations: 0.9688 kB / 458.8 MB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.01696, allocations: 148.6 kB / 458.9 MB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.01716, allocations: 112 kB / 459.1 MB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.01866, allocations: 0.5583 MB / 459.6 MB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.01869, allocations: 63.34 kB / 459.7 MB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.01899, allocations: 93.53 kB / 459.8 MB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.01925, allocations: 105.9 kB / 459.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01925, allocations: 0 / 459.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of Templates: time 0.004737/0.02399, allocations: 3.883 MB / 463.7 MB, free: 6.719 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.6095248609781265]