Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008148/0.0008148, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007344/0.0007344, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8611/0.8611, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:686: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-531:694: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.6982/0.6982, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.196e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001438/0.00147, allocations: 0.7759 MB / 0.6202 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.002932, allocations: 1.466 MB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.002962, allocations: 0 / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.002984, allocations: 3.938 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.003022, allocations: 7.922 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.003387, allocations: 147.4 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.003456, allocations: 51.89 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.003488, allocations: 3.984 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.003561, allocations: 39.84 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.003601, allocations: 23.95 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.003615, allocations: 4 kB / 0.6219 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.003849, allocations: 251.5 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.003868, allocations: 19.91 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.003888, allocations: 15.98 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.004123, allocations: 227.3 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004124, allocations: 4 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004126, allocations: 0 / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.004129, allocations: 0 / 0.6223 GB, free: 10.07 MB / 0.5886 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.000402/0.004531, allocations: 321.8 kB / 0.6227 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.004559, allocations: 8.031 kB / 0.6227 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.004789, allocations: 76.8 kB / 0.6227 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/0.004859, allocations: 109.7 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.00488, allocations: 8.375 kB / 0.6228 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.0049, allocations: 12.31 kB / 0.6229 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.005118, allocations: 164.2 kB / 0.623 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005127, allocations: 192 / 0.623 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005139, allocations: 8.375 kB / 0.623 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.005144, allocations: 3.938 kB / 0.623 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.005365, allocations: 99.89 kB / 0.6231 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.005694, allocations: 260.4 kB / 0.6234 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.006005, allocations: 158.4 kB / 0.6235 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.006111, allocations: 52.81 kB / 0.6236 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.006125, allocations: 4 kB / 0.6236 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.006143, allocations: 30.56 kB / 0.6236 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.006144, allocations: 4 kB / 0.6236 GB, free: 8.66 MB / 0.5886 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.008329/0.01447, allocations: 2.691 MB / 0.6262 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.0145, allocations: 55.39 kB / 0.6263 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/0.01455, allocations: 101.9 kB / 0.6264 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.01458, allocations: 25.7 kB / 0.6264 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.01461, allocations: 96.11 kB / 0.6265 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.01466, allocations: 43.62 kB / 0.6265 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.01475, allocations: 69.58 kB / 0.6266 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.01483, allocations: 318.8 kB / 0.6269 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.01518, allocations: 195.8 kB / 0.6271 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.01552, allocations: 191.8 kB / 0.6273 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/0.01623, allocations: 395.8 kB / 0.6277 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01623, allocations: 7.938 kB / 0.6277 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008198/0.01705, allocations: 477.3 kB / 0.6281 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.01706, allocations: 4 kB / 0.6281 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.01706, allocations: 0 / 0.6281 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.01708, allocations: 7.984 kB / 0.6281 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.01743, allocations: 107.8 kB / 0.6282 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.01743, allocations: 0 / 0.6282 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.01768, allocations: 47.94 kB / 0.6283 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.01771, allocations: 19.94 kB / 0.6283 GB, free: 3.738 MB / 0.5886 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 9.98e-05/0.01781, allocations: 122.8 kB / 0.6284 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.01785, allocations: 7.953 kB / 0.6284 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.01789, allocations: 16.05 kB / 0.6284 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01789, allocations: 4 kB / 0.6284 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01789, allocations: 0 / 0.6284 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.0179, allocations: 0 / 0.6284 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.0191, allocations: 0.972 MB / 0.6294 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.0191, allocations: 0 / 0.6294 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.01945, allocations: 107.7 kB / 0.6295 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01945, allocations: 0 / 0.6295 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.01948, allocations: 23.94 kB / 0.6295 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01948, allocations: 7.984 kB / 0.6295 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01948, allocations: 0 / 0.6295 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.02072, allocations: 0.7879 MB / 0.6303 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.02081, allocations: 35.86 kB / 0.6303 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.02085, allocations: 7.984 kB / 0.6303 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.02112, allocations: 48 kB / 0.6304 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.02118, allocations: 31.86 kB / 0.6304 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.02121, allocations: 23.88 kB / 0.6304 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.02123, allocations: 87.27 kB / 0.6305 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02123, allocations: 0 / 0.6305 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002359/0.02147, allocations: 51.94 kB / 0.6306 GB, free: 1.297 MB / 0.5886 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.0001247/0.0216, allocations: 111.2 kB / 0.6307 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007612/0.02236, allocations: 419.5 kB / 0.6311 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.02236, allocations: 0 / 0.6311 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.02272, allocations: 223.7 kB / 0.6313 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.02295, allocations: 14.17 kB / 0.6313 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.02485, allocations: 0.7678 MB / 0.6321 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.652e-05/0.02489, allocations: 79.27 kB / 0.6321 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.02514, allocations: 80.3 kB / 0.6322 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.02514, allocations: 4 kB / 0.6322 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.003393/0.02853, allocations: 3.802 MB / 0.6359 GB, free: 11.75 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.152868542820215] Failed to read output from testmodel.py, exit status != 0: 0.03292998671531677 0.039982016 0.034322065 Calling exit ...