Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008453/0.0008453, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009906/0.0009906, 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.011/1.011, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8429/0.8429, allocations: 154.9 MB / 415.9 MB, free: 220 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.522 GB, free: 1.445 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.385e-05/4.639e-05, allocations: 5.703 kB / 0.522 GB, free: 1.441 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.003417/0.003463, allocations: 0.7866 MB / 0.5227 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.005971, allocations: 1.483 MB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.006023, allocations: 1.344 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.006064, allocations: 3.938 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/0.006128, allocations: 3.938 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.006839, allocations: 151.4 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.00696, allocations: 55.88 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.007012, allocations: 3.984 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.007147, allocations: 35.91 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.007218, allocations: 24.52 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.007239, allocations: 7.938 kB / 0.5245 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.007689, allocations: 248.5 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.007728, allocations: 19.91 kB / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.007757, allocations: 12.61 kB / 0.5247 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.008181, allocations: 227.3 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.008186, allocations: 1.25 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.008187, allocations: 0 / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.008194, allocations: 0 / 0.5249 GB, free: 14.41 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.0006163/0.00881, allocations: 429 kB / 0.5254 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.00886, allocations: 8.031 kB / 0.5254 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.009212, allocations: 55.39 kB / 0.5254 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.009338, allocations: 113.2 kB / 0.5255 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.009374, allocations: 13.64 kB / 0.5255 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.009405, allocations: 4.375 kB / 0.5255 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.009705, allocations: 155 kB / 0.5257 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.009721, allocations: 5.062 kB / 0.5257 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.009734, allocations: 384 / 0.5257 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.009744, allocations: 11.19 kB / 0.5257 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.009815, allocations: 23.97 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.01033, allocations: 296.2 kB / 0.526 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.01053, allocations: 78.95 kB / 0.5261 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.01057, allocations: 23.62 kB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.01059, allocations: 0 / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.01062, allocations: 40.58 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.01062, allocations: 0 / 0.5261 GB, free: 13.05 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.008253/0.01887, allocations: 1.877 MB / 0.528 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.01892, allocations: 56.41 kB / 0.528 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.01906, allocations: 157.9 kB / 0.5282 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.01911, allocations: 29.7 kB / 0.5282 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.01921, allocations: 143.9 kB / 0.5283 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.01928, allocations: 39.67 kB / 0.5284 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.0194, allocations: 79.22 kB / 0.5285 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.01958, allocations: 0.4935 MB / 0.5289 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.01974, allocations: 115.9 kB / 0.5291 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.0199, allocations: 120.2 kB / 0.5292 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.02023, allocations: 247.5 kB / 0.5294 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.02023, allocations: 0 / 0.5294 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004815/0.02071, allocations: 339 kB / 0.5297 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.02073, allocations: 4 kB / 0.5297 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.02074, allocations: 1.016 kB / 0.5297 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.02076, allocations: 1 kB / 0.5297 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.02112, allocations: 97.72 kB / 0.5298 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.02112, allocations: 0 / 0.5298 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.02134, allocations: 32.89 kB / 0.5299 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.02138, allocations: 26.41 kB / 0.5299 GB, free: 9.141 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 0.0001374/0.02151, allocations: 160.5 kB / 0.53 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.02158, allocations: 11.95 kB / 0.53 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.02162, allocations: 16.11 kB / 0.5301 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.02163, allocations: 0 / 0.5301 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.02163, allocations: 4 kB / 0.5301 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.02163, allocations: 0.9375 kB / 0.5301 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.02255, allocations: 0.8256 MB / 0.5309 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02255, allocations: 4 kB / 0.5309 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.02291, allocations: 89.84 kB / 0.531 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.02292, allocations: 192 / 0.531 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.02295, allocations: 23.94 kB / 0.531 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02295, allocations: 2.312 kB / 0.531 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02296, allocations: 0 / 0.531 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.02368, allocations: 0.5965 MB / 0.5316 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.02376, allocations: 39.86 kB / 0.5316 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.02381, allocations: 4.609 kB / 0.5316 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.02405, allocations: 30.22 kB / 0.5316 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.02412, allocations: 27.92 kB / 0.5317 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.02415, allocations: 27.92 kB / 0.5317 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.02419, allocations: 123.2 kB / 0.5318 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02419, allocations: 0.6875 kB / 0.5318 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002661/0.02446, allocations: 51.94 kB / 0.5319 GB, free: 7.008 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.0002004/0.02466, allocations: 115.5 kB / 0.532 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.02507, allocations: 291.3 kB / 0.5323 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.02507, allocations: 1.094 kB / 0.5323 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.02525, allocations: 163.4 kB / 0.5324 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.02548, allocations: 41.3 kB / 0.5324 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.02718, allocations: 0.5929 MB / 0.533 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.02722, allocations: 59.34 kB / 0.5331 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003222/0.02754, allocations: 93.72 kB / 0.5332 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.02782, allocations: 130 kB / 0.5333 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.02782, allocations: 2.312 kB / 0.5333 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of Templates: time 0.005532/0.03335, allocations: 3.938 MB / 0.5371 GB, free: 1.656 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.046066566370428]