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.001342/0.001342, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001856/0.001856, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.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.783/0.783, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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. " [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.583e-06/1.583e-06, allocations: 0 / 0.5208 GB, free: 1.832 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.112e-05, allocations: 4.609 kB / 0.5208 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001346/0.001368, allocations: 0.8051 MB / 0.5216 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.002913, allocations: 1.489 MB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.002948, allocations: 0 / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.002972, allocations: 3.938 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.003011, allocations: 3.938 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.003381, allocations: 145.5 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.003446, allocations: 47.91 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.99e-05/0.003476, allocations: 5.469 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.003566, allocations: 35.95 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.003612, allocations: 35.88 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.003627, allocations: 4 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.003878, allocations: 252 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.003894, allocations: 4 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.003916, allocations: 28.69 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.004134, allocations: 219.4 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004136, allocations: 1.781 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004137, allocations: 0 / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.00414, allocations: 0 / 0.5238 GB, free: 14.78 MB / 0.4948 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.0003691/0.004509, allocations: 420.7 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.004543, allocations: 8.031 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.004749, allocations: 63.98 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.521e-05/0.004814, allocations: 120.5 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.004827, allocations: 1.562 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.004848, allocations: 16.31 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.005016, allocations: 148.4 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005024, allocations: 192 / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005034, allocations: 8.375 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00504, allocations: 7.922 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.005084, allocations: 26.72 kB / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.005402, allocations: 300.2 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.005509, allocations: 71.02 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.005533, allocations: 27.61 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.005546, allocations: 1.531 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.005566, allocations: 37.39 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005567, allocations: 4 kB / 0.525 GB, free: 13.42 MB / 0.4948 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.005935/0.0115, allocations: 1.884 MB / 0.5269 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.01153, allocations: 55.34 kB / 0.5269 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.01159, allocations: 161.9 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.01163, allocations: 33.7 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.01167, allocations: 134.8 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.01171, allocations: 39.67 kB / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.01181, allocations: 75.22 kB / 0.5273 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01193, allocations: 0.4939 MB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.01206, allocations: 111.9 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.01219, allocations: 122.1 kB / 0.528 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.01247, allocations: 249.1 kB / 0.5283 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01247, allocations: 0 / 0.5283 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004241/0.0129, allocations: 340.1 kB / 0.5286 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.01291, allocations: 11.94 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.01291, allocations: 0.875 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.01292, allocations: 0 / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.01349, allocations: 89.59 kB / 0.5287 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.01349, allocations: 4.688 kB / 0.5287 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.01369, allocations: 25.28 kB / 0.5287 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.01372, allocations: 27.92 kB / 0.5288 GB, free: 9.504 MB / 0.4948 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 9.596e-05/0.01382, allocations: 161.5 kB / 0.5289 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.01389, allocations: 13.2 kB / 0.5289 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.01392, allocations: 8.125 kB / 0.5289 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.01392, allocations: 4 kB / 0.5289 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01393, allocations: 4 kB / 0.5289 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01393, allocations: 10.3 kB / 0.529 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.01471, allocations: 0.8312 MB / 0.5298 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01471, allocations: 0 / 0.5298 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.01501, allocations: 86.39 kB / 0.5298 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01502, allocations: 3.984 kB / 0.5298 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.01505, allocations: 23.94 kB / 0.5299 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01505, allocations: 3.938 kB / 0.5299 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01505, allocations: 0 / 0.5299 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.01567, allocations: 0.5824 MB / 0.5304 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.01575, allocations: 41.7 kB / 0.5305 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.01578, allocations: 4 kB / 0.5305 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.016, allocations: 28.45 kB / 0.5305 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.01605, allocations: 29.23 kB / 0.5305 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.01608, allocations: 19.94 kB / 0.5306 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.01612, allocations: 139.3 kB / 0.5307 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01612, allocations: 0.75 kB / 0.5307 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000233/0.01635, allocations: 51.94 kB / 0.5307 GB, free: 7.367 MB / 0.4948 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.0001511/0.0165, allocations: 112.8 kB / 0.5309 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.01684, allocations: 291.3 kB / 0.5311 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01684, allocations: 0.5 kB / 0.5311 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.01701, allocations: 166.3 kB / 0.5313 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.01721, allocations: 35.92 kB / 0.5313 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.0187, allocations: 0.5936 MB / 0.5319 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.065e-05/0.01874, allocations: 59.36 kB / 0.532 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003296/0.01906, allocations: 91.97 kB / 0.532 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.01932, allocations: 127.7 kB / 0.5322 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.01932, allocations: 0 / 0.5322 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of Templates: time 0.004735/0.02406, allocations: 3.849 MB / 0.5359 GB, free: 2.125 MB / 0.4948 GB " [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.8246151320636272]