Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001427/0.001427, allocations: 88.72 kB / 19.44 MB, free: 360 kB / 13.93 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.001666/0.001666, allocations: 157.6 kB / 22.75 MB, free: 1.688 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.244/1.244, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 178] 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.354e-05, allocations: 2.969 kB / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002606/0.00264, allocations: 0.5999 MB / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.005839, allocations: 1.433 MB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.005863, allocations: 0 / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.005876, allocations: 0 / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.00592, allocations: 7.875 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/0.006644, allocations: 142.9 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.677e-05/0.00673, allocations: 27.91 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.006766, allocations: 5.688 kB / 0.5219 GB, free: 292 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.006853, allocations: 23.97 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.006943, allocations: 15.97 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.006962, allocations: 0 / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.00773, allocations: 255.4 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.007754, allocations: 14.14 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.007794, allocations: 11.92 kB / 0.5222 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.008283, allocations: 203.5 kB / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.008285, allocations: 0 / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.008286, allocations: 0 / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.00829, allocations: 0 / 0.5224 GB, free: 15.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006937/0.008984, allocations: 291.1 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.009022, allocations: 8.031 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006976/0.00972, allocations: 70.19 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.009871, allocations: 109.8 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.009891, allocations: 384 / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.00993, allocations: 4.375 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.01032, allocations: 101.6 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.01033, allocations: 1.469 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.01035, allocations: 4.375 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01036, allocations: 3.938 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.01079, allocations: 64.77 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.01104, allocations: 105.3 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.01192, allocations: 123 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.01217, allocations: 48.59 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/0.01278, allocations: 83.95 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.01282, allocations: 30.56 kB / 0.5234 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.01283, allocations: 0 / 0.5234 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001731/0.01456, allocations: 337.5 kB / 0.5237 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.01462, allocations: 55.34 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.01472, allocations: 98.42 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.01476, allocations: 26.3 kB / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.01482, allocations: 80.14 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.01486, allocations: 20.48 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.01493, allocations: 18.25 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.01514, allocations: 322.8 kB / 0.5243 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.0154, allocations: 37.84 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.01562, allocations: 33.78 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.01608, allocations: 77.58 kB / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01608, allocations: 0 / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005837/0.01667, allocations: 116.3 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.01669, allocations: 8 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01669, allocations: 2 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01671, allocations: 0 / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.01694, allocations: 27.86 kB / 0.5246 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01694, allocations: 1.031 kB / 0.5246 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.0171, allocations: 17.41 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.01712, allocations: 0 / 0.5246 GB, free: 13.34 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 (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 0.0001311/0.01725, allocations: 113.8 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.01729, allocations: 5.344 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.01795, allocations: 130.9 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01796, allocations: 0 / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.01796, allocations: 4.969 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01797, allocations: 0 / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.01817, allocations: 117.3 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.01818, allocations: 5.922 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.0184, allocations: 24.23 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.0184, allocations: 0 / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01842, allocations: 4.938 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01842, allocations: 0 / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.01843, allocations: 3.984 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.01934, allocations: 198.1 kB / 0.5252 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.0194, allocations: 5.516 kB / 0.5252 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.01942, allocations: 4.031 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.01959, allocations: 14.33 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.01963, allocations: 7.922 kB / 0.5252 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.01965, allocations: 8 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.063e-05/0.01972, allocations: 75.28 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01972, allocations: 3.938 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003953/0.02011, allocations: 31.88 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB 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.0003122/0.02042, allocations: 132.8 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.02097, allocations: 78.88 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02098, allocations: 0.6875 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.02124, allocations: 50.11 kB / 0.5256 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.0215, allocations: 6.984 kB / 0.5256 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009632/0.02246, allocations: 184.3 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.125e-05/0.02255, allocations: 67.33 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.02269, allocations: 17.16 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.02277, allocations: 17 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.02277, allocations: 0.9375 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.00584/0.02861, allocations: 1.215 MB / 0.527 GB, free: 10.83 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.887061154004186]