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.0009679/0.0009679, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009594/0.0009594, allocations: 173 kB / 23.5 MB, free: 1.055 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.8172/0.8172, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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.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.723e-06/1.723e-06, allocations: 0 / 0.5204 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.593e-05, allocations: 3.094 kB / 0.5204 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001707/0.001733, allocations: 0.6246 MB / 0.521 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.003808, allocations: 1.465 MB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.003842, allocations: 4.625 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.00386, allocations: 0 / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.276e-05/0.003893, allocations: 5.75 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.004459, allocations: 137 kB / 0.5226 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.004544, allocations: 33.28 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.00459, allocations: 4 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.004665, allocations: 19.97 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.004762, allocations: 27.95 kB / 0.5227 GB, free: 184 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.004783, allocations: 0.5312 kB / 0.5227 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.005198, allocations: 252.1 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.00522, allocations: 7.984 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.005248, allocations: 9.453 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.005581, allocations: 199.6 kB / 0.5231 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005583, allocations: 0 / 0.5231 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005584, allocations: 0 / 0.5231 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.005589, allocations: 1.344 kB / 0.5231 GB, free: 15.72 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.000526/0.006115, allocations: 395.8 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.006162, allocations: 12.03 kB / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.006504, allocations: 56.64 kB / 0.5236 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.006612, allocations: 108.6 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.00663, allocations: 384 / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.006657, allocations: 8.938 kB / 0.5237 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.006891, allocations: 98.14 kB / 0.5238 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.006899, allocations: 192 / 0.5238 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.006915, allocations: 1.844 kB / 0.5238 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.006927, allocations: 11.92 kB / 0.5238 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.007003, allocations: 15.98 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.007217, allocations: 120.6 kB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.007532, allocations: 62.16 kB / 0.524 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.007588, allocations: 27.77 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.007853, allocations: 46.69 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.00789, allocations: 37.39 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.007892, allocations: 0 / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0007043/0.008596, allocations: 219.1 kB / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.008642, allocations: 55.34 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.008741, allocations: 153.9 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.008762, allocations: 30.64 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.008811, allocations: 126.9 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.00885, allocations: 20.73 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.008904, allocations: 27.36 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.009076, allocations: 496.1 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.009121, allocations: 16.58 kB / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.009157, allocations: 9 kB / 0.5252 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.009248, allocations: 39.86 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.009249, allocations: 0 / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001498/0.009399, allocations: 64.25 kB / 0.5253 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.009418, allocations: 7.938 kB / 0.5253 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009423, allocations: 0 / 0.5253 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.009441, allocations: 4 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.009565, allocations: 23.86 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.009571, allocations: 3.125 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.009625, allocations: 7.984 kB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.009637, allocations: 4 kB / 0.5253 GB, free: 13.24 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 9.257e-05/0.009729, allocations: 160.6 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.009749, allocations: 4 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.009964, allocations: 82.62 kB / 0.5256 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009967, allocations: 0 / 0.5256 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.009972, allocations: 7.938 kB / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.009977, allocations: 0 / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.0101, allocations: 128.6 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.0101, allocations: 0 / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.01022, allocations: 19.92 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01022, allocations: 3.375 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01024, allocations: 4 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01024, allocations: 0 / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01024, allocations: 0 / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.01048, allocations: 124.4 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.01053, allocations: 7.984 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01055, allocations: 4 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.01061, allocations: 11.05 kB / 0.5259 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.01065, allocations: 11.92 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01066, allocations: 4 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.0107, allocations: 119.2 kB / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0107, allocations: 0 / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002644/0.01096, allocations: 35.86 kB / 0.526 GB, free: 12.46 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.0002025/0.01117, allocations: 133.4 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.01132, allocations: 39.67 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01132, allocations: 0 / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.01137, allocations: 39.55 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.01155, allocations: 4 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.01198, allocations: 150.5 kB / 0.5264 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.01202, allocations: 59.34 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.988e-05/0.01211, allocations: 17.5 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.01216, allocations: 12.5 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01216, allocations: 0.9375 kB / 0.5265 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.003825/0.01599, allocations: 1.212 MB / 0.5276 GB, free: 10.81 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: 3.861371756065637]