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.0009278/0.0009278, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.0009437/0.0009437, allocations: 169 kB / 23.28 MB, free: 1.219 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.9458/0.9458, allocations: 177.2 MB / 203.7 MB, free: 5.484 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.8511/0.8511, allocations: 154.9 MB / 415.1 MB, free: 256 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.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.713e-06/1.713e-06, allocations: 0 / 0.5212 GB, free: 340 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.502e-05, allocations: 2.312 kB / 0.5212 GB, free: 336 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001083/0.001098, allocations: 0.6441 MB / 0.5218 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.002466, allocations: 1.459 MB / 0.5232 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.0025, allocations: 0 / 0.5232 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.002517, allocations: 4.906 kB / 0.5233 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.002586, allocations: 3.984 kB / 0.5233 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.002889, allocations: 125.7 kB / 0.5234 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.002938, allocations: 28.36 kB / 0.5234 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.002973, allocations: 4.938 kB / 0.5234 GB, free: 14.08 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.003026, allocations: 19.92 kB / 0.5234 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.003077, allocations: 15.95 kB / 0.5234 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.00309, allocations: 4.844 kB / 0.5234 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.003337, allocations: 247.5 kB / 0.5237 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.003352, allocations: 8.562 kB / 0.5237 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.003366, allocations: 9.047 kB / 0.5237 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.003574, allocations: 203.4 kB / 0.5239 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003576, allocations: 0 / 0.5239 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003576, allocations: 0.75 kB / 0.5239 GB, free: 13.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.003579, allocations: 0 / 0.5239 GB, free: 13.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000326/0.003905, allocations: 405.8 kB / 0.5243 GB, free: 13.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.003943, allocations: 12.02 kB / 0.5243 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.004112, allocations: 46.5 kB / 0.5243 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.886e-05/0.004181, allocations: 113.4 kB / 0.5244 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004193, allocations: 384 / 0.5244 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.004206, allocations: 13.58 kB / 0.5245 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.004321, allocations: 72.11 kB / 0.5245 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004329, allocations: 192 / 0.5245 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.004335, allocations: 384 / 0.5245 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004341, allocations: 10.19 kB / 0.5245 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/0.004374, allocations: 23.97 kB / 0.5246 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.004482, allocations: 101.3 kB / 0.5247 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.004551, allocations: 47.05 kB / 0.5247 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.004574, allocations: 31.78 kB / 0.5247 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.004586, allocations: 1.75 kB / 0.5247 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004607, allocations: 33.39 kB / 0.5248 GB, free: 12.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.004608, allocations: 0 / 0.5248 GB, free: 12.58 MB / 458.7 MB 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.001082/0.00569, allocations: 380 kB / 0.5251 GB, free: 12.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.00572, allocations: 51.41 kB / 0.5252 GB, free: 12.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.005808, allocations: 177.8 kB / 0.5253 GB, free: 11.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.005824, allocations: 25.7 kB / 0.5254 GB, free: 11.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.005869, allocations: 130.9 kB / 0.5255 GB, free: 11.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.005908, allocations: 35.69 kB / 0.5255 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.005961, allocations: 31.36 kB / 0.5256 GB, free: 11.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.006098, allocations: 0.4962 MB / 0.526 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.006144, allocations: 22.42 kB / 0.5261 GB, free: 11.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.357e-05/0.006187, allocations: 15.98 kB / 0.5261 GB, free: 11.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.006271, allocations: 47.84 kB / 0.5261 GB, free: 11.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.006272, allocations: 0 / 0.5261 GB, free: 11.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001468/0.006419, allocations: 86.89 kB / 0.5262 GB, free: 11.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.006436, allocations: 8 kB / 0.5262 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.00644, allocations: 0 / 0.5262 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006451, allocations: 4.812 kB / 0.5262 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.006576, allocations: 41.11 kB / 0.5263 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.006579, allocations: 1.781 kB / 0.5263 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.006637, allocations: 19.97 kB / 0.5263 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.006644, allocations: 6.438 kB / 0.5263 GB, free: 10.97 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 (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 5.892e-05/0.006703, allocations: 160.6 kB / 0.5264 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.006718, allocations: 7.953 kB / 0.5264 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.006748, allocations: 16.44 kB / 0.5265 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.00675, allocations: 3.938 kB / 0.5265 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.006752, allocations: 3.984 kB / 0.5265 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006756, allocations: 5.984 kB / 0.5265 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.007152, allocations: 408.9 kB / 0.5269 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007154, allocations: 4 kB / 0.5269 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.00723, allocations: 38.55 kB / 0.5269 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.007233, allocations: 7.938 kB / 0.5269 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.00724, allocations: 4 kB / 0.5269 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.007243, allocations: 7.984 kB / 0.5269 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.007244, allocations: 0.625 kB / 0.5269 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.007388, allocations: 248.1 kB / 0.5272 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.007396, allocations: 7.938 kB / 0.5272 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.007407, allocations: 5.438 kB / 0.5272 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.007481, allocations: 28.94 kB / 0.5272 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.007508, allocations: 11.92 kB / 0.5272 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.007514, allocations: 4 kB / 0.5272 GB, free: 9.945 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.672e-05/0.007551, allocations: 131.8 kB / 0.5273 GB, free: 9.816 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007551, allocations: 0.5938 kB / 0.5273 GB, free: 9.816 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.007727, allocations: 43.86 kB / 0.5274 GB, free: 9.773 MB / 458.7 MB 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.0001185/0.007845, allocations: 124.3 kB / 0.5275 GB, free: 9.645 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.007951, allocations: 69.11 kB / 0.5276 GB, free: 9.574 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007952, allocations: 0 / 0.5276 GB, free: 9.574 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.007994, allocations: 45.88 kB / 0.5276 GB, free: 9.527 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.008143, allocations: 19.03 kB / 0.5276 GB, free: 9.512 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.008545, allocations: 267.4 kB / 0.5279 GB, free: 9.219 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.008574, allocations: 59.22 kB / 0.5279 GB, free: 9.141 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.00863, allocations: 24.97 kB / 0.528 GB, free: 9.125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.008704, allocations: 86.19 kB / 0.5281 GB, free: 9.039 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008704, allocations: 0 / 0.5281 GB, free: 9.039 MB / 458.7 MB Notification: Performance of Templates: time 0.002937/0.01164, allocations: 1.932 MB / 0.5299 GB, free: 7.203 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.669269776903093]