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.0009477/0.0009477, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009747/0.0009747, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7475/0.7475, allocations: 154.6 MB / 415.6 MB, free: 0.5 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 2.746e-06/2.746e-06, allocations: 3.984 kB / 0.5216 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.202e-05, allocations: 6.203 kB / 0.5216 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001451/0.001473, allocations: 0.6074 MB / 0.5222 GB, free: 104 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.003172, allocations: 1.456 MB / 0.5236 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.003196, allocations: 0.625 kB / 0.5236 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.003212, allocations: 3.938 kB / 0.5236 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.003241, allocations: 4.562 kB / 0.5236 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.003775, allocations: 142.4 kB / 0.5238 GB, free: 14.49 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.003839, allocations: 27.97 kB / 0.5238 GB, free: 14.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.003873, allocations: 4.812 kB / 0.5238 GB, free: 14.46 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.003929, allocations: 23.91 kB / 0.5238 GB, free: 14.43 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.003998, allocations: 24.5 kB / 0.5238 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.004012, allocations: 1.969 kB / 0.5238 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.004347, allocations: 255.4 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.004363, allocations: 3.984 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.004381, allocations: 8 kB / 0.5241 GB, free: 14.15 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.004656, allocations: 203.4 kB / 0.5243 GB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004658, allocations: 0.5625 kB / 0.5243 GB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.004659, allocations: 3.984 kB / 0.5243 GB, free: 13.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004663, allocations: 0.5 kB / 0.5243 GB, free: 13.95 MB / 458.7 MB 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.0003858/0.005049, allocations: 388.7 kB / 0.5247 GB, free: 13.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.005081, allocations: 12.59 kB / 0.5247 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.005341, allocations: 47.09 kB / 0.5247 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.005423, allocations: 117.7 kB / 0.5248 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.00544, allocations: 4.375 kB / 0.5248 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.005458, allocations: 7.406 kB / 0.5248 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.00562, allocations: 100.6 kB / 0.5249 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.005627, allocations: 4.125 kB / 0.5249 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.005636, allocations: 384 / 0.5249 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005642, allocations: 3.938 kB / 0.5249 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.005687, allocations: 20.48 kB / 0.525 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.005816, allocations: 110.5 kB / 0.5251 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.005992, allocations: 51.16 kB / 0.5251 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.006023, allocations: 20.7 kB / 0.5251 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.006203, allocations: 50.81 kB / 0.5252 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.006227, allocations: 37.38 kB / 0.5252 GB, free: 12.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.006228, allocations: 0 / 0.5252 GB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.000405/0.006633, allocations: 211 kB / 0.5254 GB, free: 12.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.006664, allocations: 62.44 kB / 0.5255 GB, free: 12.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.006729, allocations: 153.9 kB / 0.5256 GB, free: 12.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006742, allocations: 25.7 kB / 0.5257 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.00678, allocations: 130.9 kB / 0.5258 GB, free: 12.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.006809, allocations: 19.78 kB / 0.5258 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.006856, allocations: 31.36 kB / 0.5258 GB, free: 12.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.006992, allocations: 496.1 kB / 0.5263 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.007021, allocations: 15.11 kB / 0.5263 GB, free: 11.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.007044, allocations: 4 kB / 0.5263 GB, free: 11.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.007102, allocations: 23.69 kB / 0.5263 GB, free: 11.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007103, allocations: 0 / 0.5263 GB, free: 11.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001081/0.007211, allocations: 57.69 kB / 0.5264 GB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.007224, allocations: 11.92 kB / 0.5264 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.007228, allocations: 0 / 0.5264 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.007237, allocations: 4 kB / 0.5264 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.007323, allocations: 21.8 kB / 0.5264 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.00733, allocations: 7.922 kB / 0.5264 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.007372, allocations: 4 kB / 0.5264 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.007381, allocations: 10.02 kB / 0.5265 GB, free: 11.52 MB / 458.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 (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 7.246e-05/0.007454, allocations: 156.6 kB / 0.5266 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.00747, allocations: 7.953 kB / 0.5266 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.00762, allocations: 86.09 kB / 0.5267 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007621, allocations: 3.938 kB / 0.5267 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.007623, allocations: 3.938 kB / 0.5267 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.007629, allocations: 3.938 kB / 0.5267 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.007721, allocations: 105.2 kB / 0.5268 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007722, allocations: 2.406 kB / 0.5268 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.007804, allocations: 19.98 kB / 0.5268 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007806, allocations: 0 / 0.5268 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.007815, allocations: 4 kB / 0.5268 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007816, allocations: 0 / 0.5268 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007817, allocations: 0 / 0.5268 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.007985, allocations: 117.2 kB / 0.5269 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.008015, allocations: 7.938 kB / 0.527 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.008029, allocations: 5.5 kB / 0.527 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.008079, allocations: 11.98 kB / 0.527 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.0081, allocations: 7.938 kB / 0.527 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.008109, allocations: 5.109 kB / 0.527 GB, free: 10.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.258e-05/0.008141, allocations: 119.2 kB / 0.5271 GB, free: 10.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008141, allocations: 5.062 kB / 0.5271 GB, free: 10.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.008369, allocations: 27.88 kB / 0.5271 GB, free: 10.78 MB / 458.7 MB 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.0001468/0.008516, allocations: 131.9 kB / 0.5273 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.008614, allocations: 40.16 kB / 0.5273 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008616, allocations: 0.6875 kB / 0.5273 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.008656, allocations: 27.61 kB / 0.5273 GB, free: 10.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.008791, allocations: 8.969 kB / 0.5273 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.00911, allocations: 145.7 kB / 0.5275 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.12e-05/0.009141, allocations: 55.36 kB / 0.5275 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.301e-05/0.009214, allocations: 20.27 kB / 0.5275 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.009292, allocations: 74.2 kB / 0.5276 GB, free: 10.23 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009293, allocations: 0 / 0.5276 GB, free: 10.23 MB / 458.7 MB Notification: Performance of Templates: time 0.003114/0.01241, allocations: 1.355 MB / 0.5289 GB, free: 8.945 MB / 458.7 MB " [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.6096299081109464]