Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001456/0.001456, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001605/0.001605, allocations: 165 kB / 22.46 MB, free: 5.359 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.196/1.196, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6186 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.964e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00162/0.001649, allocations: 0.6442 MB / 0.6192 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.003903, allocations: 1.431 MB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.00393, allocations: 0 / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.003948, allocations: 3.938 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.004029, allocations: 7.984 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.00452, allocations: 127.4 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.004594, allocations: 23.92 kB / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.004651, allocations: 0 / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.004725, allocations: 23.91 kB / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.004801, allocations: 19.97 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.004821, allocations: 0 / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.005265, allocations: 251.5 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.005294, allocations: 7.938 kB / 0.6211 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.005324, allocations: 7.984 kB / 0.6211 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.005663, allocations: 195.5 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005666, allocations: 0 / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005666, allocations: 4 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.005673, allocations: 0 / 0.6212 GB, free: 1.863 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.0006331/0.006306, allocations: 313.7 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.006353, allocations: 9.469 kB / 0.6216 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.006795, allocations: 64.81 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.006959, allocations: 117.7 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.00698, allocations: 384 / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.007003, allocations: 4.375 kB / 0.6217 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.007307, allocations: 74.14 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.007322, allocations: 8.125 kB / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.007334, allocations: 4.375 kB / 0.6218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.00734, allocations: 3.938 kB / 0.6218 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.007724, allocations: 71.91 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.007929, allocations: 117.3 kB / 0.622 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.008521, allocations: 122.5 kB / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.008715, allocations: 36.95 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.008741, allocations: 4 kB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.008782, allocations: 42.48 kB / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.008783, allocations: 0 / 0.6222 GB, free: 0.7812 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.004253/0.01304, allocations: 0.774 MB / 0.623 GB, free: 0 / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.01311, allocations: 55.41 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.01322, allocations: 113.8 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.01324, allocations: 25.7 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.01329, allocations: 88.14 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.01334, allocations: 43.66 kB / 0.6233 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.01341, allocations: 25.7 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.01355, allocations: 318.8 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.01402, allocations: 95.89 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.01446, allocations: 95.89 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.01533, allocations: 197 kB / 0.624 GB, free: 14.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01534, allocations: 0 / 0.624 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009725/0.01631, allocations: 249.2 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01633, allocations: 4 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.01633, allocations: 7.938 kB / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01635, allocations: 0 / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.01668, allocations: 52.69 kB / 0.6243 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.01669, allocations: 7.938 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.01694, allocations: 35.95 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.01696, allocations: 7.984 kB / 0.6243 GB, free: 14.55 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.808e-05/0.01706, allocations: 110.8 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.01709, allocations: 7.953 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.01714, allocations: 20.38 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01714, allocations: 0 / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.01715, allocations: 4 kB / 0.6245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01715, allocations: 4 kB / 0.6245 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.01889, allocations: 0.5306 MB / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01889, allocations: 0 / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.01916, allocations: 59.94 kB / 0.625 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01917, allocations: 0 / 0.625 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.01919, allocations: 11.98 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01919, allocations: 0 / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01919, allocations: 4 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.02021, allocations: 344.9 kB / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.02022, allocations: 3.953 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.02025, allocations: 8 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.02051, allocations: 35.95 kB / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.02056, allocations: 7.984 kB / 0.6254 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.02058, allocations: 7.984 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.02065, allocations: 87.28 kB / 0.6255 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.02065, allocations: 0 / 0.6255 GB, free: 13.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003121/0.02096, allocations: 39.92 kB / 0.6256 GB, free: 13.2 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.0002681/0.02123, allocations: 135 kB / 0.6257 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.02224, allocations: 215.8 kB / 0.6259 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02224, allocations: 0 / 0.6259 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.02271, allocations: 104 kB / 0.626 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.02298, allocations: 10.12 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.02467, allocations: 405.5 kB / 0.6264 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.02474, allocations: 75.33 kB / 0.6265 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.371e-05/0.02484, allocations: 17.52 kB / 0.6265 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.02492, allocations: 24.48 kB / 0.6265 GB, free: 12.18 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.02492, allocations: 0 / 0.6265 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Templates: time 0.005223/0.03014, allocations: 1.751 MB / 0.6282 GB, free: 10.44 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.818389248102903] Failed to read output from testmodel.py, exit status != 0: 0.0396510474383831 0.054340884000000006 0.045537222 Calling exit ...