Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.001604/0.001604, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001912/0.001912, allocations: 166 kB / 22.46 MB, free: 5.375 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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-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 1.183/1.183, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6186 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.257e-05, allocations: 4.359 kB / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001605/0.001647, allocations: 0.6324 MB / 0.6193 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.003863, allocations: 1.439 MB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.00389, allocations: 3.938 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.003907, allocations: 7.938 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.001e-05/0.003997, allocations: 7.922 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.004452, allocations: 123.2 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.004522, allocations: 31.91 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.004571, allocations: 3.984 kB / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.004632, allocations: 15.98 kB / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.00471, allocations: 15.92 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.004727, allocations: 0 / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.005158, allocations: 251.4 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.005181, allocations: 11.92 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.005208, allocations: 7.984 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.005546, allocations: 195.5 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005549, allocations: 0 / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00555, allocations: 0 / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005555, allocations: 4 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005974/0.006152, allocations: 309.7 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.006195, allocations: 8.031 kB / 0.6216 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.006594, allocations: 60.81 kB / 0.6217 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.006755, allocations: 117.7 kB / 0.6218 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.006779, allocations: 8.312 kB / 0.6218 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.006804, allocations: 4.375 kB / 0.6218 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.007104, allocations: 70.2 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.007116, allocations: 4.188 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.007127, allocations: 384 / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.007139, allocations: 3.938 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.007525, allocations: 71.92 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.007708, allocations: 125.2 kB / 0.6221 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.008305, allocations: 122.5 kB / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.008499, allocations: 44.95 kB / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.008518, allocations: 0 / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.008548, allocations: 34.56 kB / 0.6223 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.008549, allocations: 0 / 0.6223 GB, free: 0.6758 MB / 0.5294 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=9): time 0.004298/0.01285, allocations: 0.7934 MB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.01289, allocations: 55.34 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.013, allocations: 113.8 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.01303, allocations: 33.7 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.01307, allocations: 80.14 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.01312, allocations: 35.73 kB / 0.6233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.01319, allocations: 25.7 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01333, allocations: 314.8 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.01379, allocations: 99.89 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.01423, allocations: 91.91 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.0151, allocations: 200.6 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01511, allocations: 0 / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000978/0.01608, allocations: 237.4 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.0161, allocations: 4 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0161, allocations: 11.88 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.01612, allocations: 3.984 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.01645, allocations: 59.88 kB / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01645, allocations: 0 / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.01668, allocations: 39.95 kB / 0.6244 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01669, allocations: 384 / 0.6244 GB, free: 14.44 MB / 0.545 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 (9): * Single equations (assignments): 9 * 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.47e-05/0.01679, allocations: 114.8 kB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.01681, allocations: 7.953 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.01685, allocations: 20.36 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01686, allocations: 7.938 kB / 0.6245 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01686, allocations: 0 / 0.6245 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01686, allocations: 0 / 0.6245 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.01857, allocations: 0.5353 MB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01857, allocations: 4.062 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.01884, allocations: 51.94 kB / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01884, allocations: 0 / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01886, allocations: 8 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01886, allocations: 7.984 kB / 0.6251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01886, allocations: 0 / 0.6251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.0199, allocations: 340.9 kB / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01992, allocations: 11.94 kB / 0.6254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.01994, allocations: 4 kB / 0.6255 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.0202, allocations: 35.95 kB / 0.6255 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.02025, allocations: 11.98 kB / 0.6255 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.02026, allocations: 4 kB / 0.6255 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.02032, allocations: 95.2 kB / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02032, allocations: 0 / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002909/0.02062, allocations: 31.94 kB / 0.6256 GB, free: 13.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002322/0.02085, allocations: 139.1 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009628/0.02181, allocations: 199.7 kB / 0.6259 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.02181, allocations: 7.938 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.02228, allocations: 104 kB / 0.6261 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.02252, allocations: 22.58 kB / 0.6261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.02412, allocations: 394.2 kB / 0.6265 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.02418, allocations: 68.22 kB / 0.6265 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.642e-05/0.02428, allocations: 29.72 kB / 0.6265 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.02435, allocations: 20.48 kB / 0.6266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.02435, allocations: 0 / 0.6266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Templates: time 0.004671/0.02902, allocations: 1.752 MB / 0.6283 GB, free: 10.33 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.806942880153656] Failed to read output from testmodel.py, exit status != 0: 0.037464987486600876 0.050918765000000005 0.042413602 Calling exit ...