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.002441/0.002441, allocations: 85.48 kB / 19.44 MB, free: 344 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.002909/0.002909, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.321/1.321, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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.373e-06/1.373e-06, allocations: 0 / 0.5197 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.743e-05, allocations: 6.547 kB / 0.5197 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001727/0.001754, allocations: 0.6156 MB / 0.5203 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.004137, allocations: 1.453 MB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.00416, allocations: 0.9062 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.004172, allocations: 0 / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.004207, allocations: 0 / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.004757, allocations: 147.5 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.004836, allocations: 27.91 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.004888, allocations: 4 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.004969, allocations: 23.97 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.005048, allocations: 17.53 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.005068, allocations: 3.938 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.005531, allocations: 251.5 kB / 0.5222 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.005551, allocations: 3.984 kB / 0.5222 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.005583, allocations: 12.73 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.005961, allocations: 203.4 kB / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005964, allocations: 1.156 kB / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005965, allocations: 0 / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.00597, 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.000649/0.006619, allocations: 393.1 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.006653, allocations: 8.031 kB / 0.5228 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.007081, allocations: 51.22 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.007206, allocations: 118.2 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.007222, allocations: 384 / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.007249, allocations: 8.359 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.007498, allocations: 93.36 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007507, allocations: 192 / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.007519, allocations: 384 / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.007525, allocations: 5.062 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.007774, allocations: 49.7 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.007979, allocations: 120.6 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.0085, allocations: 101.7 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.008639, allocations: 43.12 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.008965, allocations: 54.91 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.009, allocations: 33.39 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.009001, allocations: 0 / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001047/0.01005, allocations: 294.3 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.01009, allocations: 59.34 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.01021, allocations: 149.9 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.01024, allocations: 33.7 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.01031, allocations: 126.9 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.01035, allocations: 22.25 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.01041, allocations: 27.38 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004971/0.01091, allocations: 0.4884 MB / 0.5246 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.01104, allocations: 23.98 kB / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.01115, allocations: 29.23 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.01139, allocations: 65.67 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.01139, allocations: 0 / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000321/0.01171, allocations: 103.4 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01173, allocations: 14.38 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01173, allocations: 0 / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01175, allocations: 0 / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01188, allocations: 19.92 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01189, allocations: 0 / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.01197, allocations: 13.89 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.01198, allocations: 0 / 0.5248 GB, free: 13.05 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.0001278/0.01211, allocations: 160.6 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.01213, allocations: 0 / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.01253, allocations: 122 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01253, allocations: 0.9375 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.01254, allocations: 3.938 kB / 0.5251 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01254, allocations: 0 / 0.5251 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.0127, allocations: 126.1 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.0127, allocations: 0 / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.01285, allocations: 19.98 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01285, allocations: 0.9688 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01286, allocations: 256 / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01287, allocations: 0.5938 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.01287, allocations: 11.98 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.01338, allocations: 179.5 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.01343, allocations: 7.984 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01345, allocations: 0 / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.01356, allocations: 13.45 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.01359, allocations: 7.938 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01361, allocations: 7.984 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.123e-05/0.01368, allocations: 120.4 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01368, allocations: 0 / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002352/0.01391, allocations: 32.41 kB / 0.5256 GB, free: 12.2 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.000251/0.01416, allocations: 129.2 kB / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.0145, allocations: 80.28 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01451, allocations: 1.344 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.01465, allocations: 43.61 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.0148, allocations: 9.328 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.01539, allocations: 172.4 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.01547, allocations: 63.36 kB / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.039e-05/0.01556, allocations: 16.86 kB / 0.5261 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.01561, allocations: 15.34 kB / 0.5261 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01561, allocations: 0 / 0.5261 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.004487/0.0201, allocations: 1.217 MB / 0.5273 GB, free: 10.47 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.982053661020473]